From 2fc8afab1ad302a9a44f5b89b38991a80436e953 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Fri, 18 May 2018 13:44:45 +0000 Subject: [PATCH] Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs" This partially reverts commit 045abe73e2d61700dda3c6655ca2be75df8e9641. Basically we're just removing the attributes that were explicitly defined as null, since apparently they don't have fallback values unless Holo is overlaid atop Material (blergh). Bug: b/79725570 Test: manual against from bug APK Change-Id: I7a5fe3f96a9720e0657042ce8d5a87b2fb590327 --- core/res/res/values/themes.xml | 4 ---- core/res/res/values/themes_holo.xml | 35 ----------------------------- 2 files changed, 39 deletions(-) diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index eed0e463df998..4833816606556 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -106,7 +106,6 @@ please see themes_device_defaults.xml. @style/TextAppearance.Widget.PopupMenu.Large @style/TextAppearance.Widget.PopupMenu.Small - @null @style/Widget.Button @@ -230,7 +229,6 @@ please see themes_device_defaults.xml. false 296dip - @null 250 @@ -308,8 +306,6 @@ please see themes_device_defaults.xml. @style/Widget.QuickContactBadgeSmall.WindowLarge @style/Widget.ListPopupWindow @style/Widget.PopupMenu - @null - @null @style/Widget.ActivityChooserView @style/Widget.FragmentBreadCrumbs ?attr/popupMenuStyle diff --git a/core/res/res/values/themes_holo.xml b/core/res/res/values/themes_holo.xml index 3fe7c05c16e2c..cb5b93dd7df4a 100644 --- a/core/res/res/values/themes_holo.xml +++ b/core/res/res/values/themes_holo.xml @@ -112,7 +112,6 @@ please see themes_device_defaults.xml. @style/TextAppearance.Holo.Widget.PopupMenu.Large @style/TextAppearance.Holo.Widget.PopupMenu.Small - @null @layout/text_edit_suggestion_item @layout/text_edit_suggestion_container @@ -257,7 +256,6 @@ please see themes_device_defaults.xml. @style/Widget.Holo.GridView @style/Widget.Holo.ImageButton @style/Widget.Holo.ImageWell - @null @style/Widget.Holo.ListView @style/Widget.Holo.ListView.White @style/Widget.Holo.PopupWindow @@ -298,7 +296,6 @@ please see themes_device_defaults.xml. @style/Widget.Holo.QuickContactBadgeSmall.WindowLarge @style/Widget.Holo.ListPopupWindow @style/Widget.Holo.PopupMenu - @null @style/Widget.Holo.StackView @style/Widget.Holo.ActivityChooserView @style/Widget.Holo.FragmentBreadCrumbs @@ -319,11 +316,6 @@ please see themes_device_defaults.xml. @style/Preference.Holo.DialogPreference.EditTextPreference @style/Preference.Holo.RingtonePreference @layout/preference_child_holo - @null - @null - @null - @null - @null @drawable/panel_bg_holo_dark @@ -348,13 +340,10 @@ please see themes_device_defaults.xml. @style/Widget.Holo.ActionBar @dimen/action_bar_default_height @style/Widget.Holo.PopupWindow.ActionMode - @null - @null @null ?attr/popupTheme @null ?attr/dividerVertical - @null @drawable/ic_menu_cut_holo_dark @drawable/ic_menu_copy_holo_dark @@ -364,8 +353,6 @@ please see themes_device_defaults.xml. @drawable/ic_menu_find_holo_dark @drawable/ic_menu_search_holo_dark - @null - ?attr/listDivider ?attr/listDivider @style/Holo.ButtonBar @@ -416,10 +403,6 @@ please see themes_device_defaults.xml. @color/holo_button_normal @color/switch_thumb_material_light - - @null - @null - @color/holo_gray_light @color/holo_gray_bright @@ -496,7 +479,6 @@ please see themes_device_defaults.xml. @style/TextAppearance.Holo.Light.Widget.PopupMenu.Large @style/TextAppearance.Holo.Light.Widget.PopupMenu.Small - @null @style/Widget.Holo.Light.Button @@ -636,7 +618,6 @@ please see themes_device_defaults.xml. @style/Widget.Holo.Light.GridView @style/Widget.Holo.Light.ImageButton @style/Widget.Holo.Light.ImageWell - @null @style/Widget.Holo.Light.ListView @style/Widget.Holo.Light.ListView.White @style/Widget.Holo.Light.PopupWindow @@ -677,11 +658,9 @@ please see themes_device_defaults.xml. @style/Widget.Holo.QuickContactBadgeSmall.WindowLarge @style/Widget.Holo.Light.ListPopupWindow @style/Widget.Holo.Light.PopupMenu - @null @style/Widget.Holo.StackView @style/Widget.Holo.Light.ActivityChooserView @style/Widget.Holo.Light.FragmentBreadCrumbs - @null @style/Preference.Holo.PreferenceScreen @@ -698,11 +677,6 @@ please see themes_device_defaults.xml. @style/Preference.Holo.DialogPreference.EditTextPreference @style/Preference.Holo.RingtonePreference @layout/preference_child_holo - @null - @null - @null - @null - @null @drawable/panel_bg_holo_light @@ -727,12 +701,9 @@ please see themes_device_defaults.xml. @style/Widget.Holo.Light.ActionBar.Solid @dimen/action_bar_default_height @style/Widget.Holo.Light.PopupWindow.ActionMode - @null - @null @null ?attr/popupTheme @null - @null @drawable/ic_menu_cut_holo_light @drawable/ic_menu_copy_holo_light @@ -742,8 +713,6 @@ please see themes_device_defaults.xml. @drawable/ic_menu_find_holo_light @drawable/ic_menu_search_holo_light - @null - ?attr/listDivider ?attr/listDivider @style/Holo.Light.ButtonBar @@ -791,10 +760,6 @@ please see themes_device_defaults.xml. @color/holo_light_button_normal @color/switch_thumb_material_light - - @null - @null - @color/holo_gray_light @color/holo_gray_bright