Open Naomath opened 7 years ago
@Naomath
遅くなってごめん。もう解決してるかな??
これは、listView2が囲われているRelativeLayoutlayout2
の高さが固定になっているのが原因
<RelativeLayout
android:id="@+id/layout2"
android:layout_width="match_parent"
android:layout_height="300sp">
<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="70dp"
android:layout_marginLeft="16dp"
ここで、layout2
のlayout_height
をwrap_content
にすれば大丈夫のはず
res/layout/activity_list.xml で、そのようにレイアウトをかくとlistVIew2のところ(自分で作成したものの)ところにitemをいくらか入れても全てを表示できない