summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorRahul Chaturvedi <rkc@google.com>2015-05-19 18:02:16 -0700
committerRahul Chaturvedi <rkc@google.com>2015-06-01 16:50:50 -0400
commit7fc77cad3d06bd3647e550f7419e89116471240a (patch)
treee68308cd9e09774335e3339534e885edd0db124c /res/values
parentcadc29c7e55cc14526878e511a85ae6c9c7e23c7 (diff)
downloadandroid_packages_apps_Trebuchet-7fc77cad3d06bd3647e550f7419e89116471240a.tar.gz
android_packages_apps_Trebuchet-7fc77cad3d06bd3647e550f7419e89116471240a.tar.bz2
android_packages_apps_Trebuchet-7fc77cad3d06bd3647e550f7419e89116471240a.zip
Add the Allow Rotation setting to Launcher3.
This CL adds a Settings activity along with the code needed to provide a "Allow Rotation" setting to all phones and tablets. This setting is set to false for phones and true for tablets. On changing the setting from unlocked to locked, the launcher (and the Settings activity) will get locked to the orientation the user was in when he disabled "Allow Rotation". This is consistent with how the natural rotation feature of Android works. Change-Id: I8a1c59d1fa0bb9262530cad96e0a9bdbab0d9344
Diffstat (limited to 'res/values')
-rw-r--r--res/values/strings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index a8c668d61..440a5378d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -166,6 +166,12 @@
<!-- Text for settings button -->
<string name="settings_button_text">Settings</string>
+ <!-- Strings for settings -->
+ <!-- Title for Allow Rotation setting. [CHAR LIMIT=50] [DO NOT TRANSLATE] -->
+ <string name="allow_rotation_title">Allow rotation</string>
+ <!-- Summary for Allow Rotation setting. [CHAR LIMIT=150] [DO NOT TRANSLATE] -->
+ <string name="allow_rotation_summary">Allow rotation of the home screen</string>
+
<!-- Label on an icon that references an uninstalled package, for which we have no information about when it might be installed. [CHAR_LIMIT=15] -->
<string name="package_state_unknown">Unknown</string>