|
@@ -2,20 +2,21 @@
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
|
|
- android:background="@color/bg_gray">
|
|
|
|
|
|
|
+ android:background="@color/bg_gray"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
- <include
|
|
|
|
|
- layout="@layout/title"/>
|
|
|
|
|
|
|
+ <include layout="@layout/title" />
|
|
|
|
|
|
|
|
<ScrollView
|
|
<ScrollView
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:scrollbars="none">
|
|
android:scrollbars="none">
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:id="@+id/show_change_layout"
|
|
android:id="@+id/show_change_layout"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -28,37 +29,38 @@
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
android:layout_marginLeft="@dimen/content_padding_100"
|
|
android:layout_marginLeft="@dimen/content_padding_100"
|
|
|
android:layout_marginRight="@dimen/content_padding_100"
|
|
android:layout_marginRight="@dimen/content_padding_100"
|
|
|
- android:layout_marginTop="@dimen/content_padding_35"
|
|
|
|
|
- android:layout_marginBottom="5dp"/>
|
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/content_padding_35" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/tel_tv"
|
|
android:id="@+id/tel_tv"
|
|
|
|
|
+ style="@style/txt_style_12"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:text=""
|
|
|
|
|
- style="@style/txt_style_12"
|
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginTop="@dimen/content_padding_30"
|
|
android:layout_marginTop="@dimen/content_padding_30"
|
|
|
- android:layout_gravity="center"/>
|
|
|
|
|
|
|
+ android:text="" />
|
|
|
|
|
+
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ style="@style/txt_style_12"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/no_bind_tel_notice_text"
|
|
|
|
|
- style="@style/txt_style_12"
|
|
|
|
|
- android:layout_marginTop="@dimen/content_padding_10"
|
|
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginBottom="@dimen/content_padding_10"
|
|
android:layout_marginBottom="@dimen/content_padding_10"
|
|
|
- android:layout_gravity="center"/>
|
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/content_padding_10"
|
|
|
|
|
+ android:text="@string/no_bind_tel_notice_text" />
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
android:layout_marginLeft="18dp"
|
|
android:layout_marginLeft="18dp"
|
|
|
android:layout_marginRight="18dp"
|
|
android:layout_marginRight="18dp"
|
|
|
android:layout_marginTop="@dimen/content_padding_big"
|
|
android:layout_marginTop="@dimen/content_padding_big"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_small">
|
|
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatEditText
|
|
<android.support.v7.widget.AppCompatEditText
|
|
|
android:id="@+id/phone_et_code_old"
|
|
android:id="@+id/phone_et_code_old"
|
|
@@ -68,9 +70,10 @@
|
|
|
android:layout_weight="2"
|
|
android:layout_weight="2"
|
|
|
android:hint="请输入验证码"
|
|
android:hint="请输入验证码"
|
|
|
android:inputType="number"
|
|
android:inputType="number"
|
|
|
- android:paddingLeft="@dimen/content_padding_big"
|
|
|
|
|
android:maxLength="6"
|
|
android:maxLength="6"
|
|
|
- android:textSize="@dimen/text_size_3"/>
|
|
|
|
|
|
|
+ android:paddingLeft="@dimen/content_padding_big"
|
|
|
|
|
+ android:textSize="@dimen/text_size_3" />
|
|
|
|
|
+
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/phone_btn_code_old"
|
|
android:id="@+id/phone_btn_code_old"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
@@ -80,16 +83,17 @@
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:text="@string/get_captcha"
|
|
android:text="@string/get_captcha"
|
|
|
- android:textColor="@color/txt_bule"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ android:textColor="@color/txt_bule" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
+
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/sure_change_tv"
|
|
android:id="@+id/sure_change_tv"
|
|
|
style="@style/style_button"
|
|
style="@style/style_button"
|
|
|
- android:text="更换手机号"/>
|
|
|
|
|
|
|
+ android:text="更换手机号" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:id="@+id/change_phone_layout"
|
|
android:id="@+id/change_phone_layout"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -100,47 +104,66 @@
|
|
|
android:id="@+id/phone_tip_tv"
|
|
android:id="@+id/phone_tip_tv"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
android:text="为了避免机器刷单,请绑定手机号后领取任务奖励"
|
|
android:text="为了避免机器刷单,请绑定手机号后领取任务奖励"
|
|
|
android:textColor="@color/black_444444"
|
|
android:textColor="@color/black_444444"
|
|
|
android:textSize="11dp"
|
|
android:textSize="11dp"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
|
|
- android:visibility="gone"/>
|
|
|
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_20"
|
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginLeft="12dp"
|
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginRight="12dp"
|
|
|
android:layout_marginTop="@dimen/content_padding_13"
|
|
android:layout_marginTop="@dimen/content_padding_13"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_20"
|
|
|
|
|
android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
- <android.support.v7.widget.AppCompatEditText
|
|
|
|
|
- android:id="@+id/phone_et_account"
|
|
|
|
|
- style="@style/edt_style"
|
|
|
|
|
- android:inputType="phone"
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/edt_heigh_default"
|
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_margin="@dimen/content_padding_small"
|
|
android:layout_margin="@dimen/content_padding_small"
|
|
|
- android:hint="请输入要绑定的手机号"
|
|
|
|
|
- android:paddingLeft="@dimen/content_padding_big"
|
|
|
|
|
- android:maxLength="11"/>
|
|
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/phone_icon_iv"
|
|
|
|
|
+ android:layout_width="@dimen/icon_heigh_default"
|
|
|
|
|
+ android:layout_height="@dimen/icon_heigh_default"
|
|
|
|
|
+ android:layout_marginStart="9dp"
|
|
|
|
|
+ android:src="@mipmap/icon"/>
|
|
|
|
|
+ <android.support.v7.widget.AppCompatEditText
|
|
|
|
|
+ android:id="@+id/phone_et_account"
|
|
|
|
|
+ style="@style/edt_style"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="@dimen/edt_heigh_default"
|
|
|
|
|
+ android:hint="请输入要绑定的手机号"
|
|
|
|
|
+ android:inputType="phone"
|
|
|
|
|
+ android:maxLength="11"
|
|
|
|
|
+ android:layout_marginStart="@dimen/content_padding_small"/>
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="1px"
|
|
android:layout_height="1px"
|
|
|
- android:background="@color/white_bg_line"
|
|
|
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginLeft="15dp"
|
|
|
android:layout_marginRight="15dp"
|
|
android:layout_marginRight="15dp"
|
|
|
- />
|
|
|
|
|
|
|
+ android:background="@color/white_bg_line" />
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="@dimen/content_padding_small"
|
|
android:layout_margin="@dimen/content_padding_small"
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- >
|
|
|
|
|
-
|
|
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/code_icon_iv"
|
|
|
|
|
+ android:layout_width="@dimen/icon_heigh_default"
|
|
|
|
|
+ android:layout_height="@dimen/icon_heigh_default"
|
|
|
|
|
+ android:layout_marginStart="9dp"
|
|
|
|
|
+ android:src="@mipmap/icon"/>
|
|
|
<android.support.v7.widget.AppCompatEditText
|
|
<android.support.v7.widget.AppCompatEditText
|
|
|
android:id="@+id/phone_et_code"
|
|
android:id="@+id/phone_et_code"
|
|
|
style="@style/edt_style"
|
|
style="@style/edt_style"
|
|
@@ -149,9 +172,10 @@
|
|
|
android:layout_weight="2"
|
|
android:layout_weight="2"
|
|
|
android:hint="请输入验证码"
|
|
android:hint="请输入验证码"
|
|
|
android:inputType="number"
|
|
android:inputType="number"
|
|
|
- android:paddingLeft="@dimen/content_padding_big"
|
|
|
|
|
android:maxLength="6"
|
|
android:maxLength="6"
|
|
|
- android:textSize="@dimen/text_size_3"/>
|
|
|
|
|
|
|
+ android:layout_marginStart="@dimen/content_padding_small"
|
|
|
|
|
+ android:textSize="@dimen/text_size_3" />
|
|
|
|
|
+
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/phone_btn_code"
|
|
android:id="@+id/phone_btn_code"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
@@ -161,18 +185,16 @@
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:text="@string/get_captcha"
|
|
android:text="@string/get_captcha"
|
|
|
- android:textColor="@color/txt_bule"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ android:textColor="@color/txt_bule" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/phone_sure_tv"
|
|
android:id="@+id/phone_sure_tv"
|
|
|
- android:text="确 定"
|
|
|
|
|
- style="@style/style_button"/>
|
|
|
|
|
|
|
+ style="@style/style_button"
|
|
|
|
|
+ android:text="确 定" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|