So I\'ve started using the new Snackbar in the Design Support Library, but I found that when you define \"android:textColor\" in your theme, it applies to the text color of the
Alright so I fixed it by basically reorganizing the way I do text colors.
In my light theme, I set android:textColorPrimary
to the normal dark text
I wanted, and I set android:textColor
to white
.
I updated all of my text views and buttons to have android:textColor="?android:attr/textColorPrimary".
So because snackbar draws from textColor
, I just set all of my other text to textColorPrimary
.
EDIT JANUARY 2017: ----------------------------------------------------
So as the comments say, and as stated in the edited original question above, you should probably not define android:textColor
in your themes, as this changes the text color of every view inside the theme.