android making layout scrollable when soft keyboard open, but not shifting it upwards

前端 未结 9 1982
忘掉有多难
忘掉有多难 2020-12-18 19:16

This is my screen, with one button hidden behind the keyboard.

I want exactly like this, but scrollable. -

Whenever, the keyboard

9条回答
  •  没有蜡笔的小新
    2020-12-18 20:04

    I tried your code and also I have the same issue Here

    Here I make some correction in your code and values were codes as dummy(strings, colors ect)... Code Snippet is:

    
    
    
    
        
    
            
    
                
    
                
    
                

    Also set the below parameter to your activity in you Manifest

    android:windowSoftInputMode="adjustPan"

    **Edited as in view outer layer is Relative layout inside a scrollview and i managed the Create Account button as parent bottom.

    Please try it in a real device.

    Try this and give your feedback !! Happy Coding..

提交回复
热议问题