I want to design listView like the this image link i have given below, https://i.stack.imgur.com/M8oQY.png, I have try all types of layout but still not able to define listview like this, please help me, my code is given below.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:background="#ffff"
android:focusable="false"
android:id="@+id/notifTable"
android:layout_height="fill_parent">
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="wrap_content"
android:background="#08707D"
android:orientation="vertical"
android:id="@+id/tableRow1">
<ImageView
android:layout_height="60dp"
android:layout_width="60dp"
android:src="@drawable/alert"
android:padding="5dp"
/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="fill_parent"
android:background="#08707D"
android:layout_weight="1"
android:orientation="vertical"
android:id="@+id/tableRow2"
>
<TextView
android:id="@+id/label1"
android:layout_height="match_parent"
android:layout_width="fill_parent"
android:text="@string/hello_world"
android:singleLine="true"
android:layout_weight="0.5"
android:textColor="@color/button"
style="@style/listTextStyle"
>
</TextView>
<TextView
android:id="@+id/label2"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:text="@string/hello_world"
android:singleLine="true"
android:layout_weight="0.5"
android:textColor="@color/button"
>
</TextView>
</LinearLayout>
</LinearLayout>