I have an app that uses the AppCompat
support libary for ActionBars
. Now I tried to create a new themes.xml file with some style for that purpose.
<!-- Application theme. -->
<style name="AppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
<item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="actionBarStyle">@style/MyActionBar</item>
</style>
So just the same way it is done here: http://developer.android.com/guide/topics/ui/actionbar.html#StyleExample However, Eclipse throws an error here and says:
android:actionBarStyle requires API level 11 (current min is 8) themes.xml
How can this be as I am using the support libary?