summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml8
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/preferences.xml6
3 files changed, 16 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 19eac93..fe14c4c 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -74,4 +74,12 @@
<item>Stack</item>
<item>Accordian</item>
</string-array>
+ <string-array name="preferences_interface_drawer_orientation_entries">
+ <item>Horizontal</item>
+ <item>Vertical</item>
+ </string-array>
+ <string-array name="preferences_interface_drawer_orientation_values">
+ <item>horizontal</item>
+ <item>vertical</item>
+ </string-array>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 652fe2c..ea6a0f5 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -344,6 +344,8 @@ s -->
<!-- Drawer -->
<string name="preferences_interface_drawer_title">Drawer</string>
+ <string name="preferences_interface_drawer_orientation_title">Orientation</string>
+ <string name="preferences_interface_drawer_orientation_summary">Choose which way the drawer scrolls</string>
<string name="preferences_interface_drawer_widgets_category">Widgets</string>
<string name="preferences_interface_drawer_widgets_join_apps_title">Join with apps</string>
<string name="preferences_interface_drawer_widgets_join_apps_summary">Swipe from apps drawer to widgets drawer without changing tabs</string>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index e575da0..2e14d2f 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -113,6 +113,12 @@
<!-- Drawer -->
<PreferenceScreen android:key="ui_drawer"
android:title="@string/preferences_interface_drawer_title">
+ <ListPreference android:key="ui_drawer_orientation"
+ android:title="@string/preferences_interface_drawer_orientation_title"
+ android:summary="@string/preferences_interface_drawer_orientation_summary"
+ android:entries="@array/preferences_interface_drawer_orientation_entries"
+ android:entryValues="@array/preferences_interface_drawer_orientation_values"
+ android:defaultValue="horizontal" />
<PreferenceCategory android:title="@string/preferences_interface_drawer_widgets_category">
<CheckBoxPreference android:key="ui_drawer_widgets_join_apps"
android:title="@string/preferences_interface_drawer_widgets_join_apps_title"