|
|
@@ -1,139 +1,62 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@drawable/selector_oa_itembg"
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
android:padding="10dp">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/context_rl"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/doit_img"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:clickable="false"
|
|
|
- android:src="@drawable/oa_doit" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/status_img"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@drawable/oa_doit" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/status_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:text="status_tv"
|
|
|
- android:textColor="@color/text_hine"
|
|
|
- android:textSize="@dimen/text_min" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/name_remak_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toLeftOf="@id/status_tv"
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="2"
|
|
|
- android:text="name_remak_tv"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_min" />
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/title_ll"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/title_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_below="@id/name_remak_tv"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toLeftOf="@id/status_tv"
|
|
|
+ android:layout_weight="1"
|
|
|
android:ellipsize="end"
|
|
|
- android:maxLines="2"
|
|
|
+ android:lines="1"
|
|
|
android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_min" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/addr_time_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_below="@id/title_tv"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_toLeftOf="@id/status_tv"
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="2"
|
|
|
- android:text="addr_time_tv"
|
|
|
- android:textColor="@color/text_hine"
|
|
|
- android:textSize="@dimen/text_min" />
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/object_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:id="@+id/status_tv"
|
|
|
+ android:layout_width="70dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_below="@id/addr_time_tv"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_toLeftOf="@id/status_tv"
|
|
|
+ android:layout_toRightOf="@+id/title_tv"
|
|
|
android:ellipsize="end"
|
|
|
- android:maxLines="2"
|
|
|
- android:textColor="@color/text_hine"
|
|
|
- android:textSize="@dimen/text_min" />
|
|
|
+ android:lines="1" />
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/out_rl"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/address_tv"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/out_img"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:clickable="false"
|
|
|
- android:src="@drawable/mission_plan_ok" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/out_title_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_toLeftOf="@id/out_img"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/out_addr_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_below="@+id/out_title_tv"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_toLeftOf="@id/out_img"
|
|
|
- android:textColor="@color/hintColor"
|
|
|
- android:textSize="15sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/out_object_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_below="@+id/out_addr_tv"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_toLeftOf="@id/out_img"
|
|
|
- android:textColor="@color/hintColor"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
-</FrameLayout>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/title_ll"
|
|
|
+ android:layout_marginRight="70dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:lines="1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/handler_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/address_tv"
|
|
|
+ android:layout_marginRight="70dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:lines="1" />
|
|
|
+</RelativeLayout>
|