From 3dc12ef829d9bcd6a2a85a7456eb24f304c15c66 Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期五, 28 二月 2025 17:05:37 +0800 Subject: [PATCH] 首页字体优化 --- app/src/main/res/layout/item_home_list.xml | 2 +- app/src/main/res/layout/activity_share.xml | 2 +- app/src/main/res/layout/fragment_mine.xml | 2 +- app/src/main/res/layout/item_banner_card.xml | 14 +++++++------- app/build.gradle | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 159b4a3..80663ef 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ applicationId "com.sinata.xqmuse" minSdkVersion 21 targetSdkVersion 30 - versionCode 8 - versionName "1.7" + versionCode 10 + versionName "1.81" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/res/layout/activity_share.xml b/app/src/main/res/layout/activity_share.xml index 93b972c..cf2b4ec 100644 --- a/app/src/main/res/layout/activity_share.xml +++ b/app/src/main/res/layout/activity_share.xml @@ -85,7 +85,7 @@ android:id="@+id/tv_action" app:layout_constraintTop_toBottomOf="@id/iv_code" android:layout_marginTop="23dp" - android:text="分享给好友赚佣金" + android:text="分享给好友" android:textColor="@color/white" android:textSize="14sp" android:textStyle="bold" diff --git a/app/src/main/res/layout/fragment_mine.xml b/app/src/main/res/layout/fragment_mine.xml index 026393b..72e8c9f 100644 --- a/app/src/main/res/layout/fragment_mine.xml +++ b/app/src/main/res/layout/fragment_mine.xml @@ -454,7 +454,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/tv_share" - android:text="分享赚钱" + android:text="分享" android:textColor="@color/textColor" android:textSize="13sp" android:gravity="center" diff --git a/app/src/main/res/layout/item_banner_card.xml b/app/src/main/res/layout/item_banner_card.xml index c52f53e..043899c 100644 --- a/app/src/main/res/layout/item_banner_card.xml +++ b/app/src/main/res/layout/item_banner_card.xml @@ -28,13 +28,13 @@ app:layout_constraintEnd_toStartOf="@id/play" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="parent" - android:layout_marginTop="7dp" + android:layout_marginTop="9dp" android:layout_marginStart="16dp" android:layout_marginEnd="4dp" android:text="缓解压力" android:singleLine="true" android:ellipsize="end" - android:textSize="11sp" + android:textSize="14sp" android:textColor="@color/white" android:id="@+id/tv_title"/> <TextView @@ -44,15 +44,15 @@ app:layout_constraintTop_toBottomOf="@id/tv_title" app:layout_constraintStart_toStartOf="@id/tv_title" app:layout_constraintBottom_toBottomOf="parent" - android:layout_marginBottom="9dp" + android:layout_marginBottom="11dp" android:text="缓解压力" - android:textSize="6sp" + android:textSize="9sp" android:textColor="@color/white" android:id="@+id/tv_subtitle"/> <ImageView android:id="@+id/iv" - android:layout_width="6dp" - android:layout_height="6dp" + android:layout_width="9dp" + android:layout_height="9dp" android:src="@mipmap/ic_count" app:layout_constraintTop_toTopOf="@id/tv_count" app:layout_constraintBottom_toBottomOf="@id/tv_count" @@ -63,7 +63,7 @@ android:layout_height="wrap_content" android:id="@+id/tv_count" android:textColor="@color/white" - android:textSize="6sp" + android:textSize="9sp" app:layout_constraintStart_toEndOf="@id/iv" app:layout_constraintBaseline_toBaselineOf="@id/tv_subtitle" android:layout_marginStart="2dp" diff --git a/app/src/main/res/layout/item_home_list.xml b/app/src/main/res/layout/item_home_list.xml index c1175cf..a0a8890 100644 --- a/app/src/main/res/layout/item_home_list.xml +++ b/app/src/main/res/layout/item_home_list.xml @@ -92,7 +92,7 @@ android:layout_height="224dp" android:visibility="gone" app:banner_auto_loop="false" - app:banner_infinite_loop="false" + app:banner_infinite_loop="true" android:layout_marginTop="20dp" app:layout_constraintTop_toBottomOf="@id/tv_title" android:id="@+id/banner_card"/> -- Gitblit v1.7.1