|
@@ -28,8 +28,9 @@
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
android:visibility="@{vm.type==1?View.VISIBLE:View.GONE}"
|
|
|
- android:orientation="vertical">
|
|
|
+ tools:visibility="gone">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -37,38 +38,37 @@
|
|
|
android:layout_marginTop="12dp"
|
|
|
android:background="@color/white"
|
|
|
android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:paddingStart="35dp"
|
|
|
android:paddingEnd="@dimen/dp_14"
|
|
|
- android:visibility="@{vm.isShow?View.VISIBLE :View.GONE}"
|
|
|
- android:orientation="horizontal"
|
|
|
- >
|
|
|
+ android:visibility="@{vm.isShow?View.VISIBLE :View.GONE}">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="原密码"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginEnd="18dp"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:text="原密码"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
|
android:id="@+id/edt_old_pwd"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@null"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
android:hint="@string/please_input_old_pwd"
|
|
|
android:inputType="textPassword"
|
|
|
android:text="@={vm.oldpassWord}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
android:textSize="@dimen/sp_14" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
android:background="#F3F4F5"
|
|
|
- android:visibility="@{vm.isShow?View.VISIBLE :View.GONE}"
|
|
|
- android:layout_height="1dp"/>
|
|
|
+ android:visibility="@{vm.isShow?View.VISIBLE :View.GONE}" />
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
@@ -76,18 +76,17 @@
|
|
|
android:layout_height="43dp"
|
|
|
android:background="@color/white"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:paddingStart="35dp"
|
|
|
- android:paddingEnd="@dimen/dp_14"
|
|
|
android:orientation="horizontal"
|
|
|
- >
|
|
|
+ android:paddingStart="35dp"
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="原密码"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginEnd="18dp"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:text="原密码"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
@@ -97,34 +96,34 @@
|
|
|
android:background="@null"
|
|
|
android:hint="@string/please_input_new_pwd"
|
|
|
android:inputType="textPassword"
|
|
|
+ android:text="@={vm.passWord}"
|
|
|
android:textColor="@color/text_title"
|
|
|
android:textColorHint="#979899"
|
|
|
- android:text="@={vm.passWord}"
|
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:background="#F3F4F5"
|
|
|
- android:layout_height="1dp"/>
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="#F3F4F5" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="43dp"
|
|
|
- android:paddingStart="35dp"
|
|
|
android:background="@color/white"
|
|
|
- android:paddingEnd="@dimen/dp_14"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
|
- >
|
|
|
+ android:paddingStart="35dp"
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
+
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="原密码"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginEnd="18dp"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:text="原密码"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
@@ -175,122 +174,227 @@
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <!-- 支付密码-->
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="@{vm.type==2?View.VISIBLE:View.GONE}"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ <!-- 支付密码-->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="@{vm.type==2?View.VISIBLE:View.GONE}"
|
|
|
+ tools:visibility="gone">
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginTop="25dp"
|
|
|
- android:visibility="@{vm.isPayShow?View.VISIBLE :View.GONE}"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:layout_marginStart="35dp"
|
|
|
- android:layout_marginEnd="35dp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="35dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_marginEnd="35dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.isPayShow?View.VISIBLE :View.GONE}">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:text="原支付密码:"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="原支付密码:"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_14">
|
|
|
|
|
|
- </TextView>
|
|
|
+ </TextView>
|
|
|
|
|
|
|
|
|
- <com.quansu.heifengwuliu.view.PasswordView
|
|
|
- android:id="@+id/ppet_old_password"
|
|
|
- android:layout_width="match_parent"
|
|
|
- app:cipherEnable="true"
|
|
|
- app:passwordLength="6"
|
|
|
- app:smode="rect"
|
|
|
- android:layout_height="45dp">
|
|
|
+ <com.quansu.heifengwuliu.view.PasswordView
|
|
|
+ android:id="@+id/ppet_old_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ app:cipherEnable="true"
|
|
|
+ app:passwordLength="6"
|
|
|
+ app:smode="rect">
|
|
|
|
|
|
- </com.quansu.heifengwuliu.view.PasswordView>
|
|
|
+ </com.quansu.heifengwuliu.view.PasswordView>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginTop="25dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:layout_marginStart="35dp"
|
|
|
- android:layout_marginEnd="35dp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="35dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_marginEnd="35dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:text="新支付密码:"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="新支付密码:"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_14">
|
|
|
|
|
|
- </TextView>
|
|
|
+ </TextView>
|
|
|
|
|
|
- <com.quansu.heifengwuliu.view.PasswordView
|
|
|
- android:id="@+id/ppet_new_password"
|
|
|
- android:layout_width="match_parent"
|
|
|
- app:cipherEnable="true"
|
|
|
- app:passwordLength="6"
|
|
|
- app:smode="rect"
|
|
|
- android:layout_height="45dp">
|
|
|
+ <com.quansu.heifengwuliu.view.PasswordView
|
|
|
+ android:id="@+id/ppet_new_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ app:cipherEnable="true"
|
|
|
+ app:passwordLength="6"
|
|
|
+ app:smode="rect">
|
|
|
|
|
|
- </com.quansu.heifengwuliu.view.PasswordView>
|
|
|
+ </com.quansu.heifengwuliu.view.PasswordView>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1">
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
- </View>
|
|
|
+ </View>
|
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/fl_pay_submit"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:layout_marginEnd="@dimen/dp_16"
|
|
|
- >
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_pay_submit"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginEnd="@dimen/dp_16">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="106dp"
|
|
|
- android:src="@drawable/ic_details_grab" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="106dp"
|
|
|
+ android:src="@drawable/ic_details_grab" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:text="@string/submit"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="16sp">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:text="@string/submit"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_bg"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="@{vm.type==3?View.VISIBLE:View.GONE}">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="22dp"
|
|
|
+ android:paddingEnd="17dp">
|
|
|
|
|
|
- </TextView>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="个人头像"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.QMUIRadiusImageView
|
|
|
+ android:id="@+id/img_user_avater"
|
|
|
+ android:layout_width="34dp"
|
|
|
+ android:layout_height="34dp"
|
|
|
+ android:src="@drawable/ic_default_avatar"
|
|
|
+ app:qmui_border_color="@color/white"
|
|
|
+ app:url="@{vm.avatar}"
|
|
|
+ android:onClick="@{v->vm.choseImg()}"
|
|
|
+ app:qmui_is_circle="true" />
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_arrow_right"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:src="@drawable/mine_right" />
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="#EEEFF0" />
|
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="23dp"
|
|
|
+ android:paddingEnd="33dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="18dp"
|
|
|
+ android:text="姓名"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:id="@+id/edt_name"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="right|center_vertical"
|
|
|
+ android:hint="请输入姓名"
|
|
|
+ android:text="@={vm.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_marginEnd="@dimen/dp_16"
|
|
|
+ android:onClick="@{v->vm.toSaveInfo()}">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="106dp"
|
|
|
+ android:src="@drawable/ic_details_grab" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:text="完成"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
|
|
|
</LinearLayout>
|
|
|
</layout>
|