In my application I am using a list view. I am using ResourceCursorAdapter and a custom layout design to populate values in the list view as two line list item from the database. The data is populating correctly but I need to increase the gap between the two textviews and also the height of the list view. 
Iam using the below code :
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="40sp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/imageSettings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:src="@android:drawable/btn_star" />
<TextView
android:id="@+id/list_apiname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="10dp"
android:textColor="@android:color/white"
android:textSize="20dp" />
<TextView
android:id="@+id/list_apiurl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/list_apiname"
android:layout_alignParentBottom="true"
android:textColor="@android:color/darker_gray"/>
</RelativeLayout>
Try this