|
@@ -0,0 +1,185 @@
|
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_margin="20dp"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/title_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="5dp">
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
|
+ android:src="@mipmap/icon_data_manage_menu_user_manage" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/user_info_title"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/back"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/back"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="100dp">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/username_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="@string/user_name"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/username"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:enabled="false"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/username_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/username_tv" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/nickname_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:text="@string/nickname"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/username_tv"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/username_tv" />
|
|
|
|
|
+
|
|
|
|
|
+ <EditText
|
|
|
|
|
+ android:id="@+id/nickname_et"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:hint="@string/please_input_nickname"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/nickname_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/nickname_tv" />
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/phone_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:text="@string/phone"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/nickname_tv"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/nickname_tv" />
|
|
|
|
|
+
|
|
|
|
|
+ <EditText
|
|
|
|
|
+ android:id="@+id/phone_et"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:hint="@string/please_input_phone"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/phone_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/phone_tv" />
|
|
|
|
|
+
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:padding="10dp">
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/confirm"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/confirm"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/cancel"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginHorizontal="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/cancel"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+</layout>
|