i used two listviews like this if my problem is one back line is coming inbetween two listviews.But i dont want that that balck line in betweem them.
A:
To remove the separator between items in the same ListView, here is the solution:
getListView().setDivider(null);
getListView().setDividerHeight(0);
dasilvj
2009-12-16 13:12:46
A:
Or in XML:
android:divider="@drawable/list_item_divider"
android:dividerHeight="1dp"
You can use a color for the drawable (e.g. #ff112233), but be aware, that pre-cupcake releases have a bug in which the color cannot be set. Instead a 9-patch or a image must be used..
Mads Kristiansen
2009-12-16 13:27:44