samsung: doze: Improve Settings search UX
authorZhao Wei Liew <zhaoweiliew@gmail.com>
Sat, 8 Oct 2016 05:12:19 +0000 (13:12 +0800)
committerJan Altensen <info@stricted.net>
Fri, 20 Mar 2020 13:56:37 +0000 (14:56 +0100)
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

doze/res/drawable/ic_settings_gestures.xml
doze/res/values/strings.xml

index 95cdedec875dc8a23b7af88058b34fe9bbacba5f..c0a0282069156dd874ce9e6f2218f6e9aa94ecc1 100644 (file)
@@ -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
index 80fcb01310ddc99377ddea721b72c3568accec53..6a765f3c3096220cfa39a47e39d5763787190cae 100644 (file)
     <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>