Skip to content

Instantly share code, notes, and snippets.

@pawelkw
Created November 12, 2013 06:19
Show Gist options
  • Save pawelkw/7426347 to your computer and use it in GitHub Desktop.
Save pawelkw/7426347 to your computer and use it in GitHub Desktop.
// Assuming textView is a properly initialized instance of android.widget.TextView
// and that R.color.mycolor is correctly defined in a resource file.
textView.setTextColor(R.color.mycolor);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment