After solving android keyboard input pop-up box is under the control cover

problem:

After the app to get the input focus input box pops up when the soft keyboard controls below the box will block the entry box, resulting in not enter.

1, the normal state:

2, a single number input box Note focus obtained:

At this time Remarks single number is "New" button below the blocking part

 

solution:

Add android in the current activity AndroidManifest.xml in: windowSoftInputMode = "adjustPan" property

This property means:

1, if the soft keyboard input frame height than the bottom, after obtaining the overall focus pushed up interface, ensure that the input frame is not covered soft keyboard

2, if the input frame height higher than the soft keyboard controls below input box after obtaining the focus will not be alone pushed up

In this embodiment a height higher than the input box soft keyboard

 

effect:

Soft keyboard pops up under the control does not have to push up alone

So far the problem is solved!

 

 

 

Guess you like

Origin blog.csdn.net/taoerchun/article/details/91968987