From a691c82c836ede72bb8b4ec8813826b3d2d1e3fc Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期五, 05 五月 2017 17:27:47 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_check_in_right.xml | 50 ++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 36 insertions(+), 14 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 79c473d..2d33c8b 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 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + > <ScrollView android:layout_width="match_parent" android:layout_height="match_parent"> @@ -9,7 +10,9 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizontal" - android:orientation="vertical"> + android:orientation="vertical" + android:id="@+id/fragment_check_in_right_parent" + > <LinearLayout android:layout_width="match_parent" android:layout_height="@dimen/h76dp" @@ -78,7 +81,6 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/h20dp" android:orientation="vertical"> - <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -88,17 +90,37 @@ 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="@dimen/h15dp" - android:layout_marginBottom="@dimen/h12dp" - android:text="" - android:textSize="@dimen/w14dp" - android:textColor="@color/colorText_b" - /> + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <EditText + 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="@dimen/h15dp" + android:layout_marginBottom="@dimen/h12dp" + android:text="" + android:textSize="@dimen/w14dp" + android:textColor="@color/colorText_b" + /> + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/u36" + android:id="@+id/fragment_check_in_right_visitor_reason_edit" + android:layout_alignParentRight="true" + /> + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/u38" + android:id="@+id/fragment_check_in_right_visitor_reason_more" + android:layout_toLeftOf="@id/fragment_check_in_right_visitor_reason_edit" + android:layout_marginRight="@dimen/w10dp" + /> + </RelativeLayout> + <View android:layout_width="match_parent" android:layout_height="@dimen/view_size_1" -- Gitblit v1.8.0