AppCompat V21 spinner popup background is white with white text only in Android 4.0 -
i'm using appcompat v21, , style (theme) inherited theme.appcompat.noactionbar. text , background both white in popup of spinner. i've tested on android 4.0, 4.1, 4.2, 4.3, 4.4, happens on android 4.0 (ics). bug of appcompat v21? how can alter background of spinners using theme style? thanks.
this screenshot app having issue on ics:
http://i.stack.imgur.com/qz1l3.png
[edit]
i found here bug having in appcompat v21
https://code.google.com/p/android/issues/detail?id=78118&can=1&q=appcompat%20spinner&colspec=id%20type%20status%20owner%20summary%20stars
you can create background colored 9 patch image , , set background of spinner.
and set in background of spinner.
<spinner android:id="@+id/spinner1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@color/bluespinner" android:spinnermode="dropdown" android:popupbackground="@drawable/bluespinner" />
android spinner appcompat material-design
No comments:
Post a Comment