Device keyboard stays on Input

2

I have an application in Xamarin using HybriWebView (HTML screens). Inside it I have a text input at the bottom of the screen and when I click on the input the cell phone keypad is over my input, so I can not see what I'm typing. I found solutions on the internet to add Height to the screen when the input is clicked, but I believe you have a more correct way of doing that.

Does anyone have any ideas?

    
asked by anonymous 04.05.2017 / 16:27

1 answer

1

The most correct solution is not to add height as mentioned above.

In the desired Activity.cs add the following attribute:

WindowSoftInputMode = SoftInput.AdjustPan

Example:

ResponsewastakenfromStackOverflow.com: Source

    
16.05.2017 / 21:22