|
@@ -3,59 +3,93 @@
|
|
|
android:layout_width="fill_parent"
|
|
android:layout_width="fill_parent"
|
|
|
android:layout_height="wrap_content" >
|
|
android:layout_height="wrap_content" >
|
|
|
|
|
|
|
|
- <ScrollView
|
|
|
|
|
- android:id="@+id/sl_root"
|
|
|
|
|
- android:layout_width="fill_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
|
|
- android:layout_alignParentTop="true"
|
|
|
|
|
- android:fillViewport="true" >
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/detail_linear"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ >
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/ll_root"
|
|
|
|
|
|
|
+ <com.usai.apex.ShipMap.ShipMap
|
|
|
|
|
+ android:id="@+id/tracking_map"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:background="@color/white"
|
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
|
+ android:layout_marginBottom="2dp"
|
|
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
|
|
+ >
|
|
|
|
|
+
|
|
|
|
|
+ </com.usai.apex.ShipMap.ShipMap>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/detail_list_container"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="2"
|
|
|
|
|
+ >
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_empty"
|
|
|
|
|
- android:layout_width="fill_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:gravity="center_horizontal"
|
|
|
|
|
- android:text="No record in this page"
|
|
|
|
|
- android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/ll_refresh"
|
|
|
|
|
|
|
+ <ScrollView
|
|
|
|
|
+ android:id="@+id/sl_root"
|
|
|
android:layout_width="fill_parent"
|
|
android:layout_width="fill_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
|
|
+ android:fillViewport="true" >
|
|
|
|
|
|
|
|
- android:background="#FFF5F5F5"
|
|
|
|
|
- android:gravity="center_horizontal"
|
|
|
|
|
- android:orientation="vertical"
|
|
|
|
|
- android:visibility="gone">
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_ver"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:gravity="center_horizontal"
|
|
|
|
|
- android:text="Failed to get records\nTap Refresh button to retry"
|
|
|
|
|
- android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
-
|
|
|
|
|
- <Button
|
|
|
|
|
- android:id="@+id/btn_refresh"
|
|
|
|
|
- style="@android:attr/buttonBarButtonStyle"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/ll_root"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
|
- android:drawableLeft="@android:drawable/ic_popup_sync"
|
|
|
|
|
- android:text="Refresh" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- </ScrollView>
|
|
|
|
|
|
|
+ android:background="@color/white"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_empty"
|
|
|
|
|
+ android:layout_width="fill_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
|
+ android:text="No record in this page"
|
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/ll_refresh"
|
|
|
|
|
+ android:layout_width="fill_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+
|
|
|
|
|
+ android:background="#FFF5F5F5"
|
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:visibility="gone">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_ver"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
|
+ android:text="Failed to get records\nTap Refresh button to retry"
|
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
+
|
|
|
|
|
+ <Button
|
|
|
|
|
+ android:id="@+id/btn_refresh"
|
|
|
|
|
+ style="@android:attr/buttonBarButtonStyle"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:drawableLeft="@android:drawable/ic_popup_sync"
|
|
|
|
|
+ android:text="Refresh" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </ScrollView>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
<RelativeLayout
|
|
|
android:id="@+id/status"
|
|
android:id="@+id/status"
|