summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml10
-rw-r--r--res/xml/sound_and_display_settings.xml7
2 files changed, 14 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8707dd8..24dda75 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -812,9 +812,15 @@
<!-- Sound & display settings screen, animations check box label -->
<string name="animations_title">Animation</string>
<!-- Sound & display settings screen, animations option summary text when check box is selected -->
- <string name="animations_summary_on">Show animation when opening/closing windows</string>
+ <string name="animations_summary_on">Show animation when opening &amp; closing windows</string>
<!-- Sound & display settings screen, animations option summary text when check box is clear -->
- <string name="animations_summary_off">Show animation when opening/closing windows</string>
+ <string name="animations_summary_off">Show animation when opening &amp; closing windows</string>
+ <!-- Sound & display settings screen, accelerometer-based rotation check box label -->
+ <string name="accelerometer_title">Orientation</string>
+ <!-- Sound & display settings screen, accelerometer-based rotation summary text when check box is selected -->
+ <string name="accelerometer_summary_on">Switch orientation automatically when rotating phone</string>
+ <!-- Sound & display settings screen, accelerometer-based rotation summary text when check box is clear -->
+ <string name="accelerometer_summary_off">Switch orientation automatically when rotating phone</string>
<!-- Sound & display settings screen, setting option name to change brightness -->
<string name="brightness">Brightness</string>
<!-- Sound & display settings screen, setting option summary to change brightness -->
diff --git a/res/xml/sound_and_display_settings.xml b/res/xml/sound_and_display_settings.xml
index 2aa44c8..c8a9360 100644
--- a/res/xml/sound_and_display_settings.xml
+++ b/res/xml/sound_and_display_settings.xml
@@ -97,13 +97,18 @@
<PreferenceCategory
android:title="@string/display_settings">
+ <CheckBoxPreference
+ android:key="accelerometer"
+ android:title="@string/accelerometer_title"
+ android:summaryOn="@string/accelerometer_summary_on"
+ android:summaryOff="@string/accelerometer_summary_off"/>
+
<CheckBoxPreference
android:key="animations"
android:title="@string/animations_title"
android:summaryOn="@string/animations_summary_on"
android:summaryOff="@string/animations_summary_off" />
-
<com.android.settings.BrightnessPreference
android:key="brightness"
android:title="@string/brightness"