The page is not increased with the keyboard, and the page is increased with the keyboard
Add this sentence to the corresponding activity in the configuration file: android: windowSoftInputMode = "stateVisible | adjustResize"
After setting
Android: windowSoftInputMode attribute description android: windowSoftInputModeactivity interaction mode between the main window and the keyboard, which can be used to avoid the problem of blocking the input method Panel. This is a new feature after Android1.5. This attribute can affect two things: [1] when there is a focal point, whether the keyboard is hidden or displayed [2] whether to reduce the size of the main active window to free up space. the settings of the keyboard must be a value in the following list or a "state ..." Add "adjust…" to the value ..." Value combination. Set multiple values in any group-multiple "states ..." Values. For example, & mdash has undefined results. Use | to separate values. For example, the value set here (except "stateUnspecified" and "adjustUnspecified") will overwrite the meaning of each value set in the topic: [A] stateUnspecified: the keyboard status is not specified. The system selects an appropriate status or the topic-dependent setting [B] stateUnchanged: When this activity appears, the Soft Keyboard will remain in the status of the previous activity, whether hidden or displayed [C] stateHidden: when the activity is selected, the soft keyboard will always be hidden [D] stateAlwaysHidden: when the main Activity window gets the focus, the keyboard is always hidden [E] stateVisible: the keyboard is usually visible [F] stateAlwaysVisible: when the user selects the activity, the soft keyboard always shows the status [G] adjustUnspecified: the default setting, usually determined by the system whether to hide or display [H] adjustResize: this Activity always adjusts the screen size so as to leave a space for the soft keyboard [I] adjustPan: the content of the current window will be automatically moved so that the current focus is never overwritten by the keyboard and the user can always see the part of the input content.