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 | 71 ++++++++++++++++++++--------------- 1 files changed, 41 insertions(+), 30 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 551d026..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/u321" - android:text=""/> + 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/u249" - android:text=""/> + 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/u208" - android:text=""/> + android:text="" + android:textSize="@dimen/w14dp"/> </LinearLayout> <LinearLayout android:layout_width="wrap_content" @@ -49,23 +54,29 @@ 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"/> - + <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: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 @@ -73,7 +84,7 @@ android:layout_height="wrap_content" android:textColor="@color/colorPrimary" android:textStyle="bold" - android:textSize="@dimen/text_size_big" + android:textSize="@dimen/w16dp" android:text="@string/visitor_reason" android:id="@+id/fragment_check_in_right_visitor_reason_text_view" /> @@ -82,10 +93,10 @@ 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:textSize="@dimen/w14dp" android:textColor="@color/colorText_b" /> <View @@ -97,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