|
|
@@ -0,0 +1,189 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<com.usai.redant.apexdrivers.home.HomeCellLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/content_container"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="5dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/order_mark_view"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ android:src="@drawable/backend_flag"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/title_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginLeft="60dp"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_toLeftOf="@id/order_mark_view"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:text="Pickup Order New"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/title_tv"
|
|
|
+ >
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/status_view"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/order_no_key_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_alignTop="@id/status_view"
|
|
|
+ android:layout_toRightOf="@id/status_view"
|
|
|
+ android:layout_marginRight="2dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:text="Order No.:"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/order_no_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_alignTop="@id/status_view"
|
|
|
+ android:layout_toRightOf="@id/order_no_key_tv"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="AFS180530001200"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/container_no_key_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@id/order_no_tv"
|
|
|
+ android:layout_toRightOf="@id/status_view"
|
|
|
+ android:layout_marginRight="2dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:text="Container No.:"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/container_no_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@id/order_no_tv"
|
|
|
+ android:layout_toRightOf="@id/container_no_key_tv"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="TCNU6432476"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/type2_key_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@id/container_no_tv"
|
|
|
+ android:layout_toRightOf="@id/status_view"
|
|
|
+ android:layout_marginRight="2dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:text="Order Type:"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/type2_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@id/container_no_tv"
|
|
|
+ android:layout_toRightOf="@id/type2_key_tv"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="Pick Up"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/date_key_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@id/type2_key_tv"
|
|
|
+ android:layout_toRightOf="@id/status_view"
|
|
|
+ android:layout_marginRight="2dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:text="Date:"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/date_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@id/type2_tv"
|
|
|
+ android:layout_toRightOf="@id/date_key_tv"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="5/30/2018"
|
|
|
+ />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/index_tv"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:textColor="#E83A13"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:text="100"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:gravity="center"
|
|
|
+ />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+</com.usai.redant.apexdrivers.home.HomeCellLayout>
|