Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Not auto select an EditText field [duplicate]

When I travel between Activities my app auto select the first EditText field on the screen, calling the keyboard.

There is any way to start an Activity without selecting anything by default?

like image 644
Cássio Bruzasco Avatar asked May 23 '15 18:05

Cássio Bruzasco


1 Answers

You should add this to its parent layout

android:focusable="true" android:focusableInTouchMode="true"

like image 151
Somasundaram Mahesh Avatar answered Oct 15 '22 13:10

Somasundaram Mahesh