Add this in your activity tag in the manifest android:windowSoftInputMode="stateHidden|adjustPan"
Lock view inside layout when keyboard appear
-
11-07-2023 - |
Question
I have an ImageView aligned on bottom of my layout contains "footer" of my app. Layout contains also ad EditText. Now when i tap on EditText and keyboard appear, it doesn't go over my footer, but footer get moved on above keyboard. There's a way to lock the imageView and get keyboard go over ImageView?
Solution
OTHER TIPS
Yes. Have a look at android:windowSoftInputMode
manifest attribute. Specifically, consider using adjustPan
there.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow