From db8f2f0495e0dc13616e88bc27f78a0d8d70ba29 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 30 三月 2017 16:47:57 +0800
Subject: [PATCH]
---
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml | 109 +++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 78 insertions(+), 31 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml
index a8bda26..e730176 100644
--- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml
+++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/register_base"
android:orientation="vertical" android:layout_width="match_parent"
android:background="@android:color/white"
android:layout_height="match_parent">
+
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -12,32 +14,77 @@
android:layout_height="match_parent"
android:orientation="vertical">
- <LinearLayout
+
+ <RelativeLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:layout_marginTop="10dp"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/register_add"
- android:src="@mipmap/ic_launcher"
- android:layout_width="20dp"
- android:layout_height="20dp" />
- <ImageView
- android:id="@+id/register_save"
- android:layout_marginLeft="19dp"
- android:layout_marginRight="35dp"
- android:src="@mipmap/ic_launcher"
- android:layout_width="20dp"
- android:layout_height="20dp" />
- </LinearLayout>
+ android:layout_height="50dp">
+ <TextView
+ android:id="@+id/register_back"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="< 浜哄憳娉ㄥ唽"
+ android:layout_marginLeft="10dp"
+ android:gravity="center_vertical"
+ android:layout_centerVertical="true"
+ android:textColor="#8BD2F6"
+ />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:gravity="right"
+ android:layout_marginTop="10dp"
+ android:orientation="horizontal"
+ android:layout_alignParentBottom="true"
+ android:layout_height="40dp">
+ <!--<ImageView
+ android:id="@+id/register_add"
+ android:src="@mipmap/ic_launcher"
+ android:layout_width="20dp"
+ android:layout_height="20dp" />
+ <ImageView
+ android:id="@+id/register_save"
+ android:layout_marginLeft="19dp"
+ android:layout_marginRight="35dp"
+ android:src="@mipmap/ic_launcher"
+ android:layout_width="20dp"
+ android:layout_height="20dp" />
+ -->
+ <TextView
+ android:id="@+id/register_add"
+ android:layout_width="40dp"
+ android:layout_height="36dp"
+ android:gravity="center"
+ android:layout_marginLeft="10dp"
+ android:textColor="@android:color/white"
+ android:background="@drawable/main_btn_bcg"
+ android:text="娣诲姞"/>
+ <TextView
+ android:id="@+id/register_save"
+ android:layout_width="40dp"
+ android:layout_height="36dp"
+ android:gravity="center"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:textColor="@android:color/white"
+ android:background="@drawable/main_btn_bcg"
+ android:text="淇濆瓨"/>
+ </LinearLayout>
+ </RelativeLayout>
+
+
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:orientation="horizontal">
- <TextView
+
+ <com.facebook.drawee.view.SimpleDraweeView
+ android:id="@+id/register_choose_photo"
+ android:layout_width="147dp"
+ android:layout_height="206dp"
+ android:gravity="center"
+ />
+ <!--<TextView
android:id="@+id/register_choose_photo"
android:layout_width="147dp"
android:layout_height="206dp"
@@ -45,8 +92,8 @@
android:text="閫夋嫨浜虹墿蹇収"
android:textSize="@dimen/text_size_normal"
android:textColor="@android:color/white"
- android:gravity="center"/>
- <TextView
+ android:gravity="center"/>-->
+ <ImageView
android:id="@+id/register_update__photo"
android:layout_width="147dp"
android:layout_height="206dp"
@@ -78,23 +125,23 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <include layout="@layout/registe_edittext"
+ <include layout="@layout/fragment_register_right_field"
android:id="@+id/register_name"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/register_textview"
+ <include layout="@layout/fragment_register_right_label"
android:id="@+id/register_gender"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/register_textview"
+ <include layout="@layout/fragment_register_right_label"
android:id="@+id/register_country"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/register_textview"
+ <include layout="@layout/fragment_register_right_label"
android:id="@+id/register_birthday"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/register_textview"
+ <include layout="@layout/fragment_register_right_label"
android:id="@+id/register_visitor_class"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
@@ -105,23 +152,23 @@
android:layout_marginLeft="122dp"
android:orientation="vertical">
- <include layout="@layout/registe_edittext"
+ <include layout="@layout/fragment_register_right_field"
android:id="@+id/register_phone"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/register_textview"
+ <include layout="@layout/fragment_register_right_label"
android:id="@+id/register_id_class"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/registe_edittext"
+ <include layout="@layout/fragment_register_right_field"
android:id="@+id/register_id_num"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/registe_edittext"
+ <include layout="@layout/fragment_register_right_field"
android:id="@+id/register_company"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
- <include layout="@layout/registe_edittext"
+ <include layout="@layout/fragment_register_right_field"
android:id="@+id/register_remark"
android:layout_height="wrap_content"
android:layout_width="278dp"/>
--
Gitblit v1.8.0