make my form in Android goes up when keyboard appear
I'm having a problem with my login form, it consists of username, password, and submit button. But when I touch my username EditText, the keyboard shows and it covers up my password and submit button.
Then I change my manifest to
android:windowSoftInputMode="adjustResize|stateHidden"
The whole form is now goes up, but my layout becomes resized an开发者_StackOverflowd it doesn't look good. So, can I control how much my layout will go up, when I use adjustPan?
Try setting android:layout_weight="1" for the all the texts and buttons used..It may work.
精彩评论