Activity main window and soft keyboard interaction mode, can be used to avoid Input Panel occlusion problem, after Android1.5 a new feature.
This genus affects two things:
1, when the focus is generated, the soft keyboard is hidden or displayed
2. Reduce the size of the active main window to make room for the soft keyboard
It must be set to a value in the list below, or a”State ... "Value plus One”Adjust ... "A combination of values. Set multiple values in either group-multiplestate ... "values mdash< Span style= "color: #000000;" >| separate.
For example :<activity android:windowsoftinputmode= "Statevisible|adjustresize" ... >, The value set in this(the values set in the theme will be overwritten except for "stateunspecified" and "adjustunspecified"
Meaning of each value:
Stateunspecified: The state of the soft keyboard is not specified and the system will select an appropriate state or a theme-dependent setting
Stateunchanged: When this activity appears, the soft keyboard will remain in the previous activity, whether it is hidden or displayed
Statehidden: The soft keyboard is always hidden when the user chooses activity
Statealwayshidden: When the Activity main window gets focus, the soft keyboard is always hidden
Statevisible: Soft keyboard is usually visible
Statealwaysvisible: The soft keyboard always displays the status when the user chooses activity
Adjustunspecified: Default setting, which is usually determined by the system to hide or show itself
Adjustresize: The activity always adjusts the size of the screen to allow space for the soft keyboard
Adjustpan: The contents of the current window will automatically move so that the current focus is never covered by the keyboard and the user can always see the part of the input