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.
我有一个定义一些和设置事件的GrinView服装。当用户单击按钮时,它会显示一些橙色背景,如下面的 iimage。我怎样才能避免这种背景显示?AdapterImageViewsonClick
GrinView
Adapter
ImageViews
onClick
尝试设置
android:background="@null"
在您的布局 xml 中。
你确定你在使用带有 onClickListener 的 ImageView 吗?如果您使用的是 ImageButton,请尝试将其更改为 ImageView(不会带来 onClick 动画)。
干杯