Answers for "android settext color"

2

android settextcolor programmatically

mTextView.setTextColor(Color.parseColor("#bdbdbd"));
Posted by: Guest on September-05-2020
0

text.settextcolor android

//From API 23 onward, getResources().getColor() is deprecated.
textView.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.color_black));
Posted by: Guest on March-03-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language