安卓:ListView中选择设置为空? [英] Android: ListView Selector set to null?

查看:120
本文介绍了安卓:ListView中选择设置为空?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要禁用<一个href=\"http://developer.android.com/reference/android/widget/AbsListView.html#attr_android%3alistSelector\"><$c$c>Selector从我的的ListView 。这就是当我点击任何项目会有任何迹象表明它已被点击。

I want to disable the Selector from my ListView. That's when I click any items there will be no indication that it has been clicked.

我在ListView的标记试过这样:
的android:listSelector =@空并没有工作。

I tried this in my ListView tag: android:listSelector="@null" and didn't work

推荐答案

设置这个机器人:listSelector =#00000000试试这个。

set this android:listSelector="#00000000" Try this.

这篇关于安卓:ListView中选择设置为空?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆