Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style in xml not working on API<21 #384

Open
borjaruiz opened this issue Apr 27, 2017 · 0 comments
Open

Style in xml not working on API<21 #384

borjaruiz opened this issue Apr 27, 2017 · 0 comments

Comments

@borjaruiz
Copy link

I have this style for my toolbar:

<style name="ToolbarTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
        <item name="fontPath">@string/font_bold</item>
        <item name="android:textColorPrimary">@color/text1</item>
        <item name="android:textColorSecondary">@color/text1</item>
        <item name="android:background">@color/toolbar_back</item>
        <item name="android:textSize">20sp</item>
    </style>

The toolbar title is showing correctly in bold typeface on API>=21 but not in older versions

What am I doing wrong?

Thanks in advance

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

No branches or pull requests

1 participant