Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove selected color on drag over listview

I am displaying a ListView. When I drag over it, the entire ListView is selected with a black background. How can I remove that black background?

like image 881
Narendra Avatar asked Dec 28 '11 10:12

Narendra


1 Answers

just use in ur xml file inside ListView,

 android:cacheColorHint="@android:color/transparent"
like image 51
Jyosna Avatar answered Sep 28 '22 02:09

Jyosna