android:textViewStyle overriding Spinner Styles

Posted by jax on Stack Overflow See other posts from Stack Overflow or by jax
Published on 2010-05-22T17:25:26Z Indexed on 2010/05/22 17:30 UTC
Read the original article Hit count: 162

Filed under:

In this Theme the android:textViewStyle overrides both the spinnerItemStyle and spinnerDropDownItemStyle. Why is this? How can I prevent it from happening?

<style name="ApplicationTheme" parent="android:style/Theme.NoTitleBar">
    <item name="android:buttonStyle">@style/StandardButton</item>
    <item name="android:spinnerStyle">@style/StandardSpinner</item>
    <item name="android:spinnerItemStyle">@style/StandardSpinnerItem</item>
    <item name="android:spinnerDropDownItemStyle">@style/StandardSpinnerDropDownItem</item>
    <item name="android:textViewStyle">@style/StandardTextView</item>
</style>

© Stack Overflow or respective owner

Related posts about android