android listview:如何摆脱蜱虫?

时间:2013-12-12 16:33:34

标签: android listview android-listview

我正在尝试获取一个没有任何刻度/复选标记的简单列表视图。我该如何摆脱它们?尝试过改变背景颜色,没有什么区别。

这是我的列表活动布局的xml文件...

<?xml version="1.0" encoding="utf-8"?>
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:background="#ff868686"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <ListView       
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:id="@android:id/list"
    android:stackFromBottom="false"
    android:transcriptMode="normal"
    android:listSelector="#ffee8c00"
    />
 </RelativeLayout>

1 个答案:

答案 0 :(得分:-1)

在你的CSS中     li {list-style-type:none;}

相关问题