Android Question [SOLVED] Color of disabled edittext

Discussion in 'Android Questions' started by jayel, Apr 19, 2015.

  1. jayel

    jayel Active Member Licensed User

    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?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    There is no simple way to change the EditText background color (in any state). You can replace the background drawable completely.
     
  3. jayel

    jayel Active Member Licensed User

    Ok, but it is the textcolor of the edittextbox when it is disabled that I wan't to change.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Peter Simpson likes this.
  5. jayel

    jayel Active Member Licensed User

    Thanks Erel !
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice