Android - Missing Parent Theme?

trfastferius

New Member
I'm attempting to style the ActionBar, following this blog post:http://android-developers.blogspot.com/2011/04/customizing-action-bar.htmlWith this source code:\[code\]svn checkout http://styled-action-bar.googlecode.com/svn/trunk/ styled-action-bar-read-only\[/code\]However, I'm getting issues in \[code\]/res/values/styles.xml\[/code\]. This:\[code\]<!-- style for the tabs --><style name="MyActionBarTabStyle" parent="android:style/Widget.Holo.Light.ActionBarView_TabView"> <item name="android:background">@drawable/actionbar_tab_bg</item> <item name="android:paddingLeft">32dp</item> <item name="android:paddingRight">32dp</item></style>\[/code\]Is erroring with:\[code\]Error retrieving parent for item: No resource found that matches the given name 'android:style/Widget.Holo.Light.ActionBarView_TabView'.\[/code\]However, using the following answer, and digging through the source for Android, I can see that the theme does indeed exist:http://stackoverflow.com/a/7149389/420001The only thing that I changed in the project was moving it from \[code\]android-11\[/code\] to \[code\]android-14\[/code\], and then running an "Android" > "Fix Project Properties" in Eclipse. I do note that the repo linked to in that answer, that lists the style, is on branch master, so I can't see why the theme would be unfound.Just for tests, I put that chunk of code in my working \[code\]android-14\[/code\] targeting app, minus the background drawable, and it throws the same error.
 
Back
Top