From 4f0c2ec9b711c733b60fa5423738c8231c85ed07 Mon Sep 17 00:00:00 2001 From: Saumya Prakash Date: Thu, 21 Dec 2023 21:00:52 +0000 Subject: [PATCH] Ensure the back gesture tutorial icon renders correctly for RTL This change adds RTL support for the back gesture icon on the main menu of the gesture tutorial menu. In RTL mode, it was previously rendering in the middle of the screen. Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL Fix: 309564541 Test: ran the tutorial in RTL mode in different form factors. Change-Id: I24def01ed205355ced23060068ddd74af61134ab --- .../drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml | 3 ++- .../drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml | 3 ++- quickstep/res/drawable/gesture_tutorial_back_step_shape.xml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml index a07aeaadcc..8b4127afa3 100644 --- a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml +++ b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml @@ -16,7 +16,8 @@ android:width="84dp" android:height="208dp" android:viewportWidth="84" - android:viewportHeight="208"> + android:viewportHeight="208" + android:autoMirrored="true"> diff --git a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml index e20458e350..3a11f21873 100644 --- a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml +++ b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml @@ -16,7 +16,8 @@ android:width="122dp" android:height="303dp" android:viewportWidth="122" - android:viewportHeight="303"> + android:viewportHeight="303" + android:autoMirrored="true"> diff --git a/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml b/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml index 938934073f..c217be2f26 100644 --- a/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml +++ b/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml @@ -16,7 +16,8 @@ android:width="83dp" android:height="208dp" android:viewportWidth="83" - android:viewportHeight="208"> + android:viewportHeight="208" + android:autoMirrored="true">