I have created a layout for a fragment which contains EditText box and one Recyclerview.whenever i click on edidtext box for inputting, whole layout disappears and when i press back button, keyboard hides and layout is again displayed.
Asked
Active
Viewed 37 times
-1
-
can you post screenshots and code?? – Dave Ranjan Mar 06 '16 at 06:47
2 Answers
1
You have to switch your activity's windowSoftInputMode flag to "adjustPan". Check official documentation for further reference.
<activity
...
android:windowSoftInputMode="adjustPan">
</activity>
Hope it works for you.
Mayank Bhatnagar
- 2,772
- 1
- 13
- 19
0
If the keyboard is hiding the layout I hope this might help you:
Community
- 1
- 1
Nabil Sunesara
- 87
- 3