android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="false"
在<ImageView 中增加这几个属性就可以。
在布局中也是一样的,比如LinearLayout等等,都是一样的处理。
Android imageview点了二,三次才有效果处理
道法自然
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="false"
在<ImageView 中增加这几个属性就可以。
在布局中也是一样的,比如LinearLayout等等,都是一样的处理。