How do I assign a different color to text in EditText by extending it?
you can change the text color by adding android:textColor like this:
android:textColor
<EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#f00" />
2.1m questions
2.1m answers
60 comments
56.9k users