Add options to customize bottom app bar.

This commit is contained in:
Alex Ning
2020-09-25 12:08:17 +08:00
parent 73c4ead2c0
commit b6ebcf1c4c
12 changed files with 750 additions and 9 deletions

View File

@@ -15,9 +15,14 @@
<Preference
app:title="@string/settings_customize_tabs_in_main_page_title"
app:summary="@string/settings_customize_tabs_in_main_page_summary"
app:summary="@string/only_for_logged_in_user"
app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeMainPageTabsFragment" />
<Preference
app:title="@string/settings_customize_bottom_app_bar_title"
app:summary="@string/only_for_logged_in_user"
app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeBottomAppBarFragment" />
<SwitchPreference
app:defaultValue="false"
app:key="bottom_app_bar"

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<Preference
android:icon="@drawable/ic_info_preference_24dp"
app:summary="@string/settings_tab_info"
app:summary="@string/restart_app_see_changes"
app:enabled="false" />
<ListPreference