read
If you want to request focus and show keyboard when a view is loaded you should do:
- Into the EditText XML add <requestFocus/> tag:
<EditText>
...
<requestFocus />
</EditText>
- In the Application Manifest add the property "windowSoftInputMode":
<activity
...
android:windowSoftInputMode="stateAlwaysVisible"/>