This article illustrates the interface control method when the Android soft keyboard pops up. Share to everyone for your reference, specific as follows:
Sometimes the layout changes when androidactivity pops up the soft keyboard
Here are three modes to change the display after the soft keyboard pops up
Mode one: Compressed mode soft keyboard eject, will compress the original size
We can set up the activity in Androidmanifet.xml. Such as:
Android:windowsoftinputmode= "Stateunchanged|adjustresize"
Mode two: Translation mode soft keyboard pop-up, will not compress the original size, but cover
We can set up the activity in Androidmanifet.xml. Such as:
Android:windowsoftinputmode= "Stateunchanged|adjustpan"
Mode three: Automatic mode system automatically determines whether to use the translation mode or compression mode, the determining factor is the content can be scrolled.
Android:windowsoftinputmode= "Adjustuspecified"
PS: Here again to provide you with a Androidmanifest.xml access control online query tool:
Android manifest Features and Permissions description Encyclopedia:
Http://tools.jb51.net/table/AndroidManifest
More interested readers of Android content can view this site: "Android SMS and phone Operation tips Summary", "Android operation SQLite Database Skills Summary", "Android Development introduction and Advanced Course", " Android Multimedia How-to Summary (audio, video, audio, etc), summary of Android Basic components usage, Android View tips Summary, Android layout layout tips and a summary of Android controls usage
I hope this article will help you with the Android program.