summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2015-02-02 16:23:15 -0500
committerAdnan Begovic <adnan@cyngn.com>2015-10-29 17:36:30 -0700
commit925ea3a6a395e5c3e69be053c8a47c3f546c2889 (patch)
tree1e50564d7c88e35f2bc1dc2fd36effddda7c8b81 /res
parent376cb194f5ecb8e26e80aa93d02236941d7aa369 (diff)
downloadpackages_apps_Settings-925ea3a6a395e5c3e69be053c8a47c3f546c2889.zip
packages_apps_Settings-925ea3a6a395e5c3e69be053c8a47c3f546c2889.tar.gz
packages_apps_Settings-925ea3a6a395e5c3e69be053c8a47c3f546c2889.tar.bz2
settings: Add option to toggle the pointer icon when using stylus(1/3)
Forward port from CM-11.0 Change-Id: I43ce881b91f2a7d58acaa3225818997c4e4e364f
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_strings.xml4
-rw-r--r--res/xml/language_settings.xml6
2 files changed, 10 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 40e6d73..ab05bab 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -511,6 +511,10 @@
<string name="high_touch_sensitivity_title">High touch sensitivity</string>
<string name="high_touch_sensitivity_summary">Increase touchscreen sensitivity so it can be used while wearing gloves</string>
+ <!-- Stylus Icon -->
+ <string name="stylus_icon_enabled_title">Show icon when using stylus</string>
+ <string name="stylus_icon_enabled_summary">Show the pointer icon when hovering or drawing with the stylus</string>
+
<!-- Stylus Gestures -->
<string name="gestures_settings_title">Stylus gestures</string>
<string name="category_spen_title">Stylus gestures</string>
diff --git a/res/xml/language_settings.xml b/res/xml/language_settings.xml
index c5936f2..94aa73b 100644
--- a/res/xml/language_settings.xml
+++ b/res/xml/language_settings.xml
@@ -92,6 +92,12 @@
android:key="stylus_gestures"
android:title="@string/gestures_settings_title" />
+ <SwitchPreference android:key="stylus_icon_enabled"
+ android:title="@string/stylus_icon_enabled_title"
+ android:summary="@string/stylus_icon_enabled_summary"
+ android:defaultValue="false"
+ android:persistent="false" />
+
<SwitchPreference
android:key="high_touch_sensitivity"
android:title="@string/high_touch_sensitivity_title"