How to remove border in android when selecting text input field?

When I select an input text box, does the default android browser draw a border around the input text box?

I tried this but does nothing.

input[type="text"]:focus { border: none; outline: none;}

Is it possible to have a border around an input text field when the text field is selected in the Android browser?

+3
source share
1 answer

Try setting the background to transparent.

<EditText   
    android:layout_width="fill_parent"  
    android:layout_height="wrap_content"  
    android:hint="@string/input"  
    android:background="#00000000" 
/> 
+4
source

All Articles