登录启动页优化

This commit is contained in:
2026-06-08 10:39:30 +08:00
parent c2b947c630
commit 5cafd2ac1d
6 changed files with 73 additions and 30 deletions

View File

@@ -0,0 +1,23 @@
<?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"
android:background="@color/white"
tools:context=".home.StartActivity">
<!-- Logo 图片:横竖屏均居中 -->
<ImageView
android:id="@+id/logoFrame"
android:layout_width="160dp"
android:layout_height="120dp"
android:src="@mipmap/loge1"
android:padding="5dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>