diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-08-20 03:17:33 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-08-20 03:17:33 +0000 |
commit | 53ef74b70e445763fc50b6a1382cd8ee2dab3299 (patch) | |
tree | cc8a9e34c1acb57e23179a9db3aaa801a96ac54b /app/src/main/res/xml | |
parent | 24348b256fd1db6c395fc22304fe425b13b82edc (diff) | |
download | infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.tar infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.tar.gz infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.tar.bz2 infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.tar.lz infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.tar.xz infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.tar.zst infinity-for-reddit-53ef74b70e445763fc50b6a1382cd8ee2dab3299.zip |
Remove legacy code for CustomizeMainPageTabsFragment.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/customize_main_page_tabs_preferences.xml | 76 | ||||
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 2 |
2 files changed, 1 insertions, 77 deletions
diff --git a/app/src/main/res/xml/customize_main_page_tabs_preferences.xml b/app/src/main/res/xml/customize_main_page_tabs_preferences.xml deleted file mode 100644 index 37e17d0c..00000000 --- a/app/src/main/res/xml/customize_main_page_tabs_preferences.xml +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> - - <Preference - android:icon="@drawable/ic_info_preference_24dp" - app:summary="@string/settings_tab_info" - app:enabled="false" /> - - <PreferenceCategory - app:title="@string/settings_tab_1_summary" /> - - <EditTextPreference - app:defaultValue="@string/home" - app:key="main_page_tab_1_title" - app:title="@string/settings_tab_title" - app:useSimpleSummaryProvider="true" /> - - <ListPreference - app:defaultValue="0" - android:entries="@array/settings_tab_post_type" - app:entryValues="@array/settings_tab_post_type_values" - app:key="main_page_tab_1_post_type" - app:title="@string/settings_tab_post_type" - app:useSimpleSummaryProvider="true" /> - - <EditTextPreference - app:key="main_page_tab_1_name" - app:isPreferenceVisible="false" - app:useSimpleSummaryProvider="true" /> - - <PreferenceCategory - app:title="@string/settings_tab_2_summary" /> - - <EditTextPreference - app:defaultValue="@string/popular" - app:key="main_page_tab_2_title" - app:title="@string/settings_tab_title" - app:useSimpleSummaryProvider="true" /> - - <ListPreference - app:defaultValue="1" - android:entries="@array/settings_tab_post_type" - app:entryValues="@array/settings_tab_post_type_values" - app:key="main_page_tab_2_post_type" - app:title="@string/settings_tab_post_type" - app:useSimpleSummaryProvider="true" /> - - <EditTextPreference - app:key="main_page_tab_2_name" - app:isPreferenceVisible="false" - app:useSimpleSummaryProvider="true" /> - - <PreferenceCategory - app:title="@string/settings_tab_3_summary" /> - - <EditTextPreference - app:defaultValue="@string/all" - app:key="main_page_tab_3_title" - app:title="@string/settings_tab_title" - app:useSimpleSummaryProvider="true" /> - - <ListPreference - app:defaultValue="2" - android:entries="@array/settings_tab_post_type" - app:entryValues="@array/settings_tab_post_type_values" - app:key="main_page_tab_3_post_type" - app:title="@string/settings_tab_post_type" - app:useSimpleSummaryProvider="true" /> - - <EditTextPreference - app:key="main_page_tab_3_name" - app:isPreferenceVisible="false" - app:useSimpleSummaryProvider="true" /> - -</PreferenceScreen>
\ No newline at end of file diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index 10efc01f..2e5c71e3 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -16,7 +16,7 @@ <Preference app:title="@string/settings_customize_tabs_in_main_page_title" app:summary="@string/settings_customize_tabs_in_main_page_summary" - app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeMainPageTabsTestFragment" /> + app:fragment="ml.docilealligator.infinityforreddit.Settings.CustomizeMainPageTabsFragment" /> <SwitchPreference app:defaultValue="false" |