transparent listView

1

I am trying to make my listview and therefore the items that form it have a transparent background so that you can see the background of the layout on which the listView is located I tried to put in the listview and in the layout of the item this but there is no way:

android:background="@null"
android:background="@android:color/transparent"
android:background="#00000000" 

Any more ideas?

    
asked by wiki 09.03.2017 в 19:30
source

1 answer

1

To establish a transparent background:

android:background="@android:color/transparent"
android:cacheColorHint="@android:color/transparent"
    
answered by 09.03.2017 / 23:13
source