0
목록보기에 약간의 "그래픽"문제가 있습니다.
ListView 항목이 너무 많이 표시됩니다.
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/paperback"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:maxLines="1"
android:text="Large Text"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#FF0000"
android:textSize="16sp"
/>
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:maxLines="3"
android:text="Small Text"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#000000"
android:textSize="12sp"
/>
</LinearLayout>
</LinearLayout>
바깥 쪽 LinearLayout은 여기에서 아무 것도하지 않으므로 제거하십시오. 편집 : 실제로, 아무 것도하지 않고 레이아웃을 망칠 수도 있습니다 :-) – Joris
이 코드에서 listview는 어디에 있습니까? – InnocentKiller
@Joris 외부 레이아웃은 전체보기 배경을 포함합니다. 내부 레이아웃은 listview를 포함합니다.) –