1

I have a textbox at the bottom of my HTML file loaded in WebView.

In Portrait mode when keyboard is up and I change screen orientation, I can't see my textbox but when I start typing then it gets scrolled and textbox gets shown.

And in Landscape mode when keyboard is up and I change screen orientation i get a black space between textbox and keyboard, and even when I'm typing it still stays there. How to avoid this problem?

Screen-shots are as follow:

Initial Stage:

enter image description here

Changing Orientation from Portrait to Landscape:

enter image description here enter image description here

Changing Orientation from Landscape to Portrait:

enter image description here enter image description here

4

0 回答 0