requestFocus not working

前端 未结 5 1639
悲哀的现实
悲哀的现实 2021-01-02 06:41


        
5条回答
  •  长发绾君心
    2021-01-02 07:23

    To do this in code, in your Activity:

    getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
    

提交回复
热议问题