Douglas Farias Expert Licensed User Longtime User Aug 20, 2014 #1 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 22.9 KB · Views: 424 download (6).jpg 24.6 KB · Views: 433 download (2).jpg 27.1 KB · Views: 530 download (1).jpg 20.8 KB · Views: 413 Last edited: Aug 20, 2014
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
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2014 #2 Usually it is best to use the DEFAULT value. This way the color should be correct in all devices and themes. Upvote 0
Usually it is best to use the DEFAULT value. This way the color should be correct in all devices and themes.
KMatle Expert Licensed User Longtime User Aug 21, 2014 #3 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
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.