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" />