• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

android:TextColor vs. android: TextColorPrimary vs. android TextColorSecondary

 
L Vasquez
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do each of these terms encompass throughout an app?

More specifically, what would changing each of these in a theme change throughout my app? I'd like my buttons' texts to be a different color than my textviews; is one primary and the other secondary?

Any info related to these terms is appreciated!
 
Tim Moores
Bartender
Posts: 3128
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a mid-sized app, and just re-checked that it doesn't use the secondary text color anywhere. Which is to say that IMO it can't be hugely important :-) See https://developer.android.com/training/material/theme.html for where the primary colors are used.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic