no resource found for @style/Widget.Holo.ActionBar.TabView

android, android-styles

Solution

You should be referencing

@android:style/Widget.Holo.ActionBar.TabView

Typo in the docs - they left off the `android:`.

Problem

I'm trying to customize my ActionBar's tab indicator following this reference, however I'm getting the error: ``` Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Holo.ActionBar.TabView'. ``` Minimum SDK is set to 14, target SDK = 18. Any ideas? EDIT: I already have the following styles which work: ``` <style name="sMain" parent="@android:style/Theme.Holo"> <item name="android:icon">@android:color/transparent</item> <item name="android:actionBarStyle">@style/MyActionBar</item> <item name="android:actionBarDivider">@null</item> </style> <style name="MyActionBar" parent="android:Widget.Holo.ActionBar"> <item name="android:actionBarDivider">@null</item> </style> ```

Original source