Hide soft keyboard on application load

前端 未结 3 490
后悔当初
后悔当初 2020-12-23 17:05

I have an application with an EditText element on the main view. This means that when my application is loaded the soft keyboard appears per default.

I

3条回答
  •  萌比男神i
    2020-12-23 17:34

    You can do something easier. Add this to the LinearLayout (or any other layout that is the root):

    
    

提交回复
热议问题