Reputation: 3009
I tried Android Studio's Theme Editor today and got some warnings from it.
According to the material design guidelines, I should use 500 as the primary colors but why is that the Theme Editor says that my primary color (Material Light Blue 500) doesn't have enough contrast with my textColorPrimary(#ffffff)? I also think that by not having the correct colors, my app title gets a black color on the recent apps screen which should be white.
Upvotes: 0
Views: 1122
Reputation: 38243
The text color in Recent apps gets computed automatically from background. The same algorithm is used to generate the warning in theme editor. When you look at the Light Blue 500 color you see Google suggests using black text over it.
You're free to use white text color in your app despite the warning but you can't change the Recent apps screen behavior.
Upvotes: 0