diff options
| author | Ali B <abittin@gmail.com> | 2020-09-11 15:23:13 +0300 |
|---|---|---|
| committer | Julian Veit <Claymore1298@gmail.com> | 2020-12-15 12:47:50 +0100 |
| commit | ceedd02c01e9131921b3095a5b2b95c67e5c3c08 (patch) | |
| tree | 9a795587bce8682cd530c0e7c961bb5089101878 | |
| parent | 8e2d35e662c9b29ddf78f762c43bdbe22b3ab0b3 (diff) | |
deviceparts: add sweep2sleep resources
Change-Id: I749b5f8f989c3861120795467840c94c31b5b5c4
| -rw-r--r-- | res/drawable/ic_gesture_swipe_left.xml | 9 | ||||
| -rw-r--r-- | res/values/strings.xml | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/res/drawable/ic_gesture_swipe_left.xml b/res/drawable/ic_gesture_swipe_left.xml new file mode 100644 index 0000000..4f90a57 --- /dev/null +++ b/res/drawable/ic_gesture_swipe_left.xml @@ -0,0 +1,9 @@ +<!-- drawable/gesture_swipe_left.xml -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="24dp"
+ android:width="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24"
+ android:tint="?android:attr/colorAccent">
+ <path android:fillColor="#fff" android:pathData="M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M3,4L6,7V5H12V3H6V1L3,4Z" />
+</vector>
diff --git a/res/values/strings.xml b/res/values/strings.xml index bc026f7..203be85 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -25,7 +25,9 @@ <string name="double_tap_title">Double tap to wake</string> <string name="double_tap_summary">Wake the display on double tap</string> <string name="sweep_to_wake_title">Sweep to wake</string> - <string name="sweep_to_wake_summary">Wake your phone by sweeping on the bottom of the display from left to right</string> + <string name="sweep_to_wake_summary">With screen OFF, wake your phone by sweeping on the bottom of the display from left to right</string> + <string name="sweep_to_sleep_title">Sweep to sleep</string> + <string name="sweep_to_sleep_summary">Win screen ON, put your phone to sleep by sweeping on the bottom of the display from left to right</string> <!-- Audio/Sound enhancer --> <string name="category_audio">Audio</string> |
