使刚打开页面时EditText不自动闪光标

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sqf251877543/article/details/79852878

找到布局文件中第一个EditText的父级控件或者根布局控件,为其添加以下属性:

 android:focusable="true"
 android:focusableInTouchMode="true"

猜你喜欢

转载自blog.csdn.net/sqf251877543/article/details/79852878
今日推荐