summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-10-08 13:12:19 +0800
committerJan Altensen <info@stricted.net>2020-03-20 14:56:37 +0100
commitac9edab02589e26b0049d51cf0f82926edfad6c4 (patch)
treec8cf151aeba329305132a28e6c5fce5ad3000cb8
parent6d0ea5b8c892344e6049b6c3d613ed93db33296d (diff)
downloadandroid_hardware_samsung-ac9edab02589e26b0049d51cf0f82926edfad6c4.tar.gz
android_hardware_samsung-ac9edab02589e26b0049d51cf0f82926edfad6c4.tar.bz2
android_hardware_samsung-ac9edab02589e26b0049d51cf0f82926edfad6c4.zip
samsung: doze: Improve Settings search UX
Currently, the preference titles are very vague and confusing, with no way for the user to understand what the preferences do at a glance (e.g. in Settings search). Make the purpose of the preferences more explicit through the titles. Also, the current drawable is colored white, when it should be colored green. This results in a near-invisible icon in the Settings search results. Color the drawable the appropriate teal instead. Change-Id: I2dac9a73e8689f14d676b41922e0eba364c6500f
-rw-r--r--doze/res/drawable/ic_settings_gestures.xml2
-rw-r--r--doze/res/values/strings.xml6
2 files changed, 4 insertions, 4 deletions
diff --git a/doze/res/drawable/ic_settings_gestures.xml b/doze/res/drawable/ic_settings_gestures.xml
index 95cdede..c0a0282 100644
--- a/doze/res/drawable/ic_settings_gestures.xml
+++ b/doze/res/drawable/ic_settings_gestures.xml
@@ -21,7 +21,7 @@
android:viewportHeight="24">
<path
- android:fillColor="@android:color/white"
+ android:fillColor="@*android:color/material_deep_teal_500"
android:pathData="M4.7,6.9c0.7-0.7,1.4-1.4,1.7-1.2c0.5,0.2,0,1-0.3,1.5c-0.2,0.4-2.8,3.9-2.8,6.3c0,1.3,0.5,2.3,1.3,3
c0.7,0.6,1.7,0.7,2.6,0.5c1.1-0.3,1.9-1.4,3-2.8c1.2-1.5,2.8-3.4,4-3.4c1.6,0,1.6,1,1.7,1.8c-3.7,0.6-5.3,3.7-5.3,5.4
s1.4,3.1,3.2,3.1c1.6,0,4.3-1.3,4.6-6.1H21v-2.5h-2.4c-0.1-1.7-1.1-4.2-4-4.2c-2.2,0-4.1,1.9-4.9,2.8c-0.6,0.7-2,2.5-2.3,2.7
diff --git a/doze/res/values/strings.xml b/doze/res/values/strings.xml
index 80fcb01..6a765f3 100644
--- a/doze/res/values/strings.xml
+++ b/doze/res/values/strings.xml
@@ -21,15 +21,15 @@
<string name="ambient_display_enable_title">Ambient display</string>
<string name="ambient_display_enable_summary">Wake screen when you receive notifications</string>
- <string name="hand_wave_gesture_title">Hand wave</string>
+ <string name="hand_wave_gesture_title">Pulse on hand wave</string>
<string name="hand_wave_gesture_summary">Pulse notifications on hand wave</string>
- <string name="pocket_gesture_title">Pocket</string>
+ <string name="pocket_gesture_title">Pulse on removal from pocket</string>
<string name="pocket_gesture_summary">Pulse notifications on removal from pocket</string>
<string name="proximity_wake_title">Proximity wake</string>
- <string name="proximity_wake_enable_title">Proximity wake</string>
+ <string name="proximity_wake_enable_title">Wake on hand wave</string>
<string name="proximity_wake_enable_summary">Wake device on hand wave</string>
</resources>