From 2bfb31c877a38d8b704a98b0471ec8e44bcdd287 Mon Sep 17 00:00:00 2001 From: Peter_Liang Date: Mon, 7 Mar 2022 13:26:38 +0800 Subject: [PATCH] Apply the settings lib style into the reset button of "Display size and text". Bug: 222415445 Fix: 220638395 Test: manual test Change-Id: I001c9eff69f46f4ba142c3e5e428b1a92169ba7d --- ...y_text_reading_reset_button_background.xml | 25 ------------------- ...ccessibility_text_reading_reset_button.xml | 3 +-- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 res/drawable/accessibility_text_reading_reset_button_background.xml diff --git a/res/drawable/accessibility_text_reading_reset_button_background.xml b/res/drawable/accessibility_text_reading_reset_button_background.xml deleted file mode 100644 index b86facf4006..00000000000 --- a/res/drawable/accessibility_text_reading_reset_button_background.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - diff --git a/res/layout/accessibility_text_reading_reset_button.xml b/res/layout/accessibility_text_reading_reset_button.xml index 43800df0b5f..dd9128b4eda 100644 --- a/res/layout/accessibility_text_reading_reset_button.xml +++ b/res/layout/accessibility_text_reading_reset_button.xml @@ -28,9 +28,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:background="@drawable/accessibility_text_reading_reset_button_background" android:paddingHorizontal="24dp" android:paddingVertical="14dp" android:text="@string/accessibility_text_reading_reset_button_title" - android:textAppearance="?android:attr/textAppearanceMedium" /> + style="@style/ActionPrimaryButton"/>