F frenkipi Member Licensed User Longtime User Apr 10, 2017 #1 Hello, I have a webview inside of an AHSwipeToRefresh View. In my webview I am displaying a form, which height is greater than a screen height. So the problem starts when I click on a input box which is on the button of the page and keyboard hides my input box. I also tried with Code: Copy SetActivityAttribute(Main, android:windowSoftInputMode, adjustResize) SetActivityAttribute(workadd, android:windowSoftInputMode, "stateHidden|adjustResize") Any recomendations what should I do? I also uploaded my test project. Regards! Attachments test.zip test.zip 7.8 KB · Views: 516
Hello, I have a webview inside of an AHSwipeToRefresh View. In my webview I am displaying a form, which height is greater than a screen height. So the problem starts when I click on a input box which is on the button of the page and keyboard hides my input box. I also tried with Code: Copy SetActivityAttribute(Main, android:windowSoftInputMode, adjustResize) SetActivityAttribute(workadd, android:windowSoftInputMode, "stateHidden|adjustResize") Any recomendations what should I do? I also uploaded my test project. Regards!
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2017 #2 Why are you using a WebView instead of creating a native layout? You should IME library and handle the height changed event. Another option is to set the mode to adjustPan. It will cause the whole activity to be pushed when the keyboard becomes visible. Upvote 0
Why are you using a WebView instead of creating a native layout? You should IME library and handle the height changed event. Another option is to set the mode to adjustPan. It will cause the whole activity to be pushed when the keyboard becomes visible.
F frenkipi Member Licensed User Longtime User Apr 10, 2017 #3 Ok, thank you. I used IME libary and it works. Upvote 0