style(ui): 统一界面组件样式并优化设置页面交互

- 为所有列表项和设置面板应用统一的白色圆角背景样式
- 为可点击区域添加波纹效果提升用户体验
- 修复布局文件中ID命名不规范的问题
- 在设置页面添加右上角功能按钮并实现跳转逻辑
- 导入页面跳转扩展函数支持快速导航到主秤配置页面
- 优化布局参数确保界面元素正确显示和交互响应
This commit is contained in:
2026-04-22 17:35:26 +08:00
parent 8c709a3f5f
commit 0498501b33
7 changed files with 27 additions and 7 deletions
+11 -4
View File
@@ -8,13 +8,16 @@
android:orientation="vertical">
<LinearLayout
android:id="@+id/ll_cook_mode"
android:id="@+id/llCookMode"
android:layout_width="match_parent"
android:layout_height="120dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginTop="10dp"
android:layout_marginHorizontal="32dp"
android:background="@drawable/shape_scale_cell">
android:background="@drawable/shape_white_e6_12_corners"
android:foreground="?android:attr/selectableItemBackground"
android:clipToOutline="true">
<TextView
android:layout_width="0dp"
@@ -52,7 +55,9 @@
android:gravity="center_vertical"
android:layout_marginHorizontal="32dp"
android:layout_marginTop="32dp"
android:background="@drawable/shape_scale_cell">
android:background="@drawable/shape_white_e6_12_corners"
android:foreground="?android:attr/selectableItemBackground"
android:clipToOutline="true">
<TextView
android:layout_width="0dp"
@@ -81,7 +86,9 @@
android:gravity="center_vertical"
android:layout_marginHorizontal="32dp"
android:layout_marginTop="32dp"
android:background="@drawable/shape_scale_cell">
android:background="@drawable/shape_white_e6_12_corners"
android:foreground="?android:attr/selectableItemBackground"
android:clipToOutline="true">
<TextView
android:layout_width="0dp"