From cc0a69e0ca8bd07e9941fcdc12e985691bd31ffa Mon Sep 17 00:00:00 2001 From: Saumya Prakash Date: Mon, 22 Jan 2024 22:55:52 +0000 Subject: [PATCH] Increase Done button size to be more accessible for the gesture tutorial Touch targets have to meet a minimum of 48 dp to meet accessibility requirements. The Done button in the gesture navigation tutorial menu was previously too small. Flag: LEGACY ENABLE_NEW_GESTURE_NAV_TUTORIAL ENABLED Fixes: 319752098 Test: Opened the gesture tutorial menu in smaller and larger screens. Change-Id: I7d9b856ad4829e4ffe26a7df00f42e5e4fcf1b2e --- .../res/layout-sw600dp-land/gesture_tutorial_step_menu.xml | 2 +- quickstep/res/layout/gesture_tutorial_step_menu.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml b/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml index 672440f3e7..e4942aee42 100644 --- a/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml +++ b/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml @@ -159,7 +159,7 @@ style="@style/TextAppearance.GestureTutorial.ButtonLabel" android:id="@+id/gesture_tutorial_menu_done_button" android:layout_width="wrap_content" - android:layout_height="40dp" + android:layout_height="48dp" android:layout_marginVertical="16dp" android:text="@string/gesture_tutorial_action_button_label" android:background="@drawable/gesture_tutorial_action_button_background" diff --git a/quickstep/res/layout/gesture_tutorial_step_menu.xml b/quickstep/res/layout/gesture_tutorial_step_menu.xml index c8ee6e9322..668a2e124a 100644 --- a/quickstep/res/layout/gesture_tutorial_step_menu.xml +++ b/quickstep/res/layout/gesture_tutorial_step_menu.xml @@ -157,7 +157,7 @@ style="@style/TextAppearance.GestureTutorial.ButtonLabel" android:id="@+id/gesture_tutorial_menu_done_button" android:layout_width="wrap_content" - android:layout_height="40dp" + android:layout_height="48dp" android:layout_marginVertical="16dp" android:text="@string/gesture_tutorial_action_button_label" android:background="@drawable/gesture_tutorial_action_button_background"