|
@@ -5,37 +5,40 @@
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:background="#f5f5f5"
|
|
|
|
|
|
+ android:background="@drawable/login_bg"
|
|
>
|
|
>
|
|
|
|
+
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="62dp"
|
|
|
|
|
|
+ android:layout_height="100dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
android:id="@+id/login_top"
|
|
android:id="@+id/login_top"
|
|
- android:background="@drawable/bg_login"
|
|
|
|
- >
|
|
|
|
|
|
+ >
|
|
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
-
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="450dp"
|
|
|
|
|
|
+ android:id="@+id/login_compose"
|
|
|
|
+ android:layout_width="352dp"
|
|
|
|
+ android:layout_height="360dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
android:gravity="center_horizontal"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
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/login_top"
|
|
app:layout_constraintTop_toBottomOf="@id/login_top"
|
|
- app:layout_constraintHorizontal_bias="0.0">
|
|
|
|
-
|
|
|
|
|
|
+ android:paddingHorizontal="30dp"
|
|
|
|
+ android:paddingVertical="20dp"
|
|
|
|
+ android:background="@drawable/login_compose_bg"
|
|
|
|
+ android:layout_marginTop="20dp">
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Login"
|
|
android:text="Login"
|
|
|
|
+ android:textColor="@color/black"
|
|
android:textSize="30sp"
|
|
android:textSize="30sp"
|
|
android:layout_gravity="left"
|
|
android:layout_gravity="left"
|
|
/>
|
|
/>
|
|
@@ -44,7 +47,7 @@
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="62dp"
|
|
android:layout_height="62dp"
|
|
- android:layout_marginTop="83.5dp"
|
|
|
|
|
|
+ android:layout_marginTop="45dp"
|
|
android:hint="请输入账号"
|
|
android:hint="请输入账号"
|
|
android:imeOptions="actionNext"
|
|
android:imeOptions="actionNext"
|
|
android:inputType="text"
|
|
android:inputType="text"
|
|
@@ -58,7 +61,7 @@
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="62dp"
|
|
android:layout_height="62dp"
|
|
- android:layout_marginTop="60.5dp"
|
|
|
|
|
|
+ android:layout_marginTop="48dp"
|
|
android:hint="请输入账号"
|
|
android:hint="请输入账号"
|
|
android:imeOptions="actionNext"
|
|
android:imeOptions="actionNext"
|
|
android:inputType="text"
|
|
android:inputType="text"
|
|
@@ -70,21 +73,17 @@
|
|
tools:text="密码"/>
|
|
tools:text="密码"/>
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <androidx.appcompat.widget.AppCompatButton
|
|
|
|
- android:id="@+id/btn_login"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
- android:layout_marginTop="82dp"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:text="登录"
|
|
|
|
- android:textColor="@color/xui_config_color_red"
|
|
|
|
- android:textSize="30sp"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
- />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
+ android:id="@+id/btn_login"
|
|
|
|
+ android:layout_width="90dp"
|
|
|
|
+ android:layout_height="90dp"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:background="@drawable/login_action_bg"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/login_compose" android:layout_marginTop="320dp"/>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|