summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2010-09-10 13:33:01 -0700
committerGilles Debunne <debunne@google.com>2010-09-10 13:51:22 -0700
commit26b16f394609ba0bbcfa50e3ed2eddf9d1b7e146 (patch)
tree38bacd69301591244726f1e91623a936abef63f8 /core/res
parentb6a007c5cd7bb02250d4dd573ba89367a010a473 (diff)
downloadframeworks_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.pngbin1307 -> 227 bytes
-rw-r--r--core/res/res/drawable-hdpi/menu_background_fill_parent_width.9.pngbin322 -> 2888 bytes
-rw-r--r--core/res/res/drawable-mdpi/menu_background.9.pngbin3390 -> 359 bytes
-rw-r--r--core/res/res/drawable-mdpi/menu_background_fill_parent_width.9.pngbin2969 -> 247 bytes
-rw-r--r--core/res/res/values/styles.xml4
-rw-r--r--core/res/res/values/themes.xml13
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
index cbe62af..60f0731 100644
--- a/core/res/res/drawable-hdpi/menu_background.9.png
+++ b/core/res/res/drawable-hdpi/menu_background.9.png
Binary files differ
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
index 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
Binary files differ
diff --git a/core/res/res/drawable-mdpi/menu_background.9.png b/core/res/res/drawable-mdpi/menu_background.9.png
index ee99583..9f16df9 100644
--- a/core/res/res/drawable-mdpi/menu_background.9.png
+++ b/core/res/res/drawable-mdpi/menu_background.9.png
Binary files differ
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
index 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
Binary files differ
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>