Monday, 1 December 2014

How to remove Edit Text border

17:14:00 Posted by Kumanan

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.

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"
/>