|
|
@@ -1,151 +1,196 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- tools:context="com.xzjmyk.pm.activity.ui.erp.activity.secretary.BookingDetailActivity">
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/rv_top"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentTop="true">
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_left"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="15dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="70dp"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:src="@drawable/defaultpic" />
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="5dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/me"/>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_toRightOf="@+id/ll_left"
|
|
|
- android:layout_toLeftOf="@+id/ll_right"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:background="@drawable/icon_jujue" />
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_right"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:padding="15dp"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
- <ImageView
|
|
|
- android:id="@+id/imageView4"
|
|
|
- android:layout_width="70dp"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:layout_alignParentTop="true"
|
|
|
- android:src="@drawable/defaultpic" />
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="5dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/me"/>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
-
|
|
|
-<LinearLayout
|
|
|
- android:layout_below="@+id/rv_top"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white"
|
|
|
- android:layout_margin="15dp"
|
|
|
- android:orientation="vertical">
|
|
|
- <LinearLayout
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <com.xzjmyk.pm.activity.ui.erp.view.CustomerScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="7dp"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:text="时间:"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:text="19:10"/>
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:fillViewport="true"
|
|
|
+ tools:context="com.xzjmyk.pm.activity.ui.erp.activity.secretary.BookingDetailActivity">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="7dp"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:text="时间:"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:text="19:10"/>
|
|
|
- </LinearLayout>
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rv_top"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentTop="true">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_left"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="15dp">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/iv_me"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@drawable/defaultpic" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_me"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:text="@string/me" />
|
|
|
+ </LinearLayout>
|
|
|
+ <!--
|
|
|
+ android:layout_toLeftOf="@+id/ll_right"
|
|
|
+ android:layout_toRightOf="@+id/ll_left"-->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_resultInfo"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_toRightOf="@+id/ll_left"
|
|
|
+ android:background="@drawable/icon_send" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_right"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="15dp">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/iv_target"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:src="@drawable/defaultpic" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_target"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:text="@string/me" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="7dp"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:text="内容:"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:text="###########################################"/>
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="70dp"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:layout_gravity="right"
|
|
|
- android:src="@drawable/icon_jujue1" />
|
|
|
-</LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/rv_top"
|
|
|
+ android:layout_margin="15dp"
|
|
|
+ android:background="@drawable/icon_bg_booking_detail1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="7dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:text="@string/booking_time" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:text="***************"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="7dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:text="@string/booking_address" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_address"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:text="*****************"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="7dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:text="@string/booking_content" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:text="###########################################
|
|
|
+###########################################################################"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_result"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:src="@drawable/icon_jujue1" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </com.xzjmyk.pm.activity.ui.erp.view.CustomerScrollView>
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/linearLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="50dp"
|
|
|
- android:weightSum="2"
|
|
|
- android:layout_alignParentBottom="true">
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="2">
|
|
|
+
|
|
|
<Button
|
|
|
+ android:id="@+id/bt_change"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:text="@string/me"
|
|
|
+ android:layout_weight="1"
|
|
|
android:background="@drawable/select_weixin_list_item"
|
|
|
- android:layout_weight="1"/>
|
|
|
- <view
|
|
|
- style="@style/app_line_v_1dp"></view>
|
|
|
+ android:text="@string/booking_change" />
|
|
|
+
|
|
|
+ <View style="@style/app_line_v_1dp"></View>
|
|
|
+
|
|
|
<Button
|
|
|
+ android:id="@+id/bt_cancle"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignTop="@+id/linearLayout"
|
|
|
+ android:layout_weight="1"
|
|
|
android:background="@drawable/select_weixin_list_item"
|
|
|
- android:text="@string/me"
|
|
|
- android:layout_weight="1"/>
|
|
|
+ android:text="@string/cancel" />
|
|
|
</LinearLayout>
|
|
|
</RelativeLayout>
|