【发布时间】:2016-06-01 04:07:59
【问题描述】:
我在CardView 中有一个ImageButton,当我按住CardView 时,它会得到一个黑色的覆盖层。如果在CardView 内有任何具有?attr/selectableItemBackgroundBorderless 背景的项目,它们将获得相同的保持效果并显示在CardView 之上,即使没有触摸它们。
例子:
如何防止带有?attr/selectableItemBackgroundBorderless 的项目在未被触摸时出现?
【问题讨论】:
标签: android android-cardview rippledrawable