android.R.color.transparent not fully transparent

前端 未结 5 1260
忘掉有多难
忘掉有多难 2020-12-17 20:40

In my application, I apply the transparent background to my ListView\'s CustomListItem at runtime. For that I use, convertView.setBackgroundColor(android.

5条回答
  •  佛祖请我去吃肉
    2020-12-17 21:04

    Use this from now in your xml's files when you want transparency in your views:

    android:background="@null"
    

    You are going to get a better performance.

提交回复
热议问题