Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I move button with keyboard when keyboard is opened

How can I move button like below image : enter image description heretton when keyboard is show display.

like image 354
android java Avatar asked Dec 25 '22 18:12

android java


1 Answers

Inside your Manifest file, in your activity, add android:windowSoftInputMode="stateVisible|adjustResize" . Example:

<activity
android:name=".MainActivity"
android:windowSoftInputMode="stateVisible|adjustResize"
....>
</activity>
like image 76
Bidhan Avatar answered Feb 09 '23 06:02

Bidhan