aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-02-02 02:37:35 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-02-02 02:37:35 +0000
commitb09701918f625462c1d90b97710ab6ae2352eb0f (patch)
treec43902cbf6ef57c7cd56475b417d380da12cb340 /app/src/main/res/xml
parent5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3 (diff)
downloadinfinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.tar
infinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.tar.gz
infinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.tar.bz2
infinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.tar.lz
infinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.tar.xz
infinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.tar.zst
infinity-for-reddit-b09701918f625462c1d90b97710ab6ae2352eb0f.zip
Confirm to exit.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/interface_preference.xml5
-rw-r--r--app/src/main/res/xml/main_preferences.xml5
2 files changed, 8 insertions, 2 deletions
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml
index 434a0173..626f1333 100644
--- a/app/src/main/res/xml/interface_preference.xml
+++ b/app/src/main/res/xml/interface_preference.xml
@@ -41,4 +41,9 @@
app:key="show_divider_in_compact_layout"
app:title="@string/settings_show_divider_in_compact_layout" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="show_top_level_comments_first"
+ app:title="@string/settings_show_top_level_comments_first_title" />
+
</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 4f238327..89d0a032 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -44,8 +44,9 @@
<SwitchPreference
app:defaultValue="false"
- app:key="show_top_level_comments_first"
- app:title="@string/settings_show_top_level_comments_first_title" />
+ app:key="confirm_to_exit"
+ app:icon="@drawable/ic_exit_24dp"
+ app:title="@string/settings_confirm_to_exit" />
<ListPreference
app:defaultValue="2.5"