|
|
@@ -1,368 +1,348 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<layout>
|
|
|
|
|
|
- <data>
|
|
|
- <variable
|
|
|
- name="model"
|
|
|
- type="kr.co.zumo.app.lifeplus.view.presenter.signup.SignUpUserViewModel"/>
|
|
|
+<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">
|
|
|
|
|
|
- </data>
|
|
|
-
|
|
|
- <ScrollView
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5pt"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <TextView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="5pt"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_margin="5pt"
|
|
|
+ android:text="@string/phone_identify_name"
|
|
|
+ android:textSize="20dp"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_margin="5pt"
|
|
|
- android:text="@string/phone_identify_name"
|
|
|
- android:textSize="20dp"/>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="10pt"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+
|
|
|
+ <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
|
|
|
+ android:id="@+id/edit_text_name"
|
|
|
+ android:layout_width="165dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="10pt"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginRight="-15pt"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:background="@drawable/input_border"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:hint="@string/phone_identify_name_hint"
|
|
|
+ android:inputType="textPersonName"
|
|
|
+ android:padding="3pt"/>
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/radio_group_nationality"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginRight="50dp"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:background="@drawable/swicth_out_line"
|
|
|
+ android:checkedButton="@+id/offer"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/phone_identify_input_name"
|
|
|
- android:layout_width="165dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:layout_marginRight="-15pt"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/input_border"
|
|
|
- android:hint="@string/phone_identify_name_hint"
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_button_local"
|
|
|
+ android:layout_width="92dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
+ android:layout_marginLeft="1dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/toggle_widget_background"
|
|
|
+ android:button="@null"
|
|
|
+ android:checked="true"
|
|
|
+ android:gravity="center"
|
|
|
android:padding="3pt"
|
|
|
- android:text="@={model.name}"
|
|
|
- />
|
|
|
+ android:text="@string/phone_identify_local"/>
|
|
|
|
|
|
- <RadioGroup
|
|
|
- android:id="@+id/toggle"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_button_foreign"
|
|
|
+ android:layout_width="85dp"
|
|
|
android:layout_height="40dp"
|
|
|
- android:layout_marginLeft="50dp"
|
|
|
- android:layout_marginRight="50dp"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/swicth_out_line"
|
|
|
- android:checkedButton="@+id/offer"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/search"
|
|
|
- android:layout_width="92dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginBottom="1dp"
|
|
|
- android:layout_marginLeft="1dp"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/toggle_widget_background"
|
|
|
- android:button="@null"
|
|
|
- android:checked="true"
|
|
|
- android:onClick="@{()-> model.switchNationality(@string/phone_identify_local)}"
|
|
|
- android:gravity="center"
|
|
|
- android:padding="3pt"
|
|
|
- android:text="@string/phone_identify_local"/>
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/offer"
|
|
|
- android:layout_width="85dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginBottom="1dp"
|
|
|
- android:layout_marginRight="1dp"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/toggle_widget_background"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:onClick="@{()-> model.switchNationality(@string/phone_identify_foreign)}"
|
|
|
- android:padding="3pt"
|
|
|
- android:text="@string/phone_identify_foreign"/>
|
|
|
- </RadioGroup>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
+ android:layout_marginRight="1dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/toggle_widget_background"
|
|
|
+ android:button="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="3pt"
|
|
|
+ android:text="@string/phone_identify_foreign"/>
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView10"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:layout_margin="5pt"
|
|
|
+ android:text="@string/phone_identify_birth"
|
|
|
+ android:textSize="20dp"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="15pt"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+
|
|
|
+ <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
|
|
|
+ android:id="@+id/edit_text_birth_date"
|
|
|
+ android:layout_width="165dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginRight="-15pt"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:background="@drawable/input_border"
|
|
|
+ android:hint="@string/phone_identify_birth_hint"
|
|
|
+ android:inputType="number"
|
|
|
+ android:padding="3pt"/>
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/radio_group_gender"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginRight="50dp"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:background="@drawable/swicth_out_line"
|
|
|
+ android:checkedButton="@+id/offer"
|
|
|
+ android:orientation="horizontal"
|
|
|
>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/textView10"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_margin="5pt"
|
|
|
- android:text="@string/phone_identify_birth"
|
|
|
- android:textSize="20dp"/>
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_button_male"
|
|
|
+ android:layout_width="92dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
+ android:layout_marginLeft="1dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/toggle_widget_background"
|
|
|
+ android:button="@null"
|
|
|
+ android:checked="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="3pt"
|
|
|
+ android:text="@string/phone_identify_male"/>
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_button_female"
|
|
|
+ android:layout_width="85dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
+ android:layout_marginRight="1dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/toggle_widget_background"
|
|
|
+ android:button="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="3pt"
|
|
|
+ android:text="@string/phone_identify_female"/>
|
|
|
+ </RadioGroup>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="10pt"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/checkbox_all_agree"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="15pt"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginBottom="3pt"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:text="@string/phone_identify_all_agree"
|
|
|
+ android:textIsSelectable="false"
|
|
|
+ android:textSize="20dp"/>
|
|
|
|
|
|
+ <View
|
|
|
+ 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"/>
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/birth"
|
|
|
- android:layout_width="165dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:layout_marginRight="-15pt"
|
|
|
- android:layout_weight="2"
|
|
|
- android:text="@{String.valueOf(model.birthDate)}"
|
|
|
- android:background="@drawable/input_border"
|
|
|
- android:hint="@string/phone_identify_birth_hint"
|
|
|
- android:padding="3pt"/>
|
|
|
-
|
|
|
- <RadioGroup
|
|
|
- android:id="@+id/toggle2"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginLeft="50dp"
|
|
|
- android:layout_marginRight="50dp"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/swicth_out_line"
|
|
|
- android:checkedButton="@+id/offer"
|
|
|
- android:orientation="horizontal"
|
|
|
- >
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/man"
|
|
|
- android:layout_width="92dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginBottom="1dp"
|
|
|
- android:layout_marginLeft="1dp"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/toggle_widget_background"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:padding="3pt"
|
|
|
- android:checked="true"
|
|
|
- android:onClick="@{()-> model.switchGender(@string/phone_identify_male)}"
|
|
|
- android:text="@string/phone_identify_male"/>
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/woman"
|
|
|
- android:layout_width="85dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginBottom="1dp"
|
|
|
- android:layout_marginRight="1dp"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/toggle_widget_background"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:padding="3pt"
|
|
|
- android:onClick="@{()-> model.switchGender(@string/phone_identify_female)}"
|
|
|
- android:text="@string/phone_identify_female"/>
|
|
|
- </RadioGroup>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/checkbox_agree1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="10pt"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/identifyChk1"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="3pt"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:text="@string/phone_identify_all_agree"
|
|
|
- android:textIsSelectable="false"
|
|
|
- android:textSize="20dp"/>
|
|
|
-
|
|
|
- <View
|
|
|
- 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"/>
|
|
|
-
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/identifyChk2"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:layout_marginTop="3pt"
|
|
|
- android:onCheckedChanged="@{(v, checked) -> model.onCheckedChanged1(checked)}"
|
|
|
- android:text="@string/phone_identify_agree1"
|
|
|
- android:textSize="20dp"/>
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/identifyChk3"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:text="@string/phone_identify_agree2"
|
|
|
- android:onCheckedChanged="@{(v, checked) -> model.onCheckedChanged2(checked)}"
|
|
|
- android:textSize="20dp"/>
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/identifyChk4"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:onCheckedChanged="@{(v, checked) -> model.onCheckedChanged3(checked)}"
|
|
|
- android:text="@string/phone_identify_agree3"
|
|
|
- android:textSize="20dp"/>
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/identifyChk5"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:onCheckedChanged="@{(v, checked) -> model.onCheckedChanged4(checked)}"
|
|
|
- android:text="@string/phone_identify_agree4"
|
|
|
- android:textSize="20dp"/>
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginTop="3pt"
|
|
|
+ android:text="@string/phone_identify_agree1"
|
|
|
+ android:textSize="20dp"/>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/checkbox_agree2"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:weightSum="4">
|
|
|
-
|
|
|
-
|
|
|
- <Spinner
|
|
|
- android:id="@+id/spinner"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:layout_marginRight="5pt"
|
|
|
- android:layout_weight="2"
|
|
|
- android:selectedItemPosition="@={model.mobileCompany}"
|
|
|
- android:entries="@array/mobile_company"/>
|
|
|
-
|
|
|
- <Spinner
|
|
|
- android:id="@+id/spinner2"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="5pt"
|
|
|
- android:layout_weight="2"
|
|
|
- android:selectedItemPosition="@={model.firstPhoneNumber}"
|
|
|
- android:entries="@array/phone_number"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:text="@string/phone_identify_agree2"
|
|
|
+ android:textSize="20dp"/>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/checkbox_agree3"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/phone"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_margin="5pt"
|
|
|
- android:background="@drawable/input_border"
|
|
|
- android:hint="@string/phone_identify_phone_hint"
|
|
|
- android:text="@{model.phoneNumber}"
|
|
|
- android:padding="3pt"/>
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/button_identify_number_send"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="5pt"
|
|
|
- android:layout_marginLeft="5pt"
|
|
|
- android:layout_marginRight="5pt"
|
|
|
- android:text="@string/phone_identify_submit"
|
|
|
- android:onClick="@{()->model.onSendAuthorizationCodeButtonClick()}"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:text="@string/phone_identify_agree3"
|
|
|
+ android:textSize="20dp"/>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/checkbox_agree4"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:weightSum="4">
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/identifyNumber"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_margin="5pt"
|
|
|
- android:layout_weight="3"
|
|
|
- android:background="@drawable/input_border"
|
|
|
- android:text="@{model.authorizedNumber}"
|
|
|
- android:hint="@string/phone_identify_six_characters"
|
|
|
-
|
|
|
- android:padding="3pt"/>
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/button_phone_identify_confirm"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:layout_marginBottom="5pt"
|
|
|
- android:layout_marginRight="5pt"
|
|
|
- android:layout_marginTop="5pt"
|
|
|
- android:layout_weight="1"
|
|
|
- android:onClick="@{()->model.onConfirmButtonClick()}"
|
|
|
- android:text="@string/phone_identify_confirm"
|
|
|
- />
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:text="@string/phone_identify_agree4"
|
|
|
+ android:textSize="20dp"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="4">
|
|
|
+
|
|
|
+
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/spinner_mobile_company"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginRight="5pt"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:entries="@array/mobile_company"/>
|
|
|
+
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/spinner_first_phone_number"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="5pt"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:entries="@array/phone_number"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
|
|
|
+ android:id="@+id/edit_text_phone_number"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:weightSum="5">
|
|
|
+ android:layout_margin="5pt"
|
|
|
+ android:background="@drawable/input_border"
|
|
|
+ android:hint="@string/phone_identify_phone_hint"
|
|
|
+ android:inputType="number"
|
|
|
+ android:padding="3pt"/>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button_identify_number_send"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="5pt"
|
|
|
+ android:layout_marginLeft="5pt"
|
|
|
+ android:layout_marginRight="5pt"
|
|
|
+ android:text="@string/phone_identify_submit"
|
|
|
+ />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_margin="5pt"
|
|
|
- android:layout_weight="3"
|
|
|
- android:padding="3pt"
|
|
|
- android:text="@string/phone_identify_time"/>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/button_phone_identify_time_delay"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="2"
|
|
|
- android:text="@string/phone_identify_time_delay"
|
|
|
- android:onClick="@{()->model.onTimeDelayButtonClick()}"
|
|
|
- />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="4">
|
|
|
+
|
|
|
+ <kr.co.zumo.app.lifeplus.view.custom.ClearEditText
|
|
|
+ android:id="@+id/edit_text_authorized_number"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="5pt"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:background="@drawable/input_border"
|
|
|
+ android:hint="@string/phone_identify_six_characters"
|
|
|
+ android:inputType="number"
|
|
|
+
|
|
|
+ android:padding="3pt"/>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button_phone_identify_confirm"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_marginBottom="5pt"
|
|
|
+ android:layout_marginRight="5pt"
|
|
|
+ android:layout_marginTop="5pt"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/phone_identify_confirm"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="5">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_view_phone_identify_time"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="5pt"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:padding="3pt"
|
|
|
+ android:text="@string/phone_identify_time"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button_phone_identify_time_delay"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:text="@string/phone_identify_time_delay"
|
|
|
+ android:visibility="gone"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
- </ScrollView>
|
|
|
-</layout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</ScrollView>
|