In my form I use setError("")
on an EditText
field. My Application-Theme extends android:Theme.Holo
.
I have manually set an image with a dark background for android:errorMessageBackground
and android:errorMessageBackgroundAbove
.
And now here's the problem: The text color of the error message is also very dark and not readable.
I tried changing different textColor
attributes in my Theme, but I wasn't able to find the correct one.
May anyone could help me, please? Thank you! Chris
Go to File > Settings, now under IDE settings click on appearance and select the theme of your choice from the dropdown. File > Import Settings , select the file or your choice and select ok a pop up to restart the studio will open up click yes and studio will restart and your theme will be applied.
You can change the text color by using HTML Font Tag.
But for customizing background color, you should make your own custom pop up. For more information, Kindly go through this link:- How to write style to error text of EditText in android?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With