Vinay Siddhapura Vinay Siddhapura - 3 months ago 21
Android Question

Soft Keyboard disable

My keyboard automatically open when I go to new activity having EditText in it. I have to disable this issue.

Answer

you can use windowSoftInputMode for disable your keyboard.

<activity
   android:name="YourActivituy"
   android:screenOrientation="portrait"
   android:windowSoftInputMode="stateHidden"></activity>
Comments