|
@@ -0,0 +1,188 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ tools:context=".ui.activity.SysSettingActivity"
|
|
|
|
+ android:background="#f5f5f5"
|
|
|
|
+>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.actionbar.TitleBar
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:background="#8ad1d2"
|
|
|
|
+ app:tb_barHeight="65dp"
|
|
|
|
+ app:tb_dividerColor="@color/xui_config_color_white"
|
|
|
|
+ app:tb_leftText="返回"
|
|
|
|
+ app:tb_sideTextPadding="20dp"
|
|
|
|
+ app:tb_actionPadding="20dp"
|
|
|
|
+ app:tb_titleText="标题"
|
|
|
|
+ android:id="@+id/tab_segment_title"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ app:tb_useThemeColor="false"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tabSegment"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.tabbar.TabSegment
|
|
|
|
+ android:id="@+id/tabSegment"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="60dp"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tabSegment_content"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tab_segment_title"
|
|
|
|
+ android:textSize="12sp"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
|
+ android:layout_marginHorizontal="8dp"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tabSegment"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="450dp"
|
|
|
|
+ app:contentPadding="10dp"
|
|
|
|
+ android:id="@+id/tabSegment_content"
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="250dp"
|
|
|
|
+ >
|
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
+
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ android:layout_marginTop="60dp"
|
|
|
|
+
|
|
|
|
+ >
|
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
|
+ android:layout_width="140dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:sLeftTextString="用户昵称:"
|
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
|
+ app:sLeftTextSize="20sp"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
|
|
|
|
+ android:layout_width="200dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:met_floatingLabel="normal"/>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ android:layout_marginTop="100dp"
|
|
|
|
+ >
|
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
|
+ android:layout_width="140dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:sLeftTextString="手机号码:"
|
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
|
+ app:sLeftTextSize="20sp"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
|
|
|
|
+ android:layout_width="200dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:met_floatingLabel="normal"/>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ android:layout_marginTop="140dp"
|
|
|
|
+ >
|
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
|
+ android:layout_width="140dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:sLeftTextString="用户邮箱:"
|
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
|
+ app:sLeftTextSize="20sp"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
|
|
|
|
+ android:layout_width="200dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:met_floatingLabel="normal"/>
|
|
|
|
+
|
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ android:layout_marginTop="180dp"
|
|
|
|
+ >
|
|
|
|
+ <com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
|
|
|
+ android:layout_width="140dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:sLeftTextString="性别"
|
|
|
|
+ app:sLeftTextIsBold="true"
|
|
|
|
+ app:sLeftTextSize="20sp"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
|
|
|
|
+ android:layout_width="200dp"
|
|
|
|
+ android:layout_height="42dp"
|
|
|
|
+ app:met_floatingLabel="normal"/>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
+
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ android:layout_marginTop="260dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ >
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.button.ButtonView
|
|
|
|
+ android:layout_width="90dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ style="@style/ButtonView.Green"
|
|
|
|
+ app:textRadius="5dp"
|
|
|
|
+ android:text="保存"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <com.xuexiang.xui.widget.button.ButtonView
|
|
|
|
+ android:layout_width="90dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginLeft="60dp"
|
|
|
|
+ style="@style/ButtonView.Gray"
|
|
|
|
+ app:textRadius="5dp"
|
|
|
|
+ android:text="取消"
|
|
|
|
+ />
|
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|