From 54ee6e00def90552c41588c74f436fd0d181eae3 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期二, 02 五月 2017 18:09:01 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml | 46 +++++++++++++++++++++++----------------------- 1 files changed, 23 insertions(+), 23 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 2e92375..9b23b7d 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,33 +12,33 @@ 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=""/> <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=""/> <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=""/> @@ -49,29 +49,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="45dp" + 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="45dp" + 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 @@ -88,8 +88,8 @@ 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" @@ -103,7 +103,7 @@ android:layout_height="wrap_content" android:textColor="@color/colorPrimary" android:textStyle="bold" - android:layout_marginTop="20dp" + android:layout_marginTop="@dimen/h20dp" android:textSize="@dimen/text_size_big" android:text="@string/visitor_remark"/> <EditText @@ -111,8 +111,8 @@ 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" -- Gitblit v1.8.0