浏览代码

[회원가입][Common] 본인인증 GUI 적용 및 아이디 수정

Hasemi 7 年之前
父节点
当前提交
4295f5eb0c

二进制
app/src/main/res/drawable/icon_input_clock.png


+ 101 - 82
app/src/main/res/layout/fragment_sign_up_phone_authorization.xml

@@ -38,7 +38,8 @@
       android:orientation="horizontal"
       android:weightSum="4">
 
-      <EditText
+      <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
+        android:id="@+id/edit_text_name"
         android:layout_width="0dp"
         android:layout_height="match_parent"
         android:layout_weight="2"
@@ -107,12 +108,12 @@
       android:layout_marginTop="7dp">
 
       <TextView
+        android:id="@+id/text_view_name_validation"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:lineSpacingExtra="3.5sp"
         android:textColor="#f12815"
         android:textSize="10.5sp"
-        tools:text="인증번호 6자리를 입력해주세요."
         />
     </LinearLayout>
 
@@ -125,7 +126,8 @@
       android:orientation="horizontal"
       android:weightSum="4">
 
-      <EditText
+      <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
+        android:id="@+id/edit_text_birth_date"
         android:layout_width="0dp"
         android:layout_height="match_parent"
         android:layout_weight="2"
@@ -140,9 +142,9 @@
         android:id="@+id/radio_group_gender"
         android:layout_width="0dp"
         android:layout_height="40dp"
+        android:layout_gravity="right"
         android:layout_weight="2"
         android:gravity="right"
-        android:layout_gravity="right"
         android:orientation="horizontal">
 
         <RadioButton
@@ -195,12 +197,12 @@
       android:layout_marginTop="7dp">
 
       <TextView
+        android:id="@+id/text_view_birth_validation"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:lineSpacingExtra="3.5sp"
         android:textColor="#f12815"
         android:textSize="10.5sp"
-        tools:text="인증번호 6자리를 입력해주세요."
         />
     </LinearLayout>
 
@@ -213,7 +215,7 @@
       android:orientation="vertical">
 
       <CheckBox
-        android:id="@+id/agree_check_all"
+        android:id="@+id/checkbox_all_agree"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_marginBottom="3pt"
@@ -242,143 +244,127 @@
       android:layout_height="wrap_content"
       android:layout_marginBottom="14dp"
       android:layout_marginLeft="24.5dp"
-      android:orientation="horizontal">
+      android:layout_marginRight="24.5dp"
+      android:orientation="horizontal"
+      android:weightSum="10">
 
       <CheckBox
-        android:id="@+id/agree_check0"
-        android:layout_width="match_parent"
+        android:id="@+id/checkbox_agree1"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
-        android:layout_marginBottom="3pt"
+        android:layout_weight="9"
         android:button="@null"
         android:drawableLeft="@drawable/custom_check_box"
-        android:drawablePadding="8dp"
+        android:drawablePadding="8.5dp"
         android:lineSpacingExtra="5.5sp"
-        android:text="@string/phone_identify_agree1"
+        android:text="@string/agree_required"
         android:textColor="#000000"
         android:textSize="14sp"
-        tools:text="[필수] 개인정보 이용 및 제공"
         />
 
-      <TextView
-        android:id="@+id/agree_detail_button0"
+      <ImageView
+        android:id="@+id/button_identify_agree1"
         android:layout_width="0dp"
-        android:layout_height="match_parent"
-        android:layout_marginLeft="5pt"
-        android:layout_marginTop="3pt"
+        android:layout_height="17dp"
+        android:layout_gravity="center"
         android:layout_weight="1"
-        android:text=">"
-        android:textAlignment="center"
-        android:textSize="15dp"
-        />
+        android:src="@drawable/icon_detail_arrow"/>
     </LinearLayout>
 
     <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
+      android:layout_marginBottom="14dp"
       android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
       android:orientation="horizontal"
-      android:weightSum="5"
-      >
+      android:weightSum="10">
 
       <CheckBox
-        android:id="@+id/agree_check1"
-        android:layout_width="match_parent"
+        android:id="@+id/checkbox_agree2"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
-        android:layout_marginBottom="3pt"
+        android:layout_weight="9"
         android:button="@null"
         android:drawableLeft="@drawable/custom_check_box"
-        android:drawablePadding="8dp"
+        android:drawablePadding="8.5dp"
         android:lineSpacingExtra="5.5sp"
+        android:text="@string/agree_required"
         android:textColor="#000000"
         android:textSize="14sp"
-        tools:text="[필수] 고유식별정보 처리 동의"
         />
 
-      <TextView
-        android:id="@+id/agree_detail_button1"
+      <ImageView
+        android:id="@+id/button_identify_agree2"
         android:layout_width="0dp"
-        android:layout_height="match_parent"
-        android:layout_marginLeft="5pt"
-        android:layout_marginTop="3pt"
+        android:layout_height="17dp"
+        android:layout_gravity="center"
         android:layout_weight="1"
-        android:text=">"
-        android:textAlignment="center"
-        android:textSize="15dp"
-        />
+        android:src="@drawable/icon_detail_arrow"/>
     </LinearLayout>
 
     <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
+      android:layout_marginBottom="14dp"
       android:layout_marginLeft="24.5dp"
-      android:layout_marginTop="14dp"
+      android:layout_marginRight="24.5dp"
       android:orientation="horizontal"
-      android:weightSum="5"
-      >
+      android:weightSum="10">
 
       <CheckBox
-        android:id="@+id/agree_check2"
-        android:layout_width="match_parent"
+        android:id="@+id/checkbox_agree3"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
-        android:layout_marginBottom="3pt"
+        android:layout_weight="9"
         android:button="@null"
         android:drawableLeft="@drawable/custom_check_box"
-        android:drawablePadding="8dp"
+        android:drawablePadding="8.5dp"
         android:lineSpacingExtra="5.5sp"
+        android:text="@string/agree_required"
         android:textColor="#000000"
         android:textSize="14sp"
-        tools:text="[필수] 통신사 이용약관 동의"
-
         />
 
-      <TextView
-        android:id="@+id/agree_detail_button2"
+      <ImageView
+        android:id="@+id/button_identify_agree3"
         android:layout_width="0dp"
-        android:layout_height="match_parent"
-        android:layout_marginLeft="5pt"
-        android:layout_marginTop="3pt"
+        android:layout_height="17dp"
+        android:layout_gravity="center"
         android:layout_weight="1"
-        android:text=">"
-        android:textAlignment="center"
-        android:textSize="15dp"
-        />
+        android:src="@drawable/icon_detail_arrow"/>
     </LinearLayout>
 
     <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
+      android:layout_marginBottom="14dp"
       android:layout_marginLeft="24.5dp"
-      android:layout_marginTop="14dp"
+      android:layout_marginRight="24.5dp"
       android:orientation="horizontal"
-      android:weightSum="5"
-      >
+      android:weightSum="10">
 
       <CheckBox
-        android:id="@+id/agree_check3"
-        android:layout_width="match_parent"
+        android:id="@+id/checkbox_agree4"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
-        android:layout_marginBottom="3pt"
+        android:layout_weight="9"
         android:button="@null"
         android:drawableLeft="@drawable/custom_check_box"
-        android:drawablePadding="8dp"
+        android:drawablePadding="8.5dp"
         android:lineSpacingExtra="5.5sp"
+        android:text="@string/agree_required"
         android:textColor="#000000"
         android:textSize="14sp"
-        tools:text="[필수] 서비스 이용약관 동의"
-
         />
 
-      <TextView
-        android:id="@+id/agree_detail_button3"
+      <ImageView
+        android:id="@+id/button_identify_agree4"
         android:layout_width="0dp"
-        android:layout_height="match_parent"
-        android:layout_marginLeft="5pt"
-        android:layout_marginTop="3pt"
+        android:layout_height="17dp"
+        android:layout_gravity="center"
         android:layout_weight="1"
-        android:text=">"
-        android:textAlignment="center"
-        android:textSize="15dp"
-        />
+        android:src="@drawable/icon_detail_arrow"/>
     </LinearLayout>
 
     <LinearLayout
@@ -445,7 +431,8 @@
       android:orientation="horizontal"
       android:weightSum="5">
 
-      <EditText
+      <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
+        android:id="@+id/edit_text_phone_number"
         android:layout_width="0dp"
         android:layout_height="match_parent"
         android:layout_weight="3"
@@ -492,12 +479,12 @@
       android:layout_marginTop="7dp">
 
       <TextView
+        android:id="@+id/text_view_phone_number_validation"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:lineSpacingExtra="3.5sp"
         android:textColor="#f12815"
         android:textSize="10.5sp"
-        tools:text="휴대전화 번호 뒤 7~8자리를 입력해주세요."
         />
     </LinearLayout>
 
@@ -507,15 +494,46 @@
       android:layout_marginLeft="24.5dp"
       android:layout_marginRight="24.5dp"
       android:layout_marginTop="25.5dp"
-      android:orientation="vertical">
+      android:orientation="horizontal">
 
-      <TextView
-        android:layout_width="wrap_content"
+      <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
+        android:id="@+id/edit_text_authorized_number"
+        android:layout_width="0dp"
+        android:layout_weight="6"
         android:layout_height="wrap_content"
+        android:background="@null"
         android:lineSpacingExtra="5.5sp"
         android:text="@string/phone_identify_six_characters"
         android:textColor="#c5c5c5"
         android:textSize="14sp"/>
+
+      <ImageView
+        android:layout_width="0dp"
+        android:layout_weight="1"
+        android:layout_height="15dp"
+        android:layout_gravity="center"
+        android:src="@drawable/icon_input_clock"
+
+        />
+      <TextView
+        android:layout_width="0dp"
+        android:layout_weight="1"
+        android:layout_height="wrap_content"
+        android:textSize="14sp"
+        android:textColor="#999999"
+        android:lineSpacingExtra="5.5sp"
+        tools:text="2:55"
+        />
+      <TextView
+        android:layout_width="0dp"
+        android:layout_weight="2"
+        android:layout_height="wrap_content"
+        android:textSize="12sp"
+        android:textColor="#000000"
+        android:lineSpacingExtra="3.5sp"
+        android:gravity="end"
+        tools:text="시간연장"
+        />
     </LinearLayout>
 
     <LinearLayout
@@ -536,28 +554,29 @@
     <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
-      android:layout_marginBottom="11.5dp"
+      android:layout_marginBottom="67dp"
       android:layout_marginLeft="24.5dp"
       android:layout_marginRight="24.5dp"
       android:layout_marginTop="7dp">
 
       <TextView
+        android:id="@+id/text_authorized_number_validation"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:lineSpacingExtra="3.5sp"
         android:textColor="#f12815"
         android:textSize="10.5sp"
-        tools:text="인증번호 6자리를 입력해주세요."
         />
     </LinearLayout>
 
 
     <Button
-      android:id="@+id/sign_up_mobile_authorization_button"
+      android:id="@+id/button_phone_identify_confirm"
       style="?android:attr/borderlessButtonStyle"
       android:layout_width="67dp"
       android:layout_height="38.5dp"
       android:layout_gravity="center"
+      android:layout_marginBottom="34.5dp"
       android:background="@drawable/sign_up_button"
       android:lineSpacingExtra="3.5sp"
       android:text="@string/phone_identify_confirm"

二进制
app/src/main/res/mipmap-xxxhdpi/icon_input_clock.png