Lollipop's backgroundTint has no effect on a Button
I have a Button in my Activity, and I'd like it to have my theme's accent color. Instead of making my own drawables like we had to do pre-Lollipop, naturally I'd like to use the new backgroundTint attribute. <Button android:id="@+id/btnAddCode" android:layout_width="match_parent" android:layout_height="wrap_content" android:backgroundTint="@color/accent" android:text="@string/addressInfo_edit_addCode" /> Unfortunately it has no effect, the button stays gray. I tried different values for backgroundTintMode , which didn't change anything. I also tried doing it programmatically in my Activity,