在xml文件里面有listselecter的属性引用
<ListView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:listSelector="@android:color/transparent"
></ListView>
引用transparent之后会让点击效果透明化,昨天整了半天才搞出来,记录一下。