去掉listview换色背景

两种方式:

1:设置背景图为透明色:

<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true" android:drawable="@drawable/list_bj" />
</selector>

2.设置实心点为透明色:

<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#00000000"/>
</shape>

   android:listSelector="@drawable/list_bj"

原文地址:https://www.cnblogs.com/canphp/p/2961106.html