Remove Shadow from ListView in Android
October 18th, 2011
If you need to remove shadow from top and bottom of your ListView, you can do the following :
android:fadingEdge="none"
For example :
1 2 3 4 5 6 | <ListView android:fadingEdge="none" android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" /> |
or if you want to do it programmatically, you can use :
listView.setVerticalFadingEdgeEnabled(false);
Related posts:
- Rounded TextView in Android
- How to Make Tiled Background in Android
- Android App, A Month Later
- Android App : Freelance Jobs
Tags: android
Sharing is caring
One Comment
-
180t grill says:November 3, 2011 at 11:23 pm
Great information, thanks for the share!