Already asked here but without a proper answer.
I want the FAB to float on top of the keyboard. that’s it.
For example
- Open a new
Blank Activity
template project with Android Studio- Change the Hello World
TextView
toEditText
- See image below:
Answer
Turns out it’s pretty easy,
- Add
android:windowSoftInputMode="adjustResize"
to your activity in manifest - Make sure your root view in layout xml, has
android:fitsSystemWindows="true"
property
Attribution
Source : Link , Question Author : David , Answer Author : David