Android virtual keyboard pops up to the top to the bottom view of the solution

Enter the virtual keyboard that pops up when the bottom bar of the top up, the other controls are displayed in effect changed.

Solution: Use ActivityGroup in activity in the AndroidManifest plus: android: windowSoftInputMode = "adjustPan"

While hiding input method android: windowSoftInputMode = "stateHidden" 

Reproduced in: https: //my.oschina.net/dminter/blog/205067

Guess you like

Origin blog.csdn.net/weixin_34138521/article/details/91888850