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.
146 lines
5.3 KiB
146 lines
5.3 KiB
<?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:id="@+id/main"
|
|
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="horizontal">
|
|
<ImageView
|
|
android:id="@+id/imageView3"
|
|
android:layout_width="107dp"
|
|
android:layout_height="95dp"
|
|
android:layout_marginStart="10dp"
|
|
app:srcCompat="@drawable/mango" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView4"
|
|
android:layout_width="91dp"
|
|
android:layout_height="132dp"
|
|
android:layout_marginLeft="200dp"
|
|
app:srcCompat="@drawable/icecream" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/textView"
|
|
android:layout_width="327dp"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="80dp"
|
|
android:layout_marginStart="40dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:rotation="0"
|
|
android:rotationX="0"
|
|
android:text="Delicious Food App"
|
|
android:textColor="#E67F56"
|
|
android:textColorHighlight="#ED7373"
|
|
android:textColorHint="#467CA6"
|
|
android:textSize="34sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintVertical_bias="0.0" />
|
|
|
|
<EditText
|
|
android:id="@+id/editText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="40dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold"
|
|
tools:layout_editor_absoluteX="42dp"
|
|
tools:layout_editor_absoluteY="159dp"
|
|
android:hint="请输入账号" />
|
|
|
|
<EditText
|
|
android:id="@+id/editText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="40dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold"
|
|
tools:layout_editor_absoluteX="42dp"
|
|
tools:layout_editor_absoluteY="159dp"
|
|
android:hint="请输入密码" />
|
|
|
|
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="182dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="120dp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:backgroundTint="#73C877"
|
|
android:textColor="@android:color/white"
|
|
android:text="登录"
|
|
android:textSize="24sp"
|
|
tools:layout_editor_absoluteX="108dp"
|
|
tools:layout_editor_absoluteY="428dp" />
|
|
|
|
<Button
|
|
android:id="@+id/button2"
|
|
android:layout_width="181dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="120dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:backgroundTint="#73C877"
|
|
android:textColor="@android:color/white"
|
|
android:text="注册"
|
|
android:textColorLink="#3AB6C6"
|
|
android:textSize="24sp"
|
|
tools:layout_editor_absoluteX="108dp"
|
|
tools:layout_editor_absoluteY="538dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="165dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:text="忘记密码 ?"
|
|
android:textSize="20sp"
|
|
tools:layout_editor_absoluteX="44dp"
|
|
tools:layout_editor_absoluteY="307dp" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkBox"
|
|
android:layout_width="380dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:text="同意《用户服务协议》及《基本功能隐私协议》"
|
|
android:textSize="16sp"
|
|
tools:layout_editor_absoluteX="40dp"
|
|
tools:layout_editor_absoluteY="363dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="357dp"
|
|
android:layout_height="238dp"
|
|
android:layout_marginStart="40dp"
|
|
android:layout_marginEnd="32dp"
|
|
app:srcCompat="@drawable/noodles" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |