I am trying to change the color of the little triangle on the Actionbar spinner (sherlock). I have done so using the following code:
<style name="MyTheme" parent="Theme.Sherlock.Light"> <item name="windowActionBarOverlay">true</item> <item name="homeAsUpIndicator">@drawable/ic_drawer</item> <item name="actionDropDownStyle">@style/MyActionBarSpinnerStyle</item> </style> <style name="MyActionBarSpinnerStyle" parent="@style/Widget.Sherlock.Light.Spinner.DropDown.ActionBar"> <item name="background">@drawable/actionbar_spinner_background</item> </style>
The icon triangle is changed but it seems to stretch the image to the whole size of the spinner.
I am using the patch-9 drawable file that everyone says to use:
If this is not the correct dimensions of the file then does anyone know what it should be? Or how do I get it not to stretch and just sit in the bottom right hand corner.