レポートレイアウト用の私のxml :
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</ListView>
<TextView
android:id="@+id/android:empty"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="@string/main_no_items"/>
</LinearLayout>
画像で見たように、リスト項目間に不必要な距離があります。リストアイテム間の距離を最小限に抑えるためにあらゆることを試みますが、減少することはありません:( 2つのアイテム間に隙間がないようにしたい.分割線以外に隙間がないように、1つのリストアイテムの後に次のアイテムを取得する方法を教えてください.