is it possible to change the color of the underline from a EditText dynamically? Like the effect, when i focus it, then it turns into blue.
Hope you understand what i want to do.
is it possible to change the color of the underline from a EditText dynamically? Like the effect, when i focus it, then it turns into blue.
Hope you understand what i want to do.
Create your own customized
EditText
control.Here's an example that I made just for you:
When selected, you just have to change
mPaint.setColor(Color.GREEN);
to another colormain.xml
To customize edit Text I did the following way. It worked for me pretty simple way.