Android:windowsoftinputmode
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:
"One" when the focus is generated, the soft keyboard is hidden or displayed
"Two" reduces the active main window size to make room for the soft keyboard
its settings must be one of the values in the following list, or a " state ... " " < Span style= "Color:rgb (255,0,0)" >adjust ... "
Each value is used between | separate. Example : <activity android:windowsoftinputmode= "Statevisible|adjustresize"/>
The value set in this(except"stateunspecified"and the"adjustunspecified"outside)overrides the value set in the theme
Meaning of each value:
"A" stateunspecified: The state of the soft keyboard is not specified and the system will select an appropriate state or a theme-dependent setting
"B" stateunchanged: When this activity appears, the soft keyboard will remain in the previous activity, whether it is hidden or displayed
"C" Statehidden: The soft keyboard is always hidden when the user chooses activity
"D" Statealwayshidden: When the Activity main window gets focus, the soft keyboard is always hidden
"E" statevisible: Soft keyboard is usually visible
"F" statealwaysvisible: The soft keyboard always displays the status when the user chooses activity
"G" adjustunspecified: Default setting, which is usually determined by the system to hide or show itself
"H" Adjustresize: The activity always adjusts the size of the screen to allow space for the soft keyboard
"I" 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
Android:windowsoftinputmode Property