EditText loses focus when keyboard appears; requires touching twice to edit

前端 未结 7 1062
無奈伤痛
無奈伤痛 2021-02-01 02:49

I have been designing an application which holds an expandable list. At the end of every list, an empty EditText is ready to receive comments. I have the following

7条回答
  •  一个人的身影
    2021-02-01 03:16

    You need to change in your AndroidManifest.xml

    Add android:windowSoftInputMode="adjustPan" in the activity holding the listview. This will solve your problem.

    
    

提交回复
热议问题