<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h39dp"
|
android:layout_gravity="center_horizontal"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/fragment_attendance_right_photo"
|
android:layout_width="@dimen/w197dp"
|
android:layout_height="@dimen/h197dp"
|
fresco:roundedCornerRadius="@dimen/w5dp"
|
fresco:placeholderImageScaleType="fitXY"
|
android:background="@null"
|
/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/fragment_attendance_right_photo_placeholder_image"
|
android:layout_width="@dimen/w197dp"
|
android:layout_height="@dimen/h197dp"
|
android:alpha="0.35"
|
fresco:roundedCornerRadius="@dimen/w5dp"
|
fresco:placeholderImageScaleType="fitXY"
|
android:background="@drawable/normal_choose_bcg"
|
/>
|
<TextView
|
android:id="@+id/fragment_attendance_right_photo_placeholder_text_view"
|
android:layout_width="@dimen/w197dp"
|
android:layout_height="@dimen/h197dp"
|
android:background="#00000000"
|
android:alpha="0.35"
|
android:text="人员头像"
|
android:gravity="center"
|
android:textSize="@dimen/w14dp"
|
/>
|
</RelativeLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w76dp"
|
android:orientation="vertical">
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_5"
|
android:text="@string/title_card_number"/>
|
<TextView
|
android:id="@+id/fragment_attendance_right_id_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_b"
|
android:text=""/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20dp"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_5"
|
android:text="@string/title_name"/>
|
<TextView
|
android:id="@+id/fragment_attendance_right_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_b"
|
android:text=""/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20dp"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_5"
|
android:text="@string/title_sex"/>
|
<TextView
|
android:id="@+id/fragment_attendance_right_gender"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_b"
|
android:text=""/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20dp"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_5"
|
android:text="@string/title_post"/>
|
<TextView
|
android:id="@+id/fragment_attendance_right_post"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_b"
|
android:text=""/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20dp"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_5"
|
android:text="@string/title_department"/>
|
<TextView
|
android:id="@+id/fragment_attendance_right_dept"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/w14dp"
|
android:textColor="@color/colorText_b"
|
android:text=""/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="@dimen/h30dp">
|
<LinearLayout
|
android:id="@+id/attendance_bottom_title_ll"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h40dp"
|
android:orientation="horizontal"
|
android:layout_centerHorizontal="true">
|
<TextView
|
android:layout_width="@dimen/w120dp"
|
android:layout_height="match_parent"
|
android:textSize="@dimen/w16dp"
|
android:textColor="@color/colorPrimary"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:text="@string/number"/>
|
<TextView
|
android:layout_width="@dimen/w240dp"
|
android:layout_height="match_parent"
|
android:textSize="@dimen/w16dp"
|
android:textColor="@color/colorPrimary"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:text="@string/attendance_time"/>
|
<TextView
|
android:layout_width="@dimen/w240dp"
|
android:layout_height="match_parent"
|
android:textSize="@dimen/w16dp"
|
android:textColor="@color/colorPrimary"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:text="@string/attendance_address"/>
|
<TextView
|
android:layout_width="@dimen/w120dp"
|
android:layout_height="match_parent"
|
android:textSize="@dimen/w16dp"
|
android:textColor="@color/colorPrimary"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:text="@string/attendance_type"/>
|
</LinearLayout>
|
<View
|
android:id="@+id/fragment_attendance_right_separator"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_1"
|
android:background="@color/colorText_b"
|
android:layout_below="@id/attendance_bottom_title_ll"
|
android:layout_alignStart="@id/attendance_bottom_title_ll"
|
android:layout_alignEnd="@id/attendance_bottom_title_ll"/>
|
<cn.com.basic.face.widget.attendance.AttendanceRightListView
|
android:id="@+id/fragment_attendance_right_list_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_below="@id/fragment_attendance_right_separator"
|
android:layout_alignStart="@id/attendance_bottom_title_ll"
|
android:layout_alignEnd="@id/attendance_bottom_title_ll"
|
/>
|
</RelativeLayout>
|
</LinearLayout>
|