Hello I am using the Sherlock
library to achieve the ActionBarTabs
in Android application but I see that it is setting text of ActionBarTabs
to all caps so I am doing this so to set the text as regular.
<style name="My.TabText.Style" parent="@style/Widget.Sherlock.ActionBar.TabText">
<item name="android:textAppearance">@android:style/TextAppearance.Medium</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:textAllCaps">false</item>
<!-- <item name="android:ellipsize">none</item> -->
<item name="android:maxLines">1</item>
</style>
but I am getting error message that android:textAllCaps requires API level 14 (current min is 8)
. How I can resolve this so that it would work for all android version.
Thanks in advance.
just add the style to a style-v14
folder and another without this value on the normal style
folder.