From 8c04e8e9e28f7fdf1df36f2630bd998d0acc746c Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 21 十月 2024 14:01:41 +0800 Subject: [PATCH] 更新uniSDk后,Android14打开uni界面正常 --- app/src/main/res/layout/activity_start.xml | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/activity_start.xml b/app/src/main/res/layout/activity_start.xml index 8d826ae..b52af99 100644 --- a/app/src/main/res/layout/activity_start.xml +++ b/app/src/main/res/layout/activity_start.xml @@ -4,22 +4,36 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/text_FFFFFFFF" tools:context="com.hdl.photovoltaic.ui.StartActivity"> - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginStart="@dimen/dp_5" - android:layout_marginEnd="@dimen/dp_5" - android:gravity="center" - android:text="@string/welcome_to_the_smart_energy_app" - android:textColor="@color/text_245EC3" - android:textSize="@dimen/text_28" + <!-- <TextView--> + <!-- android:id="@+id/start_tv"--> + <!-- android:layout_width="match_parent"--> + <!-- android:layout_height="wrap_content"--> + <!-- android:layout_marginStart="@dimen/dp_5"--> + <!-- android:layout_marginEnd="@dimen/dp_5"--> + <!-- android:gravity="center"--> + <!-- android:text="@string/welcome_to_the_smart_energy_app"--> + <!-- android:textColor="@color/text_245EC3"--> + <!-- android:textSize="@dimen/text_28"--> + <!-- app:layout_constraintBottom_toBottomOf="parent"--> + <!-- app:layout_constraintEnd_toEndOf="parent"--> + <!-- app:layout_constraintHorizontal_bias="0.496"--> + <!-- app:layout_constraintStart_toStartOf="parent"--> + <!-- app:layout_constraintTop_toTopOf="parent"--> + <!-- app:layout_constraintVertical_bias="0.093" />--> + + <ImageView + android:id="@+id/as_regards_icon_iv" + android:layout_width="106.5dp" + android:layout_height="106.5dp" + android:layout_marginTop="@dimen/dp_29" + android:src="@drawable/start_icon" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintHorizontal_bias="0.496" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_bias="0.093" /> + app:layout_constraintTop_toTopOf="parent" /> + </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.8.0