I have an editText and i want to set its background color to red like this:
RegistrationCountry.setBackgroundColor(Color.RED);
Now i yould like to remove this background color.
The problem using:
RegistrationCountry.setBackgroundColor(Color.TRANSPARENT);
Is that i will lose the Edittext outline.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…