The soft keyboard opens, then closes by pressing a button

I have a Recyclerview, and one of the elements has an edittext, but every time I clcik to the field to start typing Soft Keyboard, it opens right away. Has anyone experienced this before?

+6
source share
1 answer

Perhaps too late, but I had this problem. I decided by adding android:windowSoftInputMode="adjustPan" in YourActivity in AndroidManifest.xml , for example:

 <activity android:name=".YourActivity" android:windowSoftInputMode="adjustPan"/> 
0
source

Source: https://habr.com/ru/post/1011691/


All Articles