aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/xml/app_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/xml/app_settings.xml')
-rw-r--r--WordPress/src/main/res/xml/app_settings.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/WordPress/src/main/res/xml/app_settings.xml b/WordPress/src/main/res/xml/app_settings.xml
new file mode 100644
index 000000000..5367dd712
--- /dev/null
+++ b/WordPress/src/main/res/xml/app_settings.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:key="@string/pref_key_app_settings_root">
+
+ <org.wordpress.android.ui.prefs.DetailListPreference
+ android:key="@string/pref_key_language"
+ android:layout="@layout/preference_layout"
+ android:title="@string/interface_language" />
+
+ <SwitchPreference
+ android:defaultValue="true"
+ android:key="@string/pref_key_send_usage"
+ android:layout="@layout/preference_layout"
+ android:summary="@string/preference_send_usage_stats_summary"
+ android:title="@string/preference_send_usage_stats" />
+
+ <PreferenceCategory
+ android:key="@string/pref_key_editor"
+ android:layout="@layout/preference_category"
+ android:title="@string/preference_editor">
+
+ <SwitchPreference
+ android:defaultValue="true"
+ android:key="@string/pref_key_visual_editor_enabled"
+ android:layout="@layout/preference_layout"
+ android:title="@string/preference_show_visual_editor" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="@string/pref_key_passlock_section"
+ android:layout="@layout/preference_category"
+ android:persistent="false"
+ android:title="@string/passcode_preference_title">
+
+ <SwitchPreference
+ android:key="@string/pref_key_passcode_toggle"
+ android:layout="@layout/preference_layout"
+ android:persistent="false"
+ android:title="@string/passcode_turn_on" />
+
+ <Preference
+ android:key="@string/pref_key_change_passcode"
+ android:layout="@layout/preference_layout"
+ android:persistent="false"
+ android:title="@string/passcode_change_passcode" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="@string/pref_key_about_section"
+ android:layout="@layout/preference_category"
+ android:title="@string/about_the_app">
+
+ <Preference
+ android:key="@string/pref_key_app_about"
+ android:layout="@layout/preference_layout"
+ android:title="@string/app_title" />
+
+ <Preference
+ android:key="@string/pref_key_oss_licenses"
+ android:layout="@layout/preference_layout"
+ android:title="@string/open_source_licenses" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>