Why, when I use SimpleCursorAdapter for a ListView, I have the height of the elements in the ListView, like this - 
(My code is based on this )
But when using arrays, Listview Elements are very tall

(I am studying listview based on this )
Line layout for a list of list items
<?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"/>
So my question is, why is there a difference in line heights when using ArrayAdapter and SimpleCursorAdapter?
android listview android-arrayadapter row simplecursoradapter
olegi Nov 22 '10 at 9:19 2010-11-22 09:19
source share