我想禁用touch listView行时出现的橙色高亮显示.到目前为止,在我的xml中,我try 了以下几点:
android:focusable="false"
android:focusableInTouchMode="false"
android:clickable="false"
更多信息:我希望当用户在这个listView对象上touch 屏幕时,差异为零.
我想禁用touch listView行时出现的橙色高亮显示.到目前为止,在我的xml中,我try 了以下几点:
android:focusable="false"
android:focusableInTouchMode="false"
android:clickable="false"
更多信息:我希望当用户在这个listView对象上touch 屏幕时,差异为零.
将此代码添加到您的XML中:
android:listSelector="@android:color/transparent"
对于这个问题,这可能会奏效(我不确定,也不知道是否有更好的解决方案):
你可以在文本视图上加ColorStateList.