<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:fresco="http://schemas.android.com/apk/res-auto">
|
<LinearLayout
|
android:id="@+id/fragment_visit_right_linear_layout"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="@dimen/h20dp"
|
android:orientation="horizontal">
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/fragment_visit_right_head_photo"
|
android:layout_width="@dimen/w197dp"
|
android:layout_height="@dimen/h197dp"
|
fresco:roundedCornerRadius="@dimen/w5dp"
|
android:background="#07000000"
|
fresco:placeholderImageScaleType="fitXY"
|
/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/fragment_visit_right_card_photo"
|
android:layout_width="@dimen/w330dp"
|
android:layout_height="@dimen/h197dp"
|
fresco:placeholderImageScaleType="fitXY"
|
android:layout_marginLeft="@dimen/w79dp"
|
fresco:roundedCornerRadius="@dimen/w5dp"
|
fresco:roundTopLeft="true"
|
fresco:roundTopRight="true"
|
fresco:roundBottomLeft="true"
|
fresco:roundBottomRight="true"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/fragment_visit_right_head_photo_placeholder_image"
|
android:layout_width="@dimen/w197dp"
|
android:layout_height="@dimen/h197dp"
|
fresco:roundedCornerRadius="@dimen/w5dp"
|
android:alpha="0.35"
|
android:background="@drawable/u45"
|
/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/fragment_visit_right_card_photo_placeholder_image"
|
android:layout_height="@dimen/h197dp"
|
fresco:placeholderImageScaleType="fitXY"
|
android:layout_marginLeft="@dimen/w79dp"
|
fresco:roundedCornerRadius="@dimen/w5dp"
|
android:background="#07000000"
|
fresco:roundTopLeft="true"
|
fresco:roundTopRight="true"
|
fresco:roundBottomLeft="true"
|
fresco:roundBottomRight="true"
|
android:layout_width="@dimen/w330dp" />
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<TextView
|
android:id="@+id/fragment_visit_right_head_photo_placeholder_text_view"
|
android:layout_width="@dimen/w197dp"
|
android:layout_height="@dimen/h197dp"
|
android:background="#07000000"
|
android:src="@drawable/u45"
|
android:visibility="invisible"
|
/>
|
<TextView
|
android:id="@+id/fragment_visit_right_card_photo_placeholder_text_view"
|
android:layout_width="@dimen/w330dp"
|
android:layout_height="@dimen/h197dp"
|
android:layout_marginLeft="@dimen/w79dp"
|
android:text="证件照"
|
android:gravity="center"
|
android:layout_gravity="center"
|
android:textSize="@dimen/w20dp"
|
android:background="#00000000"
|
/>
|
</LinearLayout>
|
</RelativeLayout>
|
</LinearLayout>
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_alignStart="@id/fragment_visit_right_linear_layout"
|
android:layout_alignEnd="@id/fragment_visit_right_linear_layout"
|
android:layout_below="@id/fragment_visit_right_linear_layout"
|
android:layout_marginTop="@dimen/h15dp">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
android:paddingLeft="@dimen/w8dp">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/colorPrimary"
|
android:textSize="@dimen/w16dp"
|
android:textStyle="bold"
|
android:text="@string/base_information"/>
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="姓名:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_name"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="电话:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_phone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="性别:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_gender"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="证件类型:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_id_type"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="国籍:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_country"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="证件编号:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_id_num"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="出生日期:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_birthday"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="公司名称:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_company"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/colorPrimary"
|
android:textSize="@dimen/w16dp"
|
android:textStyle="bold"
|
android:layout_marginTop="@dimen/h28dp"
|
android:text="@string/visitor_information"/>
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="拜访人:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_person"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="拜访事情:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_visit_reason"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="来访部门:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_from_dept"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="访问状态:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_status"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:paddingTop="@dimen/h13dp"
|
android:paddingBottom="@dimen/h13dp"
|
android:gravity="center_horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="来访时间:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_visit_time"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="@dimen/w298dp"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text="离开时间:"
|
android:textColor="@color/colorText_5"/>
|
<TextView
|
android:id="@+id/fragment_visit_right_exit_time"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w16dp"
|
android:text=""
|
android:textColor="@color/colorText_b"
|
android:background="@null"/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_marginLeft="@dimen/w5dp"/>
|
</LinearLayout>
|
</LinearLayout>
|
</ScrollView>
|
</RelativeLayout>
|