diff options
author | Gilles Debunne <debunne@google.com> | 2010-09-10 13:33:01 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2010-09-10 13:51:22 -0700 |
commit | 26b16f394609ba0bbcfa50e3ed2eddf9d1b7e146 (patch) | |
tree | 38bacd69301591244726f1e91623a936abef63f8 /core/res | |
parent | b6a007c5cd7bb02250d4dd573ba89367a010a473 (diff) | |
download | frameworks_base-26b16f394609ba0bbcfa50e3ed2eddf9d1b7e146.zip frameworks_base-26b16f394609ba0bbcfa50e3ed2eddf9d1b7e146.tar.gz frameworks_base-26b16f394609ba0bbcfa50e3ed2eddf9d1b7e146.tar.bz2 |
Changed menu and expandedMenu background color to dark.
Change-Id: I662e635c49a4a80295a2f11ccd9406301ffd831d
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/res/drawable-hdpi/menu_background.9.png | bin | 1307 -> 227 bytes | |||
-rw-r--r-- | core/res/res/drawable-hdpi/menu_background_fill_parent_width.9.png | bin | 322 -> 2888 bytes | |||
-rw-r--r-- | core/res/res/drawable-mdpi/menu_background.9.png | bin | 3390 -> 359 bytes | |||
-rw-r--r-- | core/res/res/drawable-mdpi/menu_background_fill_parent_width.9.png | bin | 2969 -> 247 bytes | |||
-rw-r--r-- | core/res/res/values/styles.xml | 4 | ||||
-rw-r--r-- | core/res/res/values/themes.xml | 13 |
6 files changed, 9 insertions, 8 deletions
diff --git a/core/res/res/drawable-hdpi/menu_background.9.png b/core/res/res/drawable-hdpi/menu_background.9.png Binary files differindex cbe62af..60f0731 100644 --- a/core/res/res/drawable-hdpi/menu_background.9.png +++ b/core/res/res/drawable-hdpi/menu_background.9.png diff --git a/core/res/res/drawable-hdpi/menu_background_fill_parent_width.9.png b/core/res/res/drawable-hdpi/menu_background_fill_parent_width.9.png Binary files differindex 0812487..09eac9b 100644 --- a/core/res/res/drawable-hdpi/menu_background_fill_parent_width.9.png +++ b/core/res/res/drawable-hdpi/menu_background_fill_parent_width.9.png diff --git a/core/res/res/drawable-mdpi/menu_background.9.png b/core/res/res/drawable-mdpi/menu_background.9.png Binary files differindex ee99583..9f16df9 100644 --- a/core/res/res/drawable-mdpi/menu_background.9.png +++ b/core/res/res/drawable-mdpi/menu_background.9.png diff --git a/core/res/res/drawable-mdpi/menu_background_fill_parent_width.9.png b/core/res/res/drawable-mdpi/menu_background_fill_parent_width.9.png Binary files differindex d368983..da3011b 100644 --- a/core/res/res/drawable-mdpi/menu_background_fill_parent_width.9.png +++ b/core/res/res/drawable-mdpi/menu_background_fill_parent_width.9.png diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index bab8415..1c60ba0 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -506,7 +506,7 @@ <item name="android:fadingEdge">vertical</item> <item name="listSelector">@android:drawable/menu_selector</item> <!-- Light background for the list in menus, so the divider for bright themes --> - <item name="android:divider">@android:drawable/divider_horizontal_bright</item> + <item name="android:divider">@android:drawable/divider_horizontal_dark</item> </style> <style name="Widget.GridView" parent="Widget.AbsListView"> @@ -676,7 +676,7 @@ </style> <style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small"> - <item name="android:textColor">?textColorPrimaryInverse</item> + <item name="android:textColor">?textColorPrimary</item> </style> <style name="TextAppearance.Widget.EditText"> diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index f7bd157..2311bdd 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -122,9 +122,10 @@ <!-- Panel attributes --> <item name="panelBackground">@android:drawable/menu_background</item> <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item> - <item name="panelColorBackground">#fff</item> - <item name="panelColorForeground">?android:attr/textColorPrimaryInverse</item> - <item name="panelTextAppearance">?android:attr/textAppearanceInverse</item> + <!-- These three attributes do not seems to be used by the framework. Declared public though --> + <item name="panelColorBackground">#000</item> + <item name="panelColorForeground">?android:attr/textColorPrimary</item> + <item name="panelTextAppearance">?android:attr/textAppearance</item> <!-- Scrollbar attributes --> <item name="scrollbarFadeDuration">250</item> @@ -488,8 +489,8 @@ <item name="android:itemTextAppearance">@android:style/TextAppearance.Widget.IconMenu.Item</item> <item name="android:itemBackground">@android:drawable/menu_selector</item> <item name="android:itemIconDisabledAlpha">?android:attr/disabledAlpha</item> - <item name="android:horizontalDivider">@android:drawable/divider_horizontal_bright</item> - <item name="android:verticalDivider">@android:drawable/divider_vertical_bright</item> + <item name="android:horizontalDivider">@android:drawable/divider_horizontal_dark</item> + <item name="android:verticalDivider">@android:drawable/divider_vertical_dark</item> <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item> <item name="android:moreIcon">@android:drawable/ic_menu_more</item> <item name="android:background">@null</item> @@ -497,7 +498,7 @@ <style name="Theme.ExpandedMenu"> <!-- Menu/item attributes --> - <item name="android:itemTextAppearance">?android:attr/textAppearanceLargeInverse</item> + <item name="android:itemTextAppearance">?android:attr/textAppearanceLarge</item> <item name="android:listViewStyle">@android:style/Widget.ListView.Menu</item> <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item> <item name="android:background">@null</item> |