I want to add android:windowSoftInputMode="adjustPan" only to recycler view.
When I add it into the manifest file it adds it to everything which I don’t want.
When I add the line of code in the recycler view it doesn’t work.
I want to add android:windowSoftInputMode="adjustPan" only to recycler view.
When I add it into the manifest file it adds it to everything which I don’t want.
When I add the line of code in the recycler view it doesn’t work.
2
Answers
Simply use below code, don’t need to define anything in AndroidManifest file.
You can try this. Replace the viewItem with your view
In Java
In Kotlin