安卓:禁用突出显示的GridView [英] Android: Disable highlighting in GridView
本文介绍了安卓:禁用突出显示的GridView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何关闭橙色高亮点击一个GridView的项目时?
How can I turn off the orange highlight when clicking an item in a GridView?
我一直没能找到的文档或通过测试的解决方案。
I haven't been able to find a solution in the documentation or through testing.
推荐答案
使用安卓listSelector =#00000000
在的GridView
在XML布局文件元素。
Use android:listSelector="#00000000"
in your GridView
element in your XML layout file.
这篇关于安卓:禁用突出显示的GridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文