1 Overview
When using ListView, sometimes you will find that the spacing between each item of the listview is sometimes relatively large, sometimes relatively small, you can add the following code:
//Used to control the spacing between items
android:dividerHeight="10dp"
android:divider="@null"
android:fadingEdge="none"
android:headerDividersEnabled="false"
android:footerDividersEnabled="false"
android:dividerHeight="10dp"