jayel Active Member Licensed User Longtime 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 B4X founder Staff member Licensed User Longtime 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. Upvote 0
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 Longtime User Apr 19, 2015 #3 Ok, but it is the textcolor of the edittextbox when it is disabled that I wan't to change. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 20, 2015 #4 This a different question You can use the code posted here: https://www.b4x.com/android/forum/threads/colorstatelist.40788/ (change button to EditText). Upvote 0
This a different question You can use the code posted here: https://www.b4x.com/android/forum/threads/colorstatelist.40788/ (change button to EditText).