android soft keyboard spoils layout when appears

前端 未结 3 1655
感动是毒
感动是毒 2021-02-13 17:05

Here is a layout:



        
3条回答
  •  南旧
    南旧 (楼主)
    2021-02-13 17:37

    Since the input is coming into an EditText of yours, it's always going to move something.

    Consider having two layouts, one for when the keyboard is down, one for when the keyboard is up.

    Using a ViewSwitcher may help with that.

提交回复
热议问题