ListView に SimpleCursorAdapter を使用すると、ListView の項目の高さがこのようになるのはなぜですか?
(これに基づく私のコード)
しかし、配列を使用すると、リストビューのアイテムの高さが大きくなります
(私はこれに基づいてリストビューを学びます)
アイテムリストビューの行レイアウトは
<?xml version="1.0" encoding="utf-8"?>
<TextView android:id="@+id/text1"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
だから私の質問は、ArrayAdapter と SimpleCursorAdapter を使用するときに行の高さに違いがあるのはなぜですか?