How to remove focus from single editText

后端 未结 17 1518
南笙
南笙 2020-12-13 17:24

In my application I have a single EditText together with some TextViews, button and a spinner. My EditText receives focus since it is the only focu

17条回答
  •  余生分开走
    2020-12-13 17:36

    Just find another view and give it focus instead.

    var refresher = FindViewById(Resource.Id.refresher);
    
    refresher.RequestFocus();
    

提交回复
热议问题