Interface control method when Android soft keyboard pops up

This paper describes the interface control method when Android soft keyboard pops up. Share with you for your reference, as follows:

Sometimes the layout changes after the Android activity pop-up soft keyboard

The following three modes can change the display form after the soft keyboard pops up

Mode 1: compression mode: after the soft keyboard pops up, the original size will be compressed. We can use Android manifest Set activity in XML. For example:

Mode 2: after the pan mode soft keyboard pops up, it will not compress the original size, but overwrite it. We can use Android manifest Set activity in XML. For example:

Mode 3: automatic mode: the system automatically determines whether to use translation mode or compression mode. The decisive factor is whether the content can be scrolled.

PS: Here's another one about Android manifest Online query tool for XML permission control:

Description of Android manifest functions and permissions: http://tools.jb51.net/table/AndroidManifest

More readers interested in Android related content can view the special topics of this site: summary of Android SMS and phone operation skills, summary of Android operation SQLite database skills, introduction and advanced tutorial of Android development, summary of Android multimedia operation skills (audio, video, recording, etc.), summary of Android basic component usage Summary of Android view skills, summary of Android layout skills and summary of Android control usage

I hope this article will help you in Android programming.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>