aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_customize_main_page_tabs.xml (renamed from app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml)2
-rw-r--r--app/src/main/res/xml/customize_main_page_tabs_preferences.xml76
-rw-r--r--app/src/main/res/xml/interface_preference.xml2
3 files changed, 2 insertions, 78 deletions
diff --git a/app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml b/app/src/main/res/layout/fragment_customize_main_page_tabs.xml
index a9b10c8c..a6803e7f 100644
--- a/app/src/main/res/layout/fragment_customize_main_page_tabs_test.xml
+++ b/app/src/main/res/layout/fragment_customize_main_page_tabs.xml
@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".Settings.CustomizeMainPageTabsTestFragment">
+ tools:context=".Settings.CustomizeMainPageTabsFragment">
<LinearLayout
android:layout_width="match_parent"
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"