更改在sherlock操作栏中创建的微调器的文本颜色(文本视图ID为):android.r.id.text1
答案 0 :(得分:0)
尝试使用这种方式,
<style name="Custom.Widget.Sherlock.TextView.SpinnerItem" parent="Widget.Sherlock.TextView.SpinnerItem">
<item name="android:textAppearance">
@style/Custom.TextAppearance.Sherlock.Widget.TextView.SpinnerItem</item>
<item name="android:paddingLeft">8dp</item>
<item name="android:paddingRight">8dp</item>
</style>
<style name="Custom.TextAppearance.Sherlock.Widget.TextView.SpinnerItem" parent="TextAppearance.Sherlock.Widget.TextView.SpinnerItem">
<item name="android:textSize">14dp</item>
<item name="android:textColor">#FFFFFF</item>
<item name="android:shadowColor">#4ccfff</item>
<item name="android:shadowDy">3</item>
<item name="android:textStyle">normal</item>
</style>
有关详细信息,请访问此链接
http://krishnalalstha.wordpress.com/tag/how-to-style-spinner-in-sherlock-actionbar/