From 94680e86675560759aedee6af599879612a8dab5 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Thu, 28 May 2015 16:52:29 -0700 Subject: [PATCH] Synchronize Theme.Material and Theme.Material light attributes Adds a few attributes that were missing from either theme, ensures all the attributes match up so that it's easier to scan through for errors. Bug: 21490615 Change-Id: Iabfed8f61a7bc121e618164dee4121c41e82db09 --- core/res/res/values/themes_material.xml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/core/res/res/values/themes_material.xml b/core/res/res/values/themes_material.xml index f01e3f8a2b116..9f3668d111c92 100644 --- a/core/res/res/values/themes_material.xml +++ b/core/res/res/values/themes_material.xml @@ -141,6 +141,7 @@ please see themes_device_defaults.xml. 0dip ?attr/expandableListPreferredItemIndicatorLeft ?attr/expandableListPreferredItemIndicatorRight + @drawable/ic_find_next_material @drawable/ic_find_previous_material @@ -160,8 +161,6 @@ please see themes_device_defaults.xml. @style/WindowTitle.Material @dimen/action_bar_default_height_material @style/WindowTitleBackground.Material - false - true @style/Animation.Material.Activity stateUnspecified|adjustUnspecified true @@ -173,6 +172,8 @@ please see themes_device_defaults.xml. @transition/fade @transition/move @transition/move + false + true @style/ThemeOverlay.Material.Dialog @@ -305,6 +306,9 @@ please see themes_device_defaults.xml. ?attr/colorBackground @drawable/ic_fingerprint_dark + + @style/Widget.Material.PreferenceFrameLayout + @color/search_widget_corpus_item_background @@ -351,9 +355,6 @@ please see themes_device_defaults.xml. @style/Widget.Material.SearchView @style/Theme.Material.SearchBar - - @style/Widget.Material.PreferenceFrameLayout - @style/Widget.Material.NumberPicker @@ -453,8 +454,8 @@ please see themes_device_defaults.xml. @style/Widget.Material.Light.Button.Small @style/Widget.Material.Light.Button.Inset - @style/Widget.Material.Light.Button.Toggle + @style/Widget.Material.Light.CompoundButton.Switch @style/Widget.Material.Light.MediaRouteButton @@ -487,6 +488,8 @@ please see themes_device_defaults.xml. @drawable/list_choice_background_material @drawable/activated_background_material + @null + 40dip ?attr/expandableListPreferredItemPaddingLeft @@ -495,7 +498,6 @@ please see themes_device_defaults.xml. ?attr/expandableListPreferredItemIndicatorLeft ?attr/expandableListPreferredItemIndicatorRight - @null @drawable/ic_find_next_material @drawable/ic_find_previous_material @@ -632,6 +634,7 @@ please see themes_device_defaults.xml. @style/Widget.Material.QuickContactBadgeSmall.WindowLarge @style/Widget.Material.Light.ListPopupWindow @style/Widget.Material.Light.PopupMenu + @null @style/Widget.Material.Light.StackView @style/Widget.Material.Light.ActivityChooserView @style/Widget.Material.FragmentBreadCrumbs @@ -681,7 +684,10 @@ please see themes_device_defaults.xml. @style/Widget.Material.Light.ActionBar.Solid @dimen/action_bar_default_height_material @style/Widget.Material.Light.PopupWindow.ActionMode + @style/TextAppearance.Material.Widget.ActionBar.Menu + ?attr/textColorPrimary @null + ?attr/popupTheme @style/ThemeOverlay.Material.ActionBar @drawable/action_bar_item_background_material @@ -723,6 +729,7 @@ please see themes_device_defaults.xml. ?attr/dialogTheme + @drawable/fastscroll_thumb_material @drawable/fastscroll_label_left_material @drawable/fastscroll_label_right_material @@ -733,6 +740,7 @@ please see themes_device_defaults.xml. @color/primary_dark_material_light @color/primary_material_light @color/accent_material_light + ?attr/colorPrimary ?attr/textColorSecondary ?attr/colorAccent