In my application, I use MapView , EditText and FloatingActionButton (fab), and I want the fab to move over the keyboard when I click the EditText button. I found that setting android:windowSoftInputMode="adjustResize" in manifest works well with fab, but it also resizes my map, which is in the background, and with a very small dimension it gives a very ugly effect.
Here is my layout:
<CoordinatorLayout> <MapView/> <RelativeLayout> <EditText/> other views ... </RelativeLayout> <FloatingActionButton/> other views ... </CoordinatorLayout>
Any idea on how I can get the "adjustResize" effect without using it? Or, maybe, how to exclude viewing due to resizing, but keeping "adjustResize"?
Thank you in advance
source share