Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
三个嵌套视图下的 UIButton 不接收事件,但如果我把它放在上面的一个视图中,它会接收事件。这第三个视图不以任何方式接收事件,所以我不明白什么元素正在捕获事件。
关闭.userInteractionEnabled按钮上方的视图。
.userInteractionEnabled
我正在使用 ExpandableListView,当展开和滚动时,滚动完成时它会变黑一秒钟。我使用了“android:cacheColorHint="#00000000" 但它似乎不适用于可扩展的列表视图。代码是:
<ExpandableListView android:id="@+id/an