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

前端 未结 7 1063
無奈伤痛
無奈伤痛 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:29

    you can try this below code to android manifest.xml

    add the code to android manifest android:windowSoftInputMode="adjustPan"

    And also add to xml layout

    
           
    

提交回复
热议问题