Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Undefined attribute on devicece with API 14 and above #838

Open
4nd3250n opened this issue Jul 2, 2014 · 0 comments
Open

Undefined attribute on devicece with API 14 and above #838

4nd3250n opened this issue Jul 2, 2014 · 0 comments

Comments

@4nd3250n
Copy link

4nd3250n commented Jul 2, 2014

While running holoeveryehere on android 4.0.4 and 4.2.2 I noticed (due to an Excpetion while inflating ViewPagerIndicator) that the attribute actionBarDivider is not set to drawable.
I examined things a little and found out that attribute android:actionBarDivider was introduced in API level 14. As far as I understand holoeverywhere introduces equivalent attributes to all needed attributes introduces in API level 11 and later. But this one got through undefined on device 4.2.2.
I added following line in values-v14/abc_themes_base.xml

<style name="Theme.Base.AppCompat" parent="android:Theme.Holo">
    ...
    <!— I added this line -->
    <item name="actionBarDivider">?android:attr/actionBarDivider</item>
    ...
</style>

Someone else may find this useful and I suggest it should be added to existing code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant