版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jian11058/article/details/88826314
在父控件中加入2行代码:
android:focusable=“true”
android:focusableInTouchMode=“true”
即可
在父控件中加入2行代码:
android:focusable=“true”
android:focusableInTouchMode=“true”
即可