|
|
@ -7,19 +7,20 @@
|
|
|
|
tools:layout_editor_absoluteY="81dp"
|
|
|
|
tools:layout_editor_absoluteY="81dp"
|
|
|
|
android:background="@drawable/allbackground">
|
|
|
|
android:background="@drawable/allbackground">
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/reg_head"
|
|
|
|
android:id="@+id/reg_head"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:src="@mipmap/choosehead"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
android:src="@mipmap/choosehead"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvShowDialog"
|
|
|
|
android:id="@+id/tvShowDialog"
|
|
|
@ -56,16 +57,20 @@
|
|
|
|
android:id="@+id/editPwd"
|
|
|
|
android:id="@+id/editPwd"
|
|
|
|
style="@style/textstyle"
|
|
|
|
style="@style/textstyle"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:hint="密码"
|
|
|
|
android:hint="密码"
|
|
|
|
android:lines="1"
|
|
|
|
android:lines="1"
|
|
|
|
android:maxLength="16"
|
|
|
|
android:maxLength="16"
|
|
|
|
android:password="true"
|
|
|
|
android:password="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/tvShowDialog"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/editName"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/editName"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/editName"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/editName"
|
|
|
|
tools:ignore="MissingConstraints"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editName"
|
|
|
|
tools:layout_editor_absoluteY="124dp" />
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
<!-- the regist button -->
|
|
|
|
<!-- the regist button -->
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnRegist"
|
|
|
|
android:id="@+id/btnRegist"
|
|
|
@ -73,10 +78,8 @@
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:background="#e137b7b5"
|
|
|
|
android:background="#e137b7b5"
|
|
|
|
android:onClick="OnMyRegistClick"
|
|
|
|
android:onClick="OnMyRegistClick"
|
|
|
@ -86,7 +89,7 @@
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editCode"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/btnGetcord"
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
<EditText
|
|
|
@ -127,12 +130,10 @@
|
|
|
|
<EditText
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editName"
|
|
|
|
android:id="@+id/editName"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:ems="10"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|