feat(fragment): 实现调料秤重量增加高亮提醒功能
主设备订阅 allScales StateFlow 检测所有子设备秤重量变化, 超过10g且秤稳定时高亮对应格子,15秒后自动恢复
This commit is contained in:
@@ -5,10 +5,12 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp">
|
||||
android:paddingBottom="8dp"
|
||||
android:background="@drawable/shape_scale_cell">
|
||||
|
||||
<!-- 秤编号 -->
|
||||
<TextView
|
||||
|
||||
@@ -29,5 +29,6 @@
|
||||
<color name="black333">#333333</color>
|
||||
<color name="gray_c8">#C8C8C8</color>
|
||||
<color name="gray_e6">#E6E6E6</color>
|
||||
<color name="red_ff4444">#FF4444</color>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user