How do I change button background and text color in Android?
Unable to use Attributes of android.
Other than in XML you can also set color in class editor file like:
TextView.setColorFilter(Color.parseColor("#hexadecimal value"));
for Button:
Button.setBackgroundColor(Color.parseColor(“Hexadecimal value”));
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments