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 to image button. But its giving exceptions on this file. 1st exception is inflateException for class image button. 2nd is resource not found Exception for fab selector. Fab selector resides in drawable folder. Its also showing ,, Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2 if i use <solid android:color="?attr/colorAccent" /> ?attr/colorAccent and it works fine if I use <solid