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

Undefined attribute on devicece with API 14 and above #838

@4nd3250n

Description

@4nd3250n

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions