Why ?attr/coloraccent Dose Not Work Below Lollipop Version?
I have added themes to my application. For this I have used multiple accent colors to add on image button. I have a xml file named fab selector xml , which gives shape and color t
Solution 1:
What you are trying to do only works for Android level >=21.
See here: Support for referencing theme attributes in drawable XML
From what I read it was a bug... You can read some more on this problem here or here.
Solution 2:
Have you added
<item name="colorAccent">@color/colorAccent</item>
in your styles xml for below lolipop version?
Post a Comment for "Why ?attr/coloraccent Dose Not Work Below Lollipop Version?"