Android: How to push button above soft keyboard

后端 未结 6 2057
星月不相逢
星月不相逢 2020-12-04 19:04

I\'ve got a \"save\" button which I want to push up together with the soft keyboard. So when the user clicks an EditText in my layout, then the button has to stay above the

6条回答
  •  萌比男神i
    2020-12-04 19:38

    So this is a pretty old post, but I struggled with the answers provided. Both oneavi and Intahep are correct, but let me show you EXACTLY where the android:windowSoftInputMode="adjustResize" goes.

    in Android Manifest

        
        
         
        
    

提交回复
热议问题