让某个控件不抢焦点
① 设置这个控件属性android:focusable="false"
②设置要获取焦点的控件属性
android:focusable="true"
android:focusableInTouchMode="true"
大功告成!
① 设置这个控件属性android:focusable="false"
②设置要获取焦点的控件属性
android:focusable="true"
android:focusableInTouchMode="true"
大功告成!
暂无评论。
评论功能维护中,当前仅展示历史评论。