You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
3.8 KiB
97 lines
3.8 KiB
9 months ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
tools:context=".MainActivity">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
tools:layout_editor_absoluteX="-37dp"
|
||
|
tools:layout_editor_absoluteY="116dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/imageView"
|
||
|
android:layout_width="420dp"
|
||
|
android:layout_height="415dp"
|
||
|
android:layout_gravity="center"
|
||
|
app:srcCompat="@drawable/bg1"
|
||
|
tools:layout_editor_absoluteX="-10dp"
|
||
|
tools:layout_editor_absoluteY="-3dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView"
|
||
|
android:layout_width="281dp"
|
||
|
android:layout_height="38dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:textSize="20sp"
|
||
|
android:rotation="0"
|
||
|
android:rotationX="0"
|
||
|
android:textColor="#D3A13E"
|
||
|
android:textStyle="bold"
|
||
|
android:textAlignment="center"
|
||
|
android:text="欢迎登录"
|
||
|
tools:layout_editor_absoluteX="100dp"
|
||
|
tools:layout_editor_absoluteY="446dp" />
|
||
|
<EditText
|
||
|
android:id="@+id/editTextText"
|
||
|
android:layout_width="281dp"
|
||
|
android:layout_height="46dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:rotation="0"
|
||
|
android:rotationX="0"
|
||
|
android:ems="10"
|
||
|
android:inputType="text"
|
||
|
android:text="输入账号"
|
||
|
tools:layout_editor_absoluteX="65dp"
|
||
|
tools:layout_editor_absoluteY="494dp" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/editTextText2"
|
||
|
android:layout_width="279dp"
|
||
|
android:layout_height="43dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:ems="10"
|
||
|
android:inputType="text"
|
||
|
android:rotation="0"
|
||
|
android:rotationX="0"
|
||
|
android:text="输入密码"
|
||
|
tools:layout_editor_absoluteX="67dp"
|
||
|
tools:layout_editor_absoluteY="547dp" />
|
||
|
<Button
|
||
|
android:id="@+id/button"
|
||
|
android:layout_width="281dp"
|
||
|
android:layout_height="44dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:rotation="0"
|
||
|
android:rotationX="0"
|
||
|
android:backgroundTint="#F3BF26"
|
||
|
android:textColor="@color/black"
|
||
|
android:text="确认登录/注册"
|
||
|
tools:layout_editor_absoluteX="65dp"
|
||
|
tools:layout_editor_absoluteY="614dp" />
|
||
|
<RadioButton
|
||
|
android:id="@+id/radioButton"
|
||
|
android:layout_width="363dp"
|
||
|
android:layout_height="32dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:text="登录即代表阅读并同意《服务协议》和《隐私政策》"
|
||
|
tools:layout_editor_absoluteX="24dp"
|
||
|
tools:layout_editor_absoluteY="692dp" />
|
||
|
</LinearLayout>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|