Add new white style for ExpandableListView.

This commit is contained in:
Romain Guy
2009-12-08 18:13:47 -08:00
parent 484fe4d6f4
commit 114800653c
5 changed files with 28 additions and 1 deletions

View File

@@ -3463,6 +3463,17 @@
visibility="public"
>
</field>
<field name="expandableListViewWhiteStyle"
type="int"
transient="false"
volatile="false"
value="16843446"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="exported"
type="int"
transient="false"

View File

@@ -340,6 +340,8 @@
<attr name="editTextStyle" format="reference" />
<!-- Default ExpandableListView style. -->
<attr name="expandableListViewStyle" format="reference" />
<!-- ExpandableListView with white background. -->
<attr name="expandableListViewWhiteStyle" format="reference" />
<!-- Default Gallery style. -->
<attr name="galleryStyle" format="reference" />
<!-- Default GestureOverlayView style. -->

View File

@@ -1214,5 +1214,13 @@
<public type="attr" name="author" id="0x010102b4" />
<public type="attr" name="autoStart" id="0x010102b5" />
<!-- ===============================================================
Resources added in version 8 of the platform (Eclair MR2).
=============================================================== -->
<eat-comment />
<public type="attr" name="expandableListViewWhiteStyle" id="0x010102b6" />
</resources>

View File

@@ -401,6 +401,10 @@
<item name="android:childDivider">@android:drawable/divider_horizontal_dark_opaque</item>
</style>
<style name="Widget.ExpandableListView.White">
<item name="android:childDivider">@android:drawable/divider_horizontal_bright_opaque</item>
</style>
<style name="Widget.ImageWell">
<item name="android:background">@android:drawable/panel_picture_frame_background</item>
</style>

View File

@@ -142,6 +142,7 @@
<item name="dropDownListViewStyle">@android:style/Widget.ListView.DropDown</item>
<item name="editTextStyle">@android:style/Widget.EditText</item>
<item name="expandableListViewStyle">@android:style/Widget.ExpandableListView</item>
<item name="expandableListViewWhiteStyle">@android:style/Widget.ExpandableListView.White</item>
<item name="galleryStyle">@android:style/Widget.Gallery</item>
<item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView</item>
<item name="gridViewStyle">@android:style/Widget.GridView</item>
@@ -241,6 +242,7 @@
<item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item>
<item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView.White</item>
<item name="expandableListViewStyle">@android:style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@android:style/Widget.ListView.White</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator.White</item>