Help you:
You will need to create/modify your own NinePatch image to replace it by default, and use it as the background of your EditText . If you look in your SDK folder , under your platform, res/drawable , you should find a NinePatch image for the EditText focus state. If thatβs all you want to change, you can simply paste it into Photoshop or any other image editing software and change the orange color to your chosen color. Then save this in the drawable folder .
For instance:
edittext_modified_states.xml
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" > <item android:state_pressed="true" android:drawable="@android:drawable/edittext_pressed" /> <item android:state_focused="true" android:drawable="@drawable/edittext_focused_blue" /> <item android:drawable="@android:drawable/edittext_normal" /> </selector>
source share