From 7f67e278ca357917d322c97dc2d7b0726e1212d3 Mon Sep 17 00:00:00 2001 From: Peter_Liang Date: Thu, 21 Apr 2022 16:25:34 +0800 Subject: [PATCH] =?UTF-8?q?Fine-tune=20the=20location=20and=20style=20of?= =?UTF-8?q?=20the=20reset=20button=20in=20the=20=E2=80=9CDisplay=20size=20?= =?UTF-8?q?and=20text=E2=80=9D=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: 222419452 Test: manual test Change-Id: I9099f13c715ce29cce8d52f6ca9cc47a4fa22306 --- .../accessibility_text_reading_reset_button.xml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/res/layout/accessibility_text_reading_reset_button.xml b/res/layout/accessibility_text_reading_reset_button.xml index f3691e1f816..a0bdcbad81d 100644 --- a/res/layout/accessibility_text_reading_reset_button.xml +++ b/res/layout/accessibility_text_reading_reset_button.xml @@ -27,14 +27,11 @@ android:id="@+id/reset_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center|end" + android:layout_gravity="center_vertical|start" android:paddingVertical="14dp" - android:background="@null" android:drawableStart="@drawable/ic_history" android:drawablePadding="9dp" - android:drawableTint="?android:attr/colorAccent" - android:textColor="?android:attr/colorAccent" - android:textSize="16sp" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" - android:text="@string/accessibility_text_reading_reset_button_title"/> + android:drawableTint="@color/settingslib_btn_colored_text_material" + android:text="@string/accessibility_text_reading_reset_button_title" + style="@style/ActionPrimaryButton"/>