From a5e8bddc462d51b0e7d08409ac3b4a8ecc8ea993 Mon Sep 17 00:00:00 2001 From: Amin Shaikh Date: Wed, 19 Dec 2018 14:42:59 -0500 Subject: [PATCH] Update Settings text styles to use DeviceDefault. - Replace all TextAppearance.Material styles with the equivalent TextAppearance.DeviceDefault style - Reparent Theme.Settings.HomeBase to inherit from Theme.Settings. This ensures that the correct textAppearance theme attributes are applied throughout the Settings application. Bug: 121211932 Test: manually opening Settings and enabling/disabling HotDogOverlay Change-Id: Ibe4873ed0294de79dbb6aeca464d14c291239c4b --- res/layout-land/confirm_lock_password.xml | 4 +- res/layout-land/confirm_lock_pattern.xml | 6 +-- res/layout-land/storage_summary_donut.xml | 4 +- .../font_size_activity.xml | 4 +- .../screen_zoom_activity.xml | 4 +- res/layout-sw360dp/storage_summary_donut.xml | 4 +- res/layout/admin_support_details_dialog.xml | 4 +- res/layout/battery_header.xml | 6 +-- res/layout/bluetooth_pin_confirm.xml | 8 +-- res/layout/bluetooth_pin_entry.xml | 6 +-- res/layout/choose_lock_dialog_item.xml | 2 +- res/layout/confirm_lock_password_base.xml | 4 +- res/layout/confirm_lock_pattern_base.xml | 4 +- res/layout/data_usage_detail.xml | 8 +-- res/layout/font_size_activity.xml | 4 +- res/layout/font_size_preview.xml | 8 +-- res/layout/preference.xml | 4 +- res/layout/preference_multiline_title.xml | 4 +- res/layout/preference_progress_category.xml | 2 +- res/layout/preference_volume_slider.xml | 4 +- .../preference_widget_seekbar_settings.xml | 2 +- res/layout/preset_picker_item.xml | 2 +- res/layout/preview_seek_bar_view_pager.xml | 2 +- res/layout/running_processes_header.xml | 16 +++--- res/layout/running_processes_item.xml | 8 +-- res/layout/screen_zoom_activity.xml | 4 +- res/layout/screen_zoom_preview_app_icon.xml | 4 +- res/layout/screen_zoom_preview_settings.xml | 20 ++++---- res/layout/settings_summary_preference.xml | 2 +- res/layout/storage_internal_forget.xml | 2 +- res/layout/storage_internal_format.xml | 2 +- res/layout/storage_internal_unmount.xml | 2 +- res/layout/storage_item.xml | 4 +- res/layout/storage_summary.xml | 4 +- res/layout/storage_summary_donut.xml | 4 +- res/layout/storage_wizard_init.xml | 4 +- res/layout/tall_preference_category.xml | 2 +- res/layout/text_description_preference.xml | 2 +- res/layout/widget_text_views.xml | 4 +- res/layout/zen_onboarding.xml | 2 +- res/layout/zen_rule_type.xml | 4 +- res/values/styles.xml | 50 +++++++++---------- res/values/themes.xml | 2 +- tests/robotests/res/layout/preference.xml | 4 +- 44 files changed, 123 insertions(+), 123 deletions(-) diff --git a/res/layout-land/confirm_lock_password.xml b/res/layout-land/confirm_lock_password.xml index 8d742fa5cd5..d140badbaeb 100644 --- a/res/layout-land/confirm_lock_password.xml +++ b/res/layout-land/confirm_lock_password.xml @@ -28,7 +28,7 @@ android:layout_height="match_parent"> - \ No newline at end of file + diff --git a/res/layout-land/storage_summary_donut.xml b/res/layout-land/storage_summary_donut.xml index 5fe4cc89aa4..f43737a8921 100644 --- a/res/layout-land/storage_summary_donut.xml +++ b/res/layout-land/storage_summary_donut.xml @@ -42,7 +42,7 @@ android:fontFamily="@*android:string/config_headlineFontFamily" android:singleLine="true" android:textAlignment="viewStart" - android:textAppearance="@android:style/TextAppearance.Material.Display1" + android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Display1" android:textSize="36sp" /> + android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />