リストビューで上記を達成しようとしています。リストの最初の行は初期状態で、ローカルの sqlite DB で利用可能なデータに基づいて更新されます。レイアウトには以下に示すように 2 つの ImageView があり、上記の図にも対応して反映されています。つまり、タイトルの左にある画像とその上の画像です。更新は基本的に、そのタイトルに関連付けられた画像とカラー コードです。特定のリスト行アイテムがカラーコードで更新されたときに、画像ビュー [タイトルの上部にあるもの] をリスト行に動的に挿入するためのガイドラインを提供してください。
以下はレイアウトで、実際のビューの「list_image4」の後に動的画像を追加する必要があります
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rlLocList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="5dip">
<!-- ListRow Left side Thumbnail image -->
<LinearLayout
android:id="@+id/thumbnail3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dip"
android:layout_alignParentLeft="true"
android:layout_marginRight="1dip">
<ImageView
android:id="@+id/list_image3"
android:layout_width="50dip"
android:layout_height="50dip"
android:src="@drawable/content_picture">
</ImageView>
</LinearLayout>
<!-- Right end Arrow -->
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/title2"
android:layout_marginRight="22dp"
android:src="@drawable/navigation_next_item">
</ImageView>
<!-- ListRow top side Thumbnail image to show color code -->
<LinearLayout
android:id="@+id/lLLocListLabel"
android:layout_width="wrap_content"
android:layout_height="10dip"
android:layout_above="@+id/title2"
android:layout_alignLeft="@+id/title2">
<ImageView
android:id="@+id/list_image4"
android:layout_width="15dip"
android:layout_height="10dip"
android:background="#ffff">
</ImageView>
</LinearLayout>
<!-- Title -->
<TextView
android:id="@+id/title2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/thumbnail3"
android:layout_marginBottom="18dp"
android:layout_toRightOf="@+id/thumbnail3"
android:text="Item-1"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffff"
android:textStyle="bold">
</TextView>
</RelativeLayout>