安卓:ListView中选择设置为空?为空、ListView

2023-09-07 15:23:45 作者:老师任性,学生听命

我要禁用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.