經安全檢測,此網站為安全網站,請放心前往原始網址!

android - How to set the text color of TextView in code? - Stack Overflow

In XML, we can set a text color by the textColor attribute, like android:textColor="#FF0000". But how do I change it by coding? I tried something like: holder.text.setTextColor(R ...

stackoverflow.com

網址安全性掃描由 google 提供