方法一:在定义的ListView中加上 android:divider="@null",如下
<ListView
android:id="@+id/search_history_view"
android:layout_width="fill_parent"
android:layout_height="400dp"
android:cacheColorHint="#00000000"
android:divider="@null">
</ListView>
方法二:将背景色改为透明色, android:divider="#00000000"如下
<ListView
android:id="@+id/search_history_view"
android:layout_width="fill_parent"
android:layout_height="400dp"
android:cacheColorHint="#00000000"
android:divider="#00000000">
</ListView>