jayel Active Member Licensed User Apr 19, 2015 #1 Hello, Can I change the color of a edittext that has the property enabled = false? Now it is gray, can I change that to red?
Hello, Can I change the color of a edittext that has the property enabled = false? Now it is gray, can I change that to red?
Erel Administrator Staff member Licensed User Apr 19, 2015 #2 There is no simple way to change the EditText background color (in any state). You can replace the background drawable completely.
There is no simple way to change the EditText background color (in any state). You can replace the background drawable completely.
jayel Active Member Licensed User Apr 19, 2015 #3 Ok, but it is the textcolor of the edittextbox when it is disabled that I wan't to change.
Erel Administrator Staff member Licensed User Apr 20, 2015 #4 This a different question You can use the code posted here: http://www.b4x.com/android/forum/threads/colorstatelist.40788/ (change button to EditText).
This a different question You can use the code posted here: http://www.b4x.com/android/forum/threads/colorstatelist.40788/ (change button to EditText).