From 15d0c49e85159b9e27870aff5280c0cd95b103c4 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 04 五月 2017 17:16:56 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml | 91 ++++++++++++++++++++++++++------------------- 1 files changed, 53 insertions(+), 38 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml index 905edd5..79c473d 100644 --- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml +++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml @@ -12,36 +12,41 @@ android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" - android:layout_height="76dp" + android:layout_height="@dimen/h76dp" android:gravity="right|center_vertical" android:orientation="horizontal"> <TextView android:id="@+id/fragment_check_in_right_print" - android:layout_width="40dp" - android:layout_height="36dp" + android:layout_width="@dimen/w40dp" + android:layout_height="@dimen/h36dp" android:gravity="center" android:textColor="@android:color/white" - android:background="@drawable/main_btn_bcg" - android:text="鎵撳嵃"/> + android:background="@drawable/u321" + android:text="" + android:textSize="@dimen/w14dp" + /> <TextView android:id="@+id/fragment_check_in_right_add" - android:layout_width="40dp" - android:layout_height="36dp" + android:layout_width="@dimen/w40dp" + android:layout_height="@dimen/h36dp" android:gravity="center" - android:layout_marginLeft="10dp" + android:layout_marginLeft="@dimen/w10dp" android:textColor="@android:color/white" - android:background="@drawable/main_btn_bcg" - android:text="娣诲姞"/> + android:background="@drawable/u249" + android:text="" + android:textSize="@dimen/w14dp" + /> <TextView android:id="@+id/fragment_check_in_right_save" - android:layout_width="40dp" - android:layout_height="36dp" + android:layout_width="@dimen/w40dp" + android:layout_height="@dimen/h36dp" android:gravity="center" - android:layout_marginLeft="10dp" - android:layout_marginRight="10dp" + android:layout_marginLeft="@dimen/w10dp" + android:layout_marginRight="@dimen/w10dp" android:textColor="@android:color/white" - android:background="@drawable/main_btn_bcg" - android:text="淇濆瓨"/> + android:background="@drawable/u208" + android:text="" + android:textSize="@dimen/w14dp"/> </LinearLayout> <LinearLayout android:layout_width="wrap_content" @@ -49,41 +54,51 @@ android:orientation="horizontal"> <cn.com.basic.face.widget.checkin.CheckInRightVisitorCell android:id="@+id/fragment_check_in_right_visitor_cell" - android:layout_width="254dp" - android:layout_height="350dp" + android:layout_width="@dimen/w254dp" + android:layout_height="@dimen/h350dp" android:background="@drawable/card_bcg" - android:orientation="vertical"></cn.com.basic.face.widget.checkin.CheckInRightVisitorCell> - - <cn.com.basic.face.widget.checkin.CheckInIntervieweeCell + android:orientation="vertical"/> + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/u252" + android:layout_marginLeft="@dimen/w45dp" + android:layout_gravity="center_vertical" + /> + <cn.com.basic.face.widget.checkin.CheckInRightIntervieweeCell android:id="@+id/fragment_check_in_right_interviewee_cell" - android:layout_width="254dp" - android:layout_height="350dp" + android:layout_width="@dimen/w254dp" + android:layout_height="@dimen/h350dp" android:background="@drawable/card_bcg" - android:layout_marginLeft="103dp" - android:orientation="vertical"></cn.com.basic.face.widget.checkin.CheckInIntervieweeCell> + android:layout_marginLeft="@dimen/w45dp" + android:orientation="vertical"/> </LinearLayout> <LinearLayout - android:layout_width="611dp" + android:layout_width="@dimen/w611dp" android:layout_height="wrap_content" - android:layout_marginTop="20dp" + android:layout_marginTop="@dimen/h20dp" android:orientation="vertical"> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/colorPrimary" android:textStyle="bold" - android:textSize="@dimen/text_size_big" - android:text="@string/visitor_reason"/> + android:textSize="@dimen/w16dp" + android:text="@string/visitor_reason" + android:id="@+id/fragment_check_in_right_visitor_reason_text_view" + /> <TextView android:id="@+id/fragment_check_in_right_visitor_reason" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@null" - android:layout_marginTop="15dp" - android:layout_marginBottom="12dp" + android:layout_marginTop="@dimen/h15dp" + android:layout_marginBottom="@dimen/h12dp" android:text="" - android:textSize="@dimen/text_size_normal" - android:textColor="@color/colorText_b"/> + android:textSize="@dimen/w14dp" + android:textColor="@color/colorText_b" + /> <View android:layout_width="match_parent" android:layout_height="@dimen/view_size_1" @@ -93,19 +108,19 @@ android:layout_height="wrap_content" android:textColor="@color/colorPrimary" android:textStyle="bold" - android:layout_marginTop="20dp" - android:textSize="@dimen/text_size_big" + android:layout_marginTop="@dimen/h20dp" + android:textSize="@dimen/w16dp" android:text="@string/visitor_remark"/> <EditText android:id="@+id/fragment_check_in_right_remark" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@null" - android:layout_marginTop="15dp" - android:layout_marginBottom="12dp" + android:layout_marginTop="@dimen/h15dp" + android:layout_marginBottom="@dimen/h12dp" android:hint="" android:textColorHint="@color/colorText_b" - android:textSize="@dimen/text_size_normal" + android:textSize="@dimen/w14dp" android:textColor="@color/colorText_b"/> <View android:layout_width="match_parent" -- Gitblit v1.8.0