ok, i found a solution for my problem: link to a post in the 
ActionBarSherlock google group <ok, i found a solution for my problem: 
[link to a post in the ActionBarSherlock google group][1] i've overseen 
this entry: `android:actionBarWidgetTheme` in the 
`Theme.Holo.Light.DarkActionBar` theme. now all i had to do is define a 
theme that overrides `Theme.Holo` with one style in it: `<item 
name="android:dropDownListViewStyle">@style/myDropDownListView</item>` and 
point to this theme instead. <!-- theme referenced by actionBarWidgetTehme 
style --> <style name="Theme.DropDown.Dark" 
parent="android:style/Theme.Holo"> <item 
name="android:dropDownListViewStyle">@style/myDropDownListView</item> 
</style> <!-- my main theme --> <style name="DarkActionBarRedActionMode" 
parent="android:style/Theme.Holo.Light.DarkActionBar"> <item 
name="android:actionBarWidgetTheme">@style/Theme.DropDown.Dark</item> 
</style> [1]: 
https://groups.google.com/forum/?fromgroups#!msg/actionbarsherlock/AxB6shftiK0/HbvsrBgMpsoJ>


i've overseen this entry: android:actionBarWidgetTheme in the 
Theme.Holo.Light.DarkActionBar theme.

now all i had to do is define a theme that overrides Theme.Holo with one 
style in it: <item 
name="android:dropDownListViewStyle">@style/myDropDownListView</item> and 
point to this theme instead.

    <!-- theme referenced by actionBarWidgetTehme style -->
    <style name="Theme.DropDown.Dark" parent="android:style/Theme.Holo">
        <item 
name="android:dropDownListViewStyle">@style/myDropDownListView</item>
    </style>

    <!-- my main theme -->
    <style name="DarkActionBarRedActionMode" 
parent="android:style/Theme.Holo.Light.DarkActionBar">
        <item 
name="android:actionBarWidgetTheme">@style/Theme.DropDown.Dark</item>
    </style>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to