How to hide Android soft keyboard on EditText

前端 未结 16 1126
长发绾君心
长发绾君心 2020-11-27 14:38

I have an Activity with some EditText fields and some buttons as a convenience for what normally would be used to populate those fields. However when we the user touches on

16条回答
  •  庸人自扰
    2020-11-27 14:54

    You need to add the following attribute for the Activity in your AndroidManifest.xml.

    
    

提交回复
热议问题