Reputation: 65
I have some edittext on my layout, when I click on the edittext for filling it the softkeyboard appear and everything in fine, I can see the input and the softkeyboard but when I click on the edittexts at the bottom of the layout the softkeyboard appear and the edittext is not visible while I'm typing, I have to scroll down to see it. Is there any way to automatically scroll to the edittext so I can see when I'm typing and the softkeyboard at the same time?
Upvotes: 0
Views: 107
Reputation: 737
Have a look at this developers blog _ On-screen Input Methods.
Summing up I guess this line should help you:
android:windowSoftInputMode="stateVisible|adjustResize">
Upvotes: 0
Reputation: 12605
You just need to add this to your activity tag in the manifest
android:windowSoftInputMode="adjustPan"
Upvotes: 1