fix: 放大UI尺寸适配手表小屏
- 按钮高度 40dp→50dp,文字 15sp→20sp - NavBar 图标 14sp→18sp,电量 16sp→20sp - 提示弹窗图标 48sp→56sp - 确认弹窗按钮 36sp→44sp - NavBar 高度 60dp→40dp(图标放大后不需要过高) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -32,23 +32,23 @@
|
||||
<!-- 取消按钮(×) -->
|
||||
<TextView
|
||||
android:id="@+id/btnCancel"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:gravity="center"
|
||||
android:text="\ue623"
|
||||
android:textColor="@color/text_secondary"
|
||||
android:textSize="36sp"
|
||||
android:textSize="44sp"
|
||||
android:layout_marginEnd="@dimen/spacing_xl" />
|
||||
|
||||
<!-- 确认按钮(✓) -->
|
||||
<TextView
|
||||
android:id="@+id/btnConfirm"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:gravity="center"
|
||||
android:text="\ue600"
|
||||
android:textColor="@color/success"
|
||||
android:textSize="36sp" />
|
||||
android:textSize="44sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
android:id="@+id/tipIcon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="48sp"
|
||||
android:textSize="56sp"
|
||||
android:layout_marginBottom="@dimen/spacing_md" />
|
||||
|
||||
<!-- 标题文字 -->
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
android:gravity="center"
|
||||
android:text="\ue6bd"
|
||||
android:textColor="@color/text_secondary"
|
||||
android:textSize="18sp"
|
||||
android:textSize="22sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<!-- 状态图标组(首页用,默认显示) -->
|
||||
@@ -48,8 +48,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="\ue6da"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textSize="14sp"
|
||||
android:paddingEnd="6dp" />
|
||||
android:textSize="18sp"
|
||||
android:paddingEnd="8dp" />
|
||||
|
||||
<!-- 4G 状态 -->
|
||||
<TextView
|
||||
@@ -58,8 +58,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="\ue6dc"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textSize="14sp"
|
||||
android:paddingEnd="6dp" />
|
||||
android:textSize="18sp"
|
||||
android:paddingEnd="8dp" />
|
||||
|
||||
<!-- NFC 状态 -->
|
||||
<TextView
|
||||
@@ -68,7 +68,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="\ue6d8"
|
||||
android:textColor="@color/text_primary"
|
||||
android:textSize="14sp" />
|
||||
android:textSize="18sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="\ue6ce"
|
||||
android:textColor="@color/success"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user