xuxiuxi
2017-05-02 fe29f318c4973f07f61713d2436d0bf533092db2
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml
@@ -16,13 +16,13 @@
            android:orientation="vertical">
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="50dp">
                android:layout_height="@dimen/h50dp">
                <TextView
                    android:id="@+id/fragment_register_back"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:text="&lt; 人员注册"
                    android:layout_marginLeft="10dp"
                    android:layout_marginLeft="@dimen/w10dp"
                    android:gravity="center_vertical"
                    android:layout_centerVertical="true"
                    android:textColor="#8BD2F6"
@@ -30,26 +30,26 @@
                <LinearLayout
                    android:layout_width="match_parent"
                    android:gravity="right"
                    android:layout_marginTop="10dp"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="horizontal"
                    android:layout_alignParentBottom="true"
                    android:layout_height="40dp">
                    android:layout_height="@dimen/h40dp">
                    <TextView
                        android:id="@+id/fragment_register_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_register_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/h10dp"
                        android:textColor="@android:color/white"
                        android:background="@drawable/u208"
                        android:text=""/>
@@ -58,7 +58,7 @@
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="10dp"
                android:layout_marginTop="@dimen/h10dp"
                android:gravity="center_horizontal"
                android:orientation="horizontal">
                <LinearLayout
@@ -68,20 +68,20 @@
                    >
                    <ImageView
                        android:id="@+id/fragment_register_surveillance_photo"
                        android:layout_width="197dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w197dp"
                        android:layout_height="@dimen/h206dp"
                        android:background="#07000000"
                        android:gravity="center"
                        android:adjustViewBounds="true"
                        />
                    <ImageView
                        android:id="@+id/fragment_register_upload_custom_photo"
                        android:layout_width="197dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w197dp"
                        android:layout_height="@dimen/h206dp"
                        android:background="#07000000"
                        android:text="点击上传照片"
                        android:layout_marginLeft="10dp"
                        android:layout_marginRight="10dp"
                        android:layout_marginLeft="@dimen/w10dp"
                        android:layout_marginRight="@dimen/w10dp"
                        android:textSize="@dimen/text_size_normal"
                        android:textColor="@android:color/white"
                        android:gravity="center"
@@ -89,8 +89,8 @@
                        />
                    <ImageView
                        android:id="@+id/fragment_register_id_card_photo"
                        android:layout_width="330dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w330dp"
                        android:layout_height="@dimen/h206dp"
                        android:background="#07000000"
                        android:padding="0dp"
                        android:adjustViewBounds="true"
@@ -103,37 +103,37 @@
                    >
                    <ImageView
                        android:id="@+id/fragment_register_surveillance_photo_placeholder_image"
                        android:layout_width="197dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w197dp"
                        android:layout_height="@dimen/h206dp"
                        android:alpha="0.35"
                        android:src="@drawable/u45"
                        android:paddingLeft="10dp"
                        android:paddingRight="10dp"
                        android:paddingTop="70dp"
                        android:paddingLeft="@dimen/w10dp"
                        android:paddingRight="@dimen/w10dp"
                        android:paddingTop="@dimen/h70dp"
                        />
                    <ImageView
                        android:id="@+id/fragment_register_upload_custom_photo_placeholder_image"
                        android:layout_width="197dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w197dp"
                        android:layout_height="@dimen/h206dp"
                        android:alpha="0.35"
                        android:text="点击上传照片"
                        android:layout_marginLeft="10dp"
                        android:layout_marginRight="10dp"
                        android:layout_marginLeft="@dimen/w10dp"
                        android:layout_marginRight="@dimen/w10dp"
                        android:textSize="@dimen/text_size_normal"
                        android:textColor="@android:color/white"
                        android:gravity="center"
                        android:src="@drawable/u45"
                        android:paddingLeft="10dp"
                        android:paddingRight="10dp"
                        android:paddingTop="70dp"
                        android:paddingLeft="@dimen/w10dp"
                        android:paddingRight="@dimen/w10dp"
                        android:paddingTop="@dimen/h70dp"
                        />
                    <ImageView
                        android:id="@+id/fragment_register_id_card_photo_placeholder_image"
                        android:layout_width="330dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w330dp"
                        android:layout_height="@dimen/h206dp"
                        android:alpha="0.35"
                        android:src="@drawable/u117"
                        android:padding="55dp"
                        android:padding="@dimen/w55dp"
                        />
                </LinearLayout>
                <LinearLayout
@@ -143,30 +143,30 @@
                    >
                    <TextView
                        android:id="@+id/fragment_register_surveillance_photo_placeholder_text_view"
                        android:layout_width="197dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w197dp"
                        android:layout_height="@dimen/h206dp"
                        android:gravity="center"
                        android:text="选择\n人物照片"
                        android:background="#00000000"
                        android:textSize="@dimen/text_size_big"
                        android:paddingTop="70dp"
                        android:paddingTop="@dimen/h70dp"
                        />
                    <TextView
                        android:id="@+id/fragment_register_upload_custom_photo_placeholder_text_view"
                        android:layout_width="197dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w197dp"
                        android:layout_height="@dimen/h206dp"
                        android:background="#00000000"
                        android:text="点击\n上传照片"
                        android:layout_marginLeft="10dp"
                        android:layout_marginRight="10dp"
                        android:layout_marginLeft="@dimen/w10dp"
                        android:layout_marginRight="@dimen/w10dp"
                        android:textSize="@dimen/text_size_big"
                        android:gravity="center"
                        android:paddingTop="70dp"
                        android:paddingTop="@dimen/h70dp"
                        />
                    <TextView
                        android:id="@+id/fragment_register_id_card_photo_placeholder_text_view"
                        android:layout_width="330dp"
                        android:layout_height="206dp"
                        android:layout_width="@dimen/w330dp"
                        android:layout_height="@dimen/h206dp"
                        android:background="#00000000"
                        android:textSize="@dimen/text_size_navigation"
                        android:text="证件快照"
@@ -178,7 +178,7 @@
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="20dp"
                android:layout_marginTop="@dimen/h20dp"
                android:layout_gravity="center_horizontal"
                android:orientation="horizontal">
                <LinearLayout
@@ -188,67 +188,67 @@
                    <cn.com.basic.face.widget.register.RegisterRightFieldTextView
                        android:id="@+id/fragment_register_name"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_name"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldLabelView
                        android:id="@+id/fragment_register_gender"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_sex"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldLabelView
                        android:id="@+id/fragment_register_country"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_nation"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldLabelView
                        android:id="@+id/fragment_register_birthday"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_birthday"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldLabelView
                        android:id="@+id/fragment_register_visitor_class"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_visitorClass"
                        />
                </LinearLayout>
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="122dp"
                    android:layout_marginLeft="@dimen/w122dp"
                    android:orientation="vertical">
                    <cn.com.basic.face.widget.register.RegisterRightFieldTextView
                        android:id="@+id/fragment_register_phone"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_phone"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldLabelView
                        android:id="@+id/fragment_register_id_class"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_idClass"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldTextView
                        android:id="@+id/fragment_register_id_num"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_idNumber"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldTextView
                        android:id="@+id/fragment_register_company"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_companyName"
                        />
                    <cn.com.basic.face.widget.register.RegisterRightFieldTextView
                        android:id="@+id/fragment_register_remark"
                        android:layout_height="wrap_content"
                        android:layout_width="311dp"
                        android:layout_width="@dimen/w311dp"
                        register:label="@string/title_remark"
                        />
                </LinearLayout>