Created
March 26, 2020 11:49
Android Studio - Color
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//in questo caso viene impostato il colore del testo di una TextView con id=textView | |
//con il colore specificato nel file colors.xml che si chiama "colorAccent" | |
textView.setTextColor(getColor(this, R.color.colorAccent)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment