From 2ea55b9fbba07c13352865da8e012e3fb3929768 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Fri, 29 May 2026 16:45:31 +0800 Subject: [PATCH] =?UTF-8?q?[STYLE]=20=E5=84=AA=E5=8C=96=20CMUH=20=E5=B0=88?= =?UTF-8?q?=E5=B1=AC=E4=BD=88=E5=B1=80=E5=85=83=E4=BB=B6=E6=AF=94=E4=BE=8B?= =?UTF-8?q?=E8=88=87=E6=A8=A3=E5=BC=8F=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 調整 Cmuh 專屬之 activity_fontend.xml 佈局,優化影片播放器比例與首頁容器 Constraint 限制。 2. 調整 fragment_vmc.xml 中掃描按鈕之 LinearLayout 屬性順序與排版樣式。 3. 遞增 app/build.gradle 的修補版號 verPatch 至 37 以配合發版需求。 --- app/build.gradle | 2 +- app/src/Cmuh/res/layout/activity_fontend.xml | 16 ++++++++++------ app/src/Cmuh/res/layout/fragment_vmc.xml | 15 +++++++-------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6376049..35eef07 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ plugins { // 避免不同尺寸機台間版本號產生衝突。 // ========================================================================= def verMinor = 1 -def verPatch = 35 +def verPatch = 37 android { diff --git a/app/src/Cmuh/res/layout/activity_fontend.xml b/app/src/Cmuh/res/layout/activity_fontend.xml index b4516b6..66c6859 100644 --- a/app/src/Cmuh/res/layout/activity_fontend.xml +++ b/app/src/Cmuh/res/layout/activity_fontend.xml @@ -120,12 +120,13 @@ android:id="@+id/relativeLayout" android:layout_width="match_parent" android:layout_height="0dp" + android:layout_marginTop="60dp" android:layout_marginBottom="2dp" android:background="@color/black" - app:layout_constraintBottom_toTopOf="@+id/fragment_container" + app:layout_constraintDimensionRatio="18:21" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/linearLayout5"> + app:layout_constraintTop_toTopOf="parent"> + app:use_controller="false" + app:resize_mode="fit" + app:surface_type="texture_view" /> @@ -147,7 +151,7 @@ + app:layout_constraintStart_toStartOf="parent"> +