Page does not rise with soft keyboard

Source: Internet
Author: User

Is in the configuration file corresponding to the activity plus this sentence: android:windowsoftinputmode= "Statevisible|adjustresize"

After setting

the Android:windowsoftinputmode property introduces the interactive mode between the Android:windowsoftinputmodeactivity main window and the soft keyboard, which can be used to avoid the Input Panel occlusion problem. A new feature after Android1.5. This genus affects two things: "One" when there is focus, whether the soft keyboard is hidden or displays "two" to reduce the active main window size to make room for the soft keyboard its settings must be a value in the list below, or a "state ..." value plus a combination of "adjust ..." values. Set multiple values in either group-multiple "state ..." values, such as &mdash, have undefined results. Each value is used between the | separate. For example: In this setting the value (except "stateunspecified" and "adjustunspecified") overrides the value set in the theme for each value: "A" stateunspecified: The state of the soft keyboard is not specified, The system will select an appropriate state or a theme-dependent setting of "B" stateunchanged: When this activity appears, the soft keyboard will remain in the previous activity, whether it is hiding or showing "C" Statehidden: When the user chooses activity, the soft keyboard is always hidden "D" Statealwayshidden: When the Activity main window gets the focus, the soft keyboard is always hidden "E" statevisible: The soft keyboard is usually visible " F "Statealwaysvisible: When the user chooses activity, the soft keyboard always displays the status" G "adjustunspecified: Default setting, usually by the system to hide or show" H " Adjustresize: The activity always adjusts the size of the screen to leave the soft keyboard space "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 content

Page does not rise with soft keyboard

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.