I have an EditText that looks like this:
When doing an action in the EditText the background is changed with the following code:
edtCampo.setBackgroundColor(Color.RED);
Then another action is made and the EditText background is changed again with the following code:
edtCampo.setBackgroundColor(Color.TRANSPARENT);
The problem is that in the EditText I do not see the line below, what property should I give to make it look like the first image ?