Android多层View点击穿透问题

Activity 布局中View1覆盖了View2,View2中有Button点击事件,当View1显示时,点击View1会相应View2的Button点击事件,

解决方案:View1 

android:clickable="true"
android:focusable="true"
发布了5 篇原创文章 · 获赞 4 · 访问量 5276

猜你喜欢

转载自blog.csdn.net/wo122282967/article/details/83150987