From 5dbace084cbbb9d08e929e1392da49da8ddaa7ac Mon Sep 17 00:00:00 2001 From: wlh <646507849@qq.com> Date: Fri, 23 Feb 2024 15:35:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BB=BA365-=E4=BA=8C=E6=9C=9F?= =?UTF-8?q?=E5=BC=80=E5=8F=91-bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/zj365/health/weight/ICompareMarkView.kt | 4 ++-- health/src/main/res/layout/frag_blood_lipid_compare_data.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/health/src/main/java/com/zj365/health/weight/ICompareMarkView.kt b/health/src/main/java/com/zj365/health/weight/ICompareMarkView.kt index 92afa04..2863cea 100644 --- a/health/src/main/java/com/zj365/health/weight/ICompareMarkView.kt +++ b/health/src/main/java/com/zj365/health/weight/ICompareMarkView.kt @@ -161,12 +161,12 @@ class ICompareMarkView( if (datas[2] == "0") { tvValue.text = "--" } else { - tvValue.text = "${changeDecimals(datas[2], 1)}$unit" + tvValue.text = "${changeDecimals(datas[2], 2)}$unit" } if (datas[3] == "0") { mTvValueCompare.text = "--" } else { - mTvValueCompare.text = "${changeDecimals(datas[3], 1)}$unit" + mTvValueCompare.text = "${changeDecimals(datas[3], 2)}$unit" } } else -> { diff --git a/health/src/main/res/layout/frag_blood_lipid_compare_data.xml b/health/src/main/res/layout/frag_blood_lipid_compare_data.xml index 4ccf208..3df8e90 100644 --- a/health/src/main/res/layout/frag_blood_lipid_compare_data.xml +++ b/health/src/main/res/layout/frag_blood_lipid_compare_data.xml @@ -190,7 +190,7 @@ android:layout_marginRight="@dimen/dp_14" android:layout_marginBottom="@dimen/dp_14" android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。" - android:textColor="@color/read_dot_bg" + android:textColor="@color/col_313" android:textSize="@dimen/sp_15" tools:ignore="HardcodedText" />