I'm designing a login html page which is loaded into an Android WebView. There are two text areas and a "Login" button fixed to the bottom of the page. My problem is that when the person types into the text area; the keyboard pops up and hides the login button.
How can I keep the "Login" button fixed to the bottom of the page but to the top of the keyboard?
I've tried :
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
And
android:windowSoftInputMode="adjustPan|adjustResize"
Neither makes a difference.
Aucun commentaire:
Enregistrer un commentaire