你可以通过imageview
和textview
为中的一行进行布局查看吗?带有ImageView和TextView的SimpleCursorAdapter
这将是布局
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/bowler_txt"
android:paddingLeft="25dp"
android:textSize="30dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Bowler"
android:textAppearance="?android:attr/textAppearanceLarge" />
</LinearLayout>
能将它SimpleCursorAdapter做一个列表视图?当我需要在列表视图中的图像时,我总是使用自定义的数组适配器,但从来没有使用游标。
如果可以完成,我将如何设置图像?
...或覆盖setViewImage – Selvin 2011-12-14 20:05:07