Reputation: 117
I have a couple of EditText fields on a form and when I start typing in either of them, the soft keyboard hides on each character input.
Is this something that is known and is there a way to handle this issue? There doesn't seem to be anything special done to these fields to cause this issue.
I've googled for a solution, also browsed through various questions here, nothing helpful so far though.
Thank you.
Upvotes: 0
Views: 304
Reputation: 1020
it will work.
<activity android:name=".Mainactivity"
android:windowSoftInputMode="adjustPan"/>
add this in your manifest file
Upvotes: 0
Reputation: 539
Add following line
android:windowSoftInputMode="stateHidden"
in manifest under your that activity.
Upvotes: 0
Reputation: 301
you can try this
android:windowSoftInputMode="adjustPan"
or
android:windowSoftInputMode="adjustResize"
in manifeast file under your activity tab
Upvotes: 1