<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:id="@+id/bgGridPriority"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              android:background="@drawable/grid_background" >

    <RelativeLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal" >

        <ImageView
                android:id="@+id/ImgSLE"
                android:layout_width="10dp"
                android:layout_height="10dp"
                android:layout_alignParentTop="true"
                android:layout_alignParentLeft="true"
                android:src="@drawable/light_red" />

        <TextView
            android:id="@+id/txtslatime"
            android:layout_marginLeft="3dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_toRightOf="@+id/ImgSLE"
            android:text="00:00"
            android:textColor="@color/tv_white"
            android:textSize="10dp" />

        <ImageView
                android:id="@+id/imgStsPriority"
                android:layout_width="10dp"
                android:layout_height="10dp"
                android:layout_alignParentTop="true"
                android:layout_alignParentRight="true"
                android:src="@drawable/light_red" />
        <ImageView
                android:id="@+id/imgPriority"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/ImgSLE"
                android:src="@drawable/icon_not_priority"
                android:layout_centerHorizontal="true" />

        <TextView
                android:id="@+id/txtPriority"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentRight="true"
                android:gravity="center_horizontal"
                android:layout_below="@+id/imgPriority"
                android:text="@string/dummy_priority"
                android:textColor="@color/tv_white"
                android:textSize="10dp" />

    </RelativeLayout>

    <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:orientation="vertical" >

        <TextView
                android:id="@+id/txtTaskID"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_horizontal"
                android:text="@string/dummy_task_id"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="@color/tv_white"
                android:textSize="10dp" />

        <TextView
                android:id="@+id/txtName"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:gravity="center_horizontal"
                android:singleLine="true"
                android:ellipsize="marquee"
                android:marqueeRepeatLimit="marquee_forever"
                android:scrollHorizontally="true"
                android:text="@string/dummy_header_name_2"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="@color/tv_white" />

    </LinearLayout>

    <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:orientation="horizontal"
            android:gravity="center_horizontal" >

        <TextView
                android:id="@+id/txtStatusTask"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/dummy_status_task"
                android:visibility="gone"
                android:textColor="@color/tv_white"
                android:textSize="10dp" />

        <TextView
                android:id="@+id/txtScheme"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:gravity="center_horizontal"
                android:minLines="2"
                android:textColor="@color/tv_white"
                android:text="@string/dummy_scheme_name"
                android:textSize="10dp" />

    </LinearLayout>

</LinearLayout>
