From 5e931b2c2371417de75ed98f0342a90ed7601574 Mon Sep 17 00:00:00 2001 From: Peter Liang Date: Sun, 11 Dec 2022 12:04:58 +0800 Subject: [PATCH] Refine the UI of the text reading page across SuW. Actions: 1) Customize pages and use the components from SuW lib to align SuW consistent style. 2) Add the done button in the Anything Else page. Bug: 232771631 Bug: 222419452 Test: make RunSettingsRoboTests ROBOTEST_FILTER=TextReadingResetControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=TextReadingPreferenceFragmentForSetupWizardTest Change-Id: Ie3f3513ceee7c40d6286335dce91979df0d27f02 --- ...sibility_text_reading_reset_button_suw.xml | 37 ------------------- .../TextReadingPreferenceFragment.java | 26 ++++++------- ...adingPreferenceFragmentForSetupWizard.java | 29 ++++++++++++++- .../TextReadingResetController.java | 10 ++--- .../TextReadingResetPreference.java | 23 +----------- ...gPreferenceFragmentForSetupWizardTest.java | 31 +++++++++++++++- .../TextReadingResetControllerTest.java | 18 +++++++++ 7 files changed, 92 insertions(+), 82 deletions(-) delete mode 100644 res/layout/accessibility_text_reading_reset_button_suw.xml diff --git a/res/layout/accessibility_text_reading_reset_button_suw.xml b/res/layout/accessibility_text_reading_reset_button_suw.xml deleted file mode 100644 index 97e12f38a6c..00000000000 --- a/res/layout/accessibility_text_reading_reset_button_suw.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - -