调整登录界面的UI

This commit is contained in:
ningwenqiang 2024-11-05 13:55:00 +08:00
parent 0fe09123fd
commit 61821aee63

View File

@ -34,10 +34,9 @@
<View <View
android:id="@+id/lt_btn_facebook" android:id="@+id/lt_btn_facebook"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="56dp"
android:background="@drawable/background_080221_d28" android:background="@drawable/background_080221_d28"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintDimensionRatio="4.964"
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"
@ -65,6 +64,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/user_login_facebook" android:text="@string/user_login_facebook"
android:textColor="@color/white" android:textColor="@color/white"
android:textStyle="bold"
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="@+id/lt_btn_facebook" app:layout_constraintBottom_toBottomOf="@+id/lt_btn_facebook"
app:layout_constraintEnd_toEndOf="@+id/lt_btn_facebook" app:layout_constraintEnd_toEndOf="@+id/lt_btn_facebook"
@ -76,10 +76,9 @@
<View <View
android:id="@+id/btn_google" android:id="@+id/btn_google"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="56dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:background="@drawable/background_fff2f2f2_d28" android:background="@drawable/background_fff2f2f2_d28"
app:layout_constraintDimensionRatio="4.964"
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/lt_btn_facebook" app:layout_constraintTop_toBottomOf="@+id/lt_btn_facebook"
@ -107,6 +106,7 @@
android:text="@string/user_login_google" android:text="@string/user_login_google"
android:textColor="@color/color_111111" android:textColor="@color/color_111111"
android:textSize="14sp" android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@+id/btn_google" app:layout_constraintBottom_toBottomOf="@+id/btn_google"
app:layout_constraintEnd_toEndOf="@+id/btn_google" app:layout_constraintEnd_toEndOf="@+id/btn_google"
app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_bias="0.0"
@ -122,10 +122,9 @@
<View <View
android:id="@+id/btn_phone" android:id="@+id/btn_phone"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="56dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:background="@drawable/background_fff2f2f2_d28" android:background="@drawable/background_fff2f2f2_d28"
app:layout_constraintDimensionRatio="4.964"
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/btn_google" app:layout_constraintTop_toBottomOf="@+id/btn_google"
@ -153,6 +152,7 @@
android:text="@string/user_login_account" android:text="@string/user_login_account"
android:textColor="@color/color_111111" android:textColor="@color/color_111111"
android:textSize="14sp" android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@+id/btn_phone" app:layout_constraintBottom_toBottomOf="@+id/btn_phone"
app:layout_constraintEnd_toEndOf="@+id/btn_phone" app:layout_constraintEnd_toEndOf="@+id/btn_phone"
app:layout_constraintHorizontal_bias="0.46" app:layout_constraintHorizontal_bias="0.46"