aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/miscellaneous_preferences.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml
index b17e7545..67a78aca 100644
--- a/app/src/main/res/xml/miscellaneous_preferences.xml
+++ b/app/src/main/res/xml/miscellaneous_preferences.xml
@@ -13,11 +13,14 @@
app:key="open_link_in_app"
app:title="@string/settings_open_link_in_app_title" />
- <SwitchPreference
- app:defaultValue="false"
- app:key="confirm_to_exit"
+ <ListPreference
+ app:defaultValue="0"
+ app:entries="@array/main_page_back_button_action"
+ app:entryValues="@array/main_page_back_button_action_values"
+ app:key="main_page_back_button_action"
app:icon="@drawable/ic_exit_24dp"
- app:title="@string/settings_confirm_to_exit" />
+ app:title="@string/settings_main_page_back_button_action"
+ app:useSimpleSummaryProvider="true" />
<SwitchPreference
app:defaultValue="true"