Change the color of the EditText in Android
I was trying to change the color of what the user writes inside an EditText (In Android)
I wanted to change it to white so i was wondering if i should do so in the XML ? Thank you in advance :)
In your EditText property.
android:textColor="#ffffff"
Ex:
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:ems="10" >
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.