From b282446dac5a1affc6f85ddb66ce5507242ae8be Mon Sep 17 00:00:00 2001 From: Schneider Victor-tulias Date: Tue, 8 Mar 2022 13:05:24 -0800 Subject: [PATCH] Fix gesture navigation tutorial colors to match SUW colors. - Updated the gesture nav tutorial to use the system accent color for buttons and the feedback animations Fixes: 222269039 Test: built change, flashed and factory reset device Change-Id: I4e515aef0ccdab98f1d3900007f6006b1975b41b --- .../gesture_tutorial_action_button_background.xml | 2 +- .../gesture_tutorial_action_button_background.xml | 2 +- .../gesture_tutorial_cancel_button_background.xml | 2 +- quickstep/res/drawable/gesture_tutorial_finger_dot.xml | 2 +- quickstep/res/drawable/gesture_tutorial_loop_back.xml | 2 +- quickstep/res/drawable/gesture_tutorial_loop_home.xml | 2 +- .../res/drawable/gesture_tutorial_loop_overview.xml | 2 +- quickstep/res/values/colors.xml | 4 +--- quickstep/res/values/styles.xml | 9 +++++---- .../quickstep/interaction/TutorialController.java | 2 +- 10 files changed, 14 insertions(+), 15 deletions(-) diff --git a/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml b/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml index 57423c2ffc..710482f162 100644 --- a/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml +++ b/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml @@ -16,5 +16,5 @@ - + \ No newline at end of file diff --git a/quickstep/res/drawable/gesture_tutorial_action_button_background.xml b/quickstep/res/drawable/gesture_tutorial_action_button_background.xml index ac6a52a623..98dc1a5f78 100644 --- a/quickstep/res/drawable/gesture_tutorial_action_button_background.xml +++ b/quickstep/res/drawable/gesture_tutorial_action_button_background.xml @@ -25,7 +25,7 @@ - + \ No newline at end of file diff --git a/quickstep/res/drawable/gesture_tutorial_cancel_button_background.xml b/quickstep/res/drawable/gesture_tutorial_cancel_button_background.xml index 0a34af6475..77626154f8 100644 --- a/quickstep/res/drawable/gesture_tutorial_cancel_button_background.xml +++ b/quickstep/res/drawable/gesture_tutorial_cancel_button_background.xml @@ -17,5 +17,5 @@ android:shape="rectangle"> - + \ No newline at end of file diff --git a/quickstep/res/drawable/gesture_tutorial_finger_dot.xml b/quickstep/res/drawable/gesture_tutorial_finger_dot.xml index 5f8aafd30a..cbb26122db 100644 --- a/quickstep/res/drawable/gesture_tutorial_finger_dot.xml +++ b/quickstep/res/drawable/gesture_tutorial_finger_dot.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/quickstep/res/drawable/gesture_tutorial_loop_back.xml b/quickstep/res/drawable/gesture_tutorial_loop_back.xml index d2909fffc9..ae47709b22 100644 --- a/quickstep/res/drawable/gesture_tutorial_loop_back.xml +++ b/quickstep/res/drawable/gesture_tutorial_loop_back.xml @@ -85,7 +85,7 @@ diff --git a/quickstep/res/drawable/gesture_tutorial_loop_home.xml b/quickstep/res/drawable/gesture_tutorial_loop_home.xml index 931f8c0197..bed35dd0fa 100644 --- a/quickstep/res/drawable/gesture_tutorial_loop_home.xml +++ b/quickstep/res/drawable/gesture_tutorial_loop_home.xml @@ -81,7 +81,7 @@ diff --git a/quickstep/res/drawable/gesture_tutorial_loop_overview.xml b/quickstep/res/drawable/gesture_tutorial_loop_overview.xml index a4c532bdfa..53e8b5fec5 100644 --- a/quickstep/res/drawable/gesture_tutorial_loop_overview.xml +++ b/quickstep/res/drawable/gesture_tutorial_loop_overview.xml @@ -81,7 +81,7 @@ diff --git a/quickstep/res/values/colors.xml b/quickstep/res/values/colors.xml index 671a617f01..8f439a231c 100644 --- a/quickstep/res/values/colors.xml +++ b/quickstep/res/values/colors.xml @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + #fff #39000000 @@ -41,8 +41,6 @@ #6DA1FF #3C4043 - #FF000000 - #B7F29F #202124 diff --git a/quickstep/res/values/styles.xml b/quickstep/res/values/styles.xml index 6aa488375b..7225220876 100644 --- a/quickstep/res/values/styles.xml +++ b/quickstep/res/values/styles.xml @@ -88,7 +88,8 @@ @@ -100,7 +101,7 @@