diff options
author | Danesh M <daneshm90@gmail.com> | 2011-12-06 18:24:24 +0000 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 01:08:47 +0000 |
commit | e47c55866b44f32efe9b0697e244da7c71a343eb (patch) | |
tree | 69da3ef6f3baa1d7ef3d6e1c7194ba63c6f68b39 /res | |
parent | 82abbd11adc92632b6c271ce33fbbb4ad9565ff8 (diff) | |
download | packages_apps_trebuchet-e47c55866b44f32efe9b0697e244da7c71a343eb.zip packages_apps_trebuchet-e47c55866b44f32efe9b0697e244da7c71a343eb.tar.gz packages_apps_trebuchet-e47c55866b44f32efe9b0697e244da7c71a343eb.tar.bz2 |
Preferences: Auto-rotate screen
Change-Id: I126b57932bad994c3fcfa3c764d94bdb60037a93
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 7 | ||||
-rw-r--r-- | res/xml/preferences.xml | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 0d14ca7..425d54b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -287,8 +287,8 @@ s --> <string name="preferences_title">Preferences</string> <!-- UI --> <string name="preferences_interface_title">Interface</string> - <!-- General --> - <string name="preferences_general_title">General</string> + <!-- Application --> + <string name="preferences_application_title">Application</string> <!-- UI --> <!-- Homescreen --> @@ -308,4 +308,7 @@ s --> <!-- Icons --> <string name="preferences_interface_icons_title">Icons</string> + <!-- General --> + <string name="preferences_interface_general_title">General</string> + <string name="preferences_interface_general_orientation_title">Auto-rotate screen</string> </resources> diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 5ed3ae9..53be9e0 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -48,9 +48,17 @@ android:title="@string/preferences_interface_icons_title"> </PreferenceScreen> + + <!-- General --> + <PreferenceScreen android:key="ui_general" + android:title="@string/preferences_interface_general_title"> + <CheckBoxPreference android:key="ui_general_orientation" + android:title="@string/preferences_interface_general_orientation_title" /> + </PreferenceScreen> + </PreferenceCategory> - <!-- General --> - <PreferenceCategory android:title="@string/preferences_general_title"> + <!-- Application --> + <PreferenceCategory android:title="@string/preferences_application_title"> </PreferenceCategory> </PreferenceScreen> |