I am working on an Android Tablet app. I have created a custom action bar, and managed to style it the way I want, except for the spinners.
My main theme extends Holo Light meaning that when I press a spinner it goes blue. How do I change this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Specify a custom style for
android:actionDropDownStylein your theme which itself has anandroid:backgroundfor your custom state-list drawable.Here’s the one that’s specified by default:
You’ll need to provide your own images for each one of these states (and for mdpi, hdpi, and xhdpi).
You can modify the ones that come with the platform to make your life easier. Look in
SDK/platforms/platform-14/data/res/in thedrawable-mdpi,drawable-hdpi, anddrawable-xhdpifolders.