Skip to content Skip to sidebar Skip to footer

Recyclerview Scrolls To Top After Keyboard Hides

I have a recyclerView with height and width matchParent, above and below some views. View below recyclerView is editText. When something is typed in editText and keyboard closes, r

Solution 1:

You can try to add this code to your manifest:

android:windowSoftInputMode="adjustPan"

<activity
    android:name=".YourActivity"
    android:configChanges="keyboard|keyboardHidden"
    android:label="@string/title_activity"
    android:windowSoftInputMode="adjustPan" 
    >

EDIT

Post a Comment for "Recyclerview Scrolls To Top After Keyboard Hides"