The perfect solution for Android to develop a soft keyboard to block the login button
On the application login page, we need to fill in the user name and password. When filling in these information, the soft keyboard will block the login button, which makes the user experience poor, so let's solve this problem today
1: The login layout interface is as follows:
It should be noted that:
1: Hierarchical relationship
RelativeLayout-----
LinearLayout----
ScrollView,
Button
2: At androidmanifest Android: windowsoftinputmode = "statehidden|adjustresize" is configured for this activity in XML
3: See the following code
The above is the perfect solution for the Android development soft keyboard to block the login button introduced by Xiaobian. I hope it will help you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!