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:
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#f00" />
<EditText
android:layout_width="what_ever_size"
android:layout_height="what_ever_size"
android:textColor="@color/your_choice_of_color" />