OSDN Git Service

Fix bug 3381563 - fix segmented button styles
authorAdam Powell <adamp@google.com>
Mon, 24 Jan 2011 01:00:59 +0000 (17:00 -0800)
committerAdam Powell <adamp@google.com>
Mon, 24 Jan 2011 01:03:48 +0000 (17:03 -0800)
Change-Id: Ie191ef55548f2035012f643ad6ef434a4b10fff0

core/res/res/drawable-hdpi/btn_group_holo_dark.9.png [new file with mode: 0644]
core/res/res/drawable-hdpi/btn_group_holo_light.9.png [new file with mode: 0644]
core/res/res/drawable-mdpi/btn_group_holo_dark.9.png [new file with mode: 0644]
core/res/res/drawable-mdpi/btn_group_holo_light.9.png [new file with mode: 0644]
core/res/res/values/styles.xml

diff --git a/core/res/res/drawable-hdpi/btn_group_holo_dark.9.png b/core/res/res/drawable-hdpi/btn_group_holo_dark.9.png
new file mode 100644 (file)
index 0000000..b86c65a
Binary files /dev/null and b/core/res/res/drawable-hdpi/btn_group_holo_dark.9.png differ
diff --git a/core/res/res/drawable-hdpi/btn_group_holo_light.9.png b/core/res/res/drawable-hdpi/btn_group_holo_light.9.png
new file mode 100644 (file)
index 0000000..1248e88
Binary files /dev/null and b/core/res/res/drawable-hdpi/btn_group_holo_light.9.png differ
diff --git a/core/res/res/drawable-mdpi/btn_group_holo_dark.9.png b/core/res/res/drawable-mdpi/btn_group_holo_dark.9.png
new file mode 100644 (file)
index 0000000..9541252
Binary files /dev/null and b/core/res/res/drawable-mdpi/btn_group_holo_dark.9.png differ
diff --git a/core/res/res/drawable-mdpi/btn_group_holo_light.9.png b/core/res/res/drawable-mdpi/btn_group_holo_light.9.png
new file mode 100644 (file)
index 0000000..bf4f9b2
Binary files /dev/null and b/core/res/res/drawable-mdpi/btn_group_holo_light.9.png differ
index 4d7e2ce..36dec8e 100644 (file)
         <item name="divider">?android:attr/dividerVertical</item>
         <item name="showDividers">middle</item>
         <item name="dividerPadding">8dip</item>
-        <item name="background">@android:drawable/btn_default_holo_dark</item>
+        <item name="background">@android:drawable/btn_group_holo_dark</item>
     </style>
 
     <style name="Holo.SegmentedButton" parent="SegmentedButton">
-        <item name="android:background">@android:drawable/btn_default_holo_dark</item>
+        <item name="android:background">@android:drawable/btn_group_holo_dark</item>
     </style>
 
     <style name="Holo.ButtonBar.AlertDialog">
     </style>
 
     <style name="Holo.Light.ButtonBar" parent="Holo.ButtonBar">
-        <item name="android:background">@android:drawable/btn_default_holo_light</item>
+        <item name="android:background">@android:drawable/btn_group_holo_light</item>
     </style>
 
     <style name="Holo.Light.ButtonBar.AlertDialog">
     </style>
 
     <style name="Holo.Light.SegmentedButton" parent="SegmentedButton">
-        <item name="android:background">@android:drawable/btn_default_holo_light</item>
+        <item name="android:background">@android:drawable/btn_group_holo_light</item>
     </style>
 
     <style name="Widget.Holo.Light.TextView" parent="Widget.TextView">