From 0f461a502365d20ed2f887029ff6a8826304c33b Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期一, 20 十月 2025 11:05:00 +0800 Subject: [PATCH] 优化 --- keyCabinet-android/app/src/main/res/layout/ui_update_dialog.xml | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/keyCabinet-android/app/src/main/res/layout/ui_update_dialog.xml b/keyCabinet-android/app/src/main/res/layout/ui_update_dialog.xml new file mode 100644 index 0000000..d43f87a --- /dev/null +++ b/keyCabinet-android/app/src/main/res/layout/ui_update_dialog.xml @@ -0,0 +1,99 @@ +<?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" + android:id="@+id/rl_root" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent" + android:layout_marginTop="20dp" + android:padding="30dp" + android:background="@drawable/shape_update_version_bg"> + + <TextView + android:id="@+id/tv1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鏂扮増鏈洿鏂�" + android:textColor="#ff111111" + android:textSize="33sp" + android:textStyle="bold" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintStart_toStartOf="parent" + android:layout_marginTop="6dp"/> + + <TextView + android:id="@+id/tv_version" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鏇存柊鐗堟湰V1.1.1" + android:textColor="#ff999999" + android:textSize="21sp" + app:layout_constraintTop_toBottomOf="@+id/tv1" + android:layout_marginTop="15dp" + app:layout_constraintStart_toStartOf="parent"/> + + <TextView + android:id="@+id/update_text" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:lineSpacingExtra="6dp" + android:text="1銆佹洿鏂颁簡閽ュ寵棰嗗彇鍔熻兘锛沑n +2銆佹洿鏂颁簡閽ュ寵褰掕繕鍔熻兘锛沑n +3銆佹洿鏂颁簡鍛婅鍔熻兘銆�" + android:textColor="#333333" + android:textSize="22sp" + app:layout_constraintTop_toBottomOf="@+id/tv_version" + android:layout_marginTop="30dp"/> + + <TextView + android:id="@+id/layout_not_update" + android:layout_width="0dp" + android:layout_height="75dp" + android:text="鏆備笉鏇存柊" + android:textStyle="bold" + android:gravity="center" + android:textColor="#555555" + android:textSize="24sp" + android:paddingLeft="30dp" + android:paddingRight="30dp" + android:background="@drawable/shape_mb_bt_faile" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toLeftOf="@+id/layout_update" + android:layout_marginLeft="15dp" + app:layout_constraintTop_toBottomOf="@+id/update_text" + android:layout_marginTop="135dp"/> + + <TextView + android:id="@+id/layout_update" + android:layout_width="0dp" + android:layout_height="75dp" + android:text="绔嬪嵆鏇存柊" + android:textStyle="bold" + android:gravity="center" + android:textColor="@color/white" + android:textSize="24sp" + android:paddingLeft="30dp" + android:paddingRight="30dp" + android:background="@drawable/shape_mb_bt_ok" + app:layout_constraintTop_toTopOf="@+id/layout_not_update" + app:layout_constraintLeft_toRightOf="@+id/layout_not_update" + app:layout_constraintRight_toRightOf="parent" + android:layout_marginLeft="15dp" + android:layout_marginRight="30dp"/> + + + </androidx.constraintlayout.widget.ConstraintLayout> + + <ImageView + android:layout_width="162dp" + android:layout_height="232dp" + android:src="@mipmap/ic_rocket" + android:scaleType="fitXY" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> + +</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.9.3