added new option in preferences.xml

modified MainActivity so that the "compose new toot" button is exposed as a static (had to copy its reference into a new variable so as to not upset BindView)
modified TimelineFragment so that when the RecycleView is instantiated we overload the onScroll so that we can hide the FAB
This commit is contained in:
Zachary Epps 2017-04-07 03:40:59 -04:00 committed by Zac Epps
commit de0f1b7ab0
3 changed files with 27 additions and 1 deletions

View file

@ -9,6 +9,11 @@
android:title="@string/pref_title_light_theme"
android:defaultValue="false" />
<CheckBoxPreference
android:key="fabHide"
android:title="Hide FAB while scrolling"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceScreen android:title="@string/pref_title_notification_settings">