I am creating a listiview programmatically. I keep a divider between listview elements. I wish to keep a transparent divider because I have a background image to be shown. I
Add,
android:divider="@null"
in the xml for the divider. This will ensure that the absence of the divider.