Android remove EditText border on foucs

Android OS itself adds border to EditText when user focus on it. The color depends on the OS version. Sometimes we might want to get rid of default focus border and there is a way to do it.

Method 1



You can keep the background color as transparent to remove the EditText border on focus.

Method 1

<EditText  
android:layout_width="fill_parent" 
android:layout_height="wrap_content"
android:background="#00000000"
/>