فهرست منبع

[회원가입][Common] 본인인증 GUI 적용 수정중

Hasemi 7 سال پیش
والد
کامیت
724d8bc8ea
1فایلهای تغییر یافته به همراه452 افزوده شده و 111 حذف شده
  1. 452 111
      app/src/main/res/layout/fragment_sign_up_phone_authorization.xml

+ 452 - 111
app/src/main/res/layout/fragment_sign_up_phone_authorization.xml

@@ -1,155 +1,496 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
+<ScrollView
   xmlns:android="http://schemas.android.com/apk/res/android"
+  xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
-  android:orientation="vertical">
+  >
 
   <LinearLayout
     android:layout_width="match_parent"
-    android:layout_height="wrap_content"
-    android:layout_marginLeft="28dp"
-    android:layout_marginTop="60dp"
+    android:layout_height="match_parent"
     android:orientation="vertical">
 
-    <TextView
+    <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
-      android:text="휴대폰 인증"
-      android:textSize="24dp"
-      />
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginTop="50dp"
+      android:orientation="horizontal">
 
-  </LinearLayout>
+      <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:lineSpacingExtra="8sp"
+        android:text="휴대폰 인증"
+        android:textColor="#000000"
+        android:textSize="21sp"
+        />
 
-  <LinearLayout
-    android:layout_width="match_parent"
-    android:layout_height="wrap_content"
-    android:layout_marginLeft="28dp"
-    android:layout_marginTop="20dp"
-    android:orientation="horizontal"
-    android:weightSum="4">
+    </LinearLayout>
 
-    <EditText
-      android:layout_width="0dp"
+    <LinearLayout
+      android:layout_width="match_parent"
       android:layout_height="wrap_content"
-      android:layout_weight="2"
-      android:background="@null"
-      android:hint="@string/phone_identify_name_hint"
-      />
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="29dp"
+      android:layout_marginTop="32dp"
+      android:orientation="horizontal"
+      android:weightSum="4">
 
-    <RadioGroup
-      android:id="@+id/radio_group_nationality"
-      android:layout_width="0dp"
-      android:layout_height="40dp"
-      android:layout_weight="2"
-      android:gravity="right"
-      android:orientation="horizontal">
+      <EditText
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_weight="2"
+        android:background="@null"
+        android:hint="@string/phone_identify_name_hint"
+        android:lineSpacingExtra="5.5sp"
+        android:textColor="#c5c5c5"
+        android:textSize="14sp"
+        />
 
-      <RadioButton
-        android:id="@+id/radio_button_local"
-        android:layout_width="wrap_content"
+      <RadioGroup
+        android:id="@+id/radio_group_nationality"
+        android:layout_width="0dp"
         android:layout_height="40dp"
-        android:button="@null"
-        android:checked="true"
-        android:drawableLeft="@drawable/radio_selector"
-        android:drawablePadding="5dp"
-        android:gravity="center"
-        android:padding="8dp"
-        android:text="@string/phone_identify_local"/>
-
-      <RadioButton
-        android:id="@+id/radio_button_foreign"
-        android:layout_width="wrap_content"
+        android:layout_weight="2"
+        android:gravity="right"
+        android:orientation="horizontal">
+
+        <RadioButton
+          android:id="@+id/radio_button_local"
+          android:layout_width="wrap_content"
+          android:layout_height="40dp"
+          android:button="@null"
+          android:checked="true"
+          android:drawableLeft="@drawable/radio_selector"
+          android:drawablePadding="5dp"
+          android:gravity="center"
+          android:padding="8dp"
+          android:text="@string/phone_identify_local"/>
+
+        <RadioButton
+          android:id="@+id/radio_button_foreign"
+          android:layout_width="wrap_content"
+          android:layout_height="40dp"
+          android:button="@null"
+          android:checked="true"
+          android:drawableLeft="@drawable/radio_selector"
+          android:drawablePadding="5dp"
+          android:gravity="center"
+          android:padding="8dp"
+          android:text="@string/phone_identify_foreign"/>
+      </RadioGroup>
+
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:orientation="vertical">
+
+      <View
+        android:layout_width="match_parent"
+        android:layout_height="1dp"
+        android:background="#e5e5e5"/>
+
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="28dp"
+      android:layout_marginTop="20dp"
+      android:orientation="horizontal"
+      android:weightSum="4">
+
+      <EditText
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_weight="2"
+        android:background="@null"
+        android:hint="@string/phone_identify_birth_hint"
+        android:lineSpacingExtra="5.5sp"
+        android:textColor="#c5c5c5"
+        android:textSize="14sp"
+        />
+
+      <RadioGroup
+        android:id="@+id/radio_group_gender"
+        android:layout_width="0dp"
         android:layout_height="40dp"
+        android:layout_marginRight="29dp"
+        android:layout_weight="2"
+        android:gravity="right"
+        android:orientation="horizontal">
+
+        <RadioButton
+          android:id="@+id/radio_button_male"
+          android:layout_width="wrap_content"
+          android:layout_height="40dp"
+          android:button="@null"
+          android:checked="true"
+          android:drawableLeft="@drawable/radio_selector"
+          android:drawablePadding="5dp"
+          android:gravity="center"
+          android:padding="8dp"
+          android:text="@string/phone_identify_male"/>
+
+        <RadioButton
+          android:id="@+id/radio_button_female"
+          android:layout_width="wrap_content"
+          android:layout_height="40dp"
+          android:button="@null"
+          android:checked="true"
+          android:drawableLeft="@drawable/radio_selector"
+          android:drawablePadding="5dp"
+          android:gravity="center"
+          android:padding="8dp"
+          android:text="@string/phone_identify_female"/>
+      </RadioGroup>
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+
+      android:orientation="vertical">
+
+      <View
+        android:layout_width="match_parent"
+        android:layout_height="1dp"
+        android:background="#e5e5e5"/>
+
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:layout_marginTop="53dp"
+      android:orientation="vertical">
+
+      <CheckBox
+        android:id="@+id/agree_check_all"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginBottom="3pt"
         android:button="@null"
-        android:checked="true"
-        android:drawableLeft="@drawable/radio_selector"
-        android:drawablePadding="5dp"
-        android:gravity="center"
-        android:padding="8dp"
-        android:text="@string/phone_identify_foreign"/>
-    </RadioGroup>
+        android:drawableLeft="@drawable/custom_check_box"
+        android:drawablePadding="8dp"
+        android:lineSpacingExtra="5.5sp"
+        android:text="@string/phone_identify_all_agree"
+        android:textColor="#000000"
+        android:textIsSelectable="false"
+        android:textSize="14sp"
+        />
 
-  </LinearLayout>
+      <View
+        android:layout_width="match_parent"
+        android:layout_height="1dp"
+        android:layout_centerInParent="true"
+        android:layout_marginBottom="17.5dp"
+        android:layout_marginTop="17.5dp"
+        android:background="#ebebeb"/>
+
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginBottom="14dp"
+      android:layout_marginLeft="24.5dp"
+      android:orientation="horizontal">
+
+      <CheckBox
+        android:id="@+id/agree_check0"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginBottom="3pt"
+        android:button="@null"
+        android:drawableLeft="@drawable/custom_check_box"
+        android:drawablePadding="8dp"
+        android:lineSpacingExtra="5.5sp"
+        android:text="@string/phone_identify_agree1"
+        android:textColor="#000000"
+        android:textSize="14sp"
+        tools:text="[필수] 개인정보 이용 및 제공"
+        />
+
+      <TextView
+        android:id="@+id/agree_detail_button0"
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_marginLeft="5pt"
+        android:layout_marginTop="3pt"
+        android:layout_weight="1"
+        android:text=">"
+        android:textAlignment="center"
+        android:textSize="15dp"
+        />
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:orientation="horizontal"
+      android:weightSum="5"
+      >
+
+      <CheckBox
+        android:id="@+id/agree_check1"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginBottom="3pt"
+        android:button="@null"
+        android:drawableLeft="@drawable/custom_check_box"
+        android:drawablePadding="8dp"
+        android:lineSpacingExtra="5.5sp"
+        android:textColor="#000000"
+        android:textSize="14sp"
+        tools:text="[필수] 고유식별정보 처리 동의"
+        />
+
+      <TextView
+        android:id="@+id/agree_detail_button1"
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_marginLeft="5pt"
+        android:layout_marginTop="3pt"
+        android:layout_weight="1"
+        android:text=">"
+        android:textAlignment="center"
+        android:textSize="15dp"
+        />
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginTop="14dp"
+      android:orientation="horizontal"
+      android:weightSum="5"
+      >
+
+      <CheckBox
+        android:id="@+id/agree_check2"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginBottom="3pt"
+        android:button="@null"
+        android:drawableLeft="@drawable/custom_check_box"
+        android:drawablePadding="8dp"
+        android:lineSpacingExtra="5.5sp"
+        android:textColor="#000000"
+        android:textSize="14sp"
+        tools:text="[필수] 통신사 이용약관 동의"
+
+        />
+
+      <TextView
+        android:id="@+id/agree_detail_button2"
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_marginLeft="5pt"
+        android:layout_marginTop="3pt"
+        android:layout_weight="1"
+        android:text=">"
+        android:textAlignment="center"
+        android:textSize="15dp"
+        />
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginTop="14dp"
+      android:orientation="horizontal"
+      android:weightSum="5"
+      >
+
+      <CheckBox
+        android:id="@+id/agree_check3"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginBottom="3pt"
+        android:button="@null"
+        android:drawableLeft="@drawable/custom_check_box"
+        android:drawablePadding="8dp"
+        android:lineSpacingExtra="5.5sp"
+        android:textColor="#000000"
+        android:textSize="14sp"
+        tools:text="[필수] 서비스 이용약관 동의"
+
+        />
+
+      <TextView
+        android:id="@+id/agree_detail_button3"
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_marginLeft="5pt"
+        android:layout_marginTop="3pt"
+        android:layout_weight="1"
+        android:text=">"
+        android:textAlignment="center"
+        android:textSize="15dp"
+        />
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginTop="28.5dp"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:orientation="horizontal"
+      android:weightSum="4">
 
 
+      <Spinner
+        android:id="@+id/spinner_mobile_company"
+        android:layout_width="0dp"
+        android:layout_height="45dp"
+        android:layout_weight="2"
+        android:textSize="14sp"
+        android:textColor="#000000"
+        android:lineSpacingExtra="5.5sp"
+        android:entries="@array/mobile_companies"/>
+
+      <Spinner
+        android:id="@+id/spinner_first_phone_number"
+        android:layout_width="0dp"
+        android:layout_height="45dp"
+        android:layout_weight="2"
+        android:textSize="14sp"
+        android:textColor="#000000"
+        android:lineSpacingExtra="5.5sp"
+        android:entries="@array/phone_numbers"/>
+
+    </LinearLayout>
   <LinearLayout
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
-    android:layout_marginLeft="28dp"
-    android:layout_marginTop="20dp"
+    android:layout_marginLeft="24.5dp"
+    android:layout_marginRight="24.5dp"
     android:orientation="horizontal"
     android:weightSum="4">
 
-    <EditText
+    <View
       android:layout_width="0dp"
-      android:layout_height="wrap_content"
+      android:layout_marginRight="12dp"
       android:layout_weight="2"
-      android:background="@null"
-      android:hint="@string/phone_identify_birth_hint"
-      />
+      android:layout_height="1dp"
+      android:background="#e5e5e5"/>
 
-    <RadioGroup
-      android:id="@+id/radio_group_gender"
+    <View
       android:layout_width="0dp"
-      android:layout_height="40dp"
       android:layout_weight="2"
-      android:gravity="right"
-      android:orientation="horizontal">
+      android:layout_height="1dp"
+      android:background="#e5e5e5"/>
 
-      <RadioButton
-        android:id="@+id/radio_button_male"
-        android:layout_width="wrap_content"
-        android:layout_height="40dp"
-        android:button="@null"
-        android:checked="true"
-        android:drawableLeft="@drawable/radio_selector"
-        android:drawablePadding="5dp"
-        android:gravity="center"
-        android:padding="8dp"
-        android:text="@string/phone_identify_male"/>
-
-      <RadioButton
-        android:id="@+id/radio_button_female"
-        android:layout_width="wrap_content"
-        android:layout_height="40dp"
-        android:button="@null"
-        android:checked="true"
-        android:drawableLeft="@drawable/radio_selector"
-        android:drawablePadding="5dp"
-        android:gravity="center"
-        android:padding="8dp"
-        android:text="@string/phone_identify_female"/>
-    </RadioGroup>
   </LinearLayout>
-  <LinearLayout
-    android:layout_marginLeft="28dp"
-    android:layout_marginTop="61dp"
-    android:layout_width="match_parent"
-    android:orientation="vertical"
-    android:layout_height="wrap_content">
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:layout_marginTop="25.5dp"
+      android:weightSum="5"
+      android:orientation="horizontal">
+
+      <EditText
+        android:layout_width="0dp"
+        android:layout_height="match_parent"
+        android:layout_weight="3"
+        android:background="@null"
+        android:hint="@string/phone_identify_phone_hint"
+        android:lineSpacingExtra="5.5sp"
+        android:textColor="#c5c5c5"
+        android:textSize="14sp"
+        />
+
+      <TextView
+        android:layout_width="0dp"
+        android:layout_weight="2"
+        android:layout_height="wrap_content"
+        android:textSize="12sp"
+        android:textColor="#888888"
+        android:lineSpacingExtra="3.5sp"
+        android:gravity="end"
+        android:text="인증번호 발송"
+        />
+
+    </LinearLayout>
 
-    <CheckBox
-      android:id="@+id/agree_check_all"
+    <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
-      android:layout_marginBottom="3pt"
-      android:textIsSelectable="false"
-      android:text="@string/phone_identify_all_agree"
-      android:textSize="15dp"
-      android:drawableLeft="@drawable/custom_check_box"
-      android:drawablePadding="8dp"
-      android:button="@null"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:layout_marginTop="11.3dp"
+      android:orientation="vertical">
 
-      />
+      <View
+        android:layout_width="match_parent"
+        android:layout_height="1dp"
+        android:background="#e5e5e5"/>
 
-    <View
+    </LinearLayout>
+
+    <LinearLayout
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:layout_marginTop="25.5dp"
+      android:orientation="vertical">
+
+      <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:textSize="14sp"
+        android:textColor="#c5c5c5"
+        android:lineSpacingExtra="5.5sp"
+        android:text="@string/phone_identify_six_characters"/>
+    </LinearLayout>
+
+    <LinearLayout
       android:layout_width="match_parent"
-      android:layout_height="2dp"
-      android:layout_centerInParent="true"
-      android:layout_marginLeft="5pt"
-      android:layout_marginRight="5pt"
-      android:background="@color/darkGrey"/>
+      android:layout_height="wrap_content"
+      android:layout_marginLeft="24.5dp"
+      android:layout_marginRight="24.5dp"
+      android:layout_marginBottom="34.5dp"
+      android:layout_marginTop="11.3dp"
+      android:orientation="vertical">
+
+      <View
+        android:layout_width="match_parent"
+        android:layout_height="1dp"
+        android:background="#e5e5e5"/>
+
+    </LinearLayout>
+
+
+    <Button
+      android:layout_gravity="center"
+      android:id="@+id/sign_up_mobile_authorization_button"
+      style="?android:attr/borderlessButtonStyle"
+      android:layout_width="67dp"
+      android:layout_height="38.5dp"
+      android:background="@drawable/sign_up_button"
+      android:text="@string/phone_identify_confirm"
+      android:textSize="12sp"
+      android:textColor="#000000"
+      android:lineSpacingExtra="3.5sp"
+      />
 
   </LinearLayout>
-</LinearLayout>
+</ScrollView>