Answers for "change color by code in android"

1

java set textview color

textview.setTextColor(this.getResources().getColor(R.color.orange));
Posted by: Guest on November-08-2020
4

change color of text in textview android

TextView text = (TextView) findViewById(R.id.text);
text.setTextColor(Color.parseColor("#FFFFFF"));
Posted by: Guest on August-20-2020

Code answers related to "change color by code in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language