Android Question Edittext.TEXT color

Douglas Farias

Expert
Licensed User
Longtime User
hi how what the correct color to use on edittext.text color?

for example on my andoid 4.4.4 i m using white color text
but to anothers android versions it is a problem because have android versions with bg on editext white bg
and + text white = user cant see the text.

what the correct color for use on editextcolor and this will work on all android versions?

i cant use white text color because this dont go work on many devices
i cant use black because this dont go work on many devices too *-*

in attached have images with text black
note: its normal on 2 3 devices, but have problem when the edittext have black bg
 

Attachments

  • download.jpg
    download.jpg
    22.9 KB · Views: 243
  • download (6).jpg
    download (6).jpg
    24.6 KB · Views: 216
  • download (2).jpg
    download (2).jpg
    27.1 KB · Views: 274
  • download (1).jpg
    download (1).jpg
    20.8 KB · Views: 200
Last edited:

KMatle

Expert
Licensed User
Longtime User
I made good experiences with explicit setting the colors by "Colors.ARGB(255,238,230,133)" f.e. (Text & view background).

There a lots of pages showing the colors & values. Browse for it and test it on several devices.
 
Upvote 0
Top