Created
June 11, 2014 18:22
-
-
Save xionglun/ed7bc5ff8cb648d7564e to your computer and use it in GitHub Desktop.
Revisions
-
xionglun created this gist
Jun 11, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ How to make a ListView transparent in Android? In xml: ```xml android:background="@android:color/transparent" android:cacheColorHint="@android:color/transparent" ``` In java: ```java list.setCacheColorHint(Color.TRANSPARENT); ``` Reference: [stackoverflow](http://stackoverflow.com/questions/1377336/how-to-make-a-listview-transparent-in-android)