fixed ui heart rate page issues.
authorTrillGates <williamtrillgates@gmail.com>
Wed, 15 Sep 2021 12:00:46 +0000 (20:00 +0800)
committerTrillGates <williamtrillgates@gmail.com>
Wed, 15 Sep 2021 12:00:46 +0000 (20:00 +0800)
app/src/main/res/layout/fragment_heart_rate.xml
app/src/main/res/layout/fragment_oxygen.xml

index d5ad47a..c104686 100644 (file)
@@ -79,8 +79,7 @@
             android:id="@+id/ic_heart_layout"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_gravity="left"
-            android:layout_marginLeft="20dp"
+            android:layout_gravity="center|top"
             android:layout_marginTop="30dp"
             android:visibility="@{isShowTips ? View.GONE : View.VISIBLE}">
 
             android:layout_height="wrap_content"
             android:layout_gravity="right"
             android:layout_marginTop="30dp"
-            android:layout_marginRight="20dp">
+            android:layout_marginRight="20dp"
+            android:visibility="gone">
 
             <TextView
                 android:id="@+id/ic_blood_oxygen_name"
index 69c567e..a00dd00 100644 (file)
             android:layout_height="wrap_content"
             android:layout_gravity="bottom"
             android:layout_marginStart="20dp"
-            android:layout_marginBottom="50dp"
-            android:visibility="gone">
+            android:layout_marginBottom="50dp">
 
             <TextView
                 android:id="@+id/ic_high_name"
         <TextView
             style="@style/bloodTextStyle"
             android:layout_gravity="center|bottom"
-            android:layout_marginBottom="30dp"
+            android:layout_marginBottom="10dp"
             android:gravity="center"
             android:text="@{finishTips}"
             android:visibility="@{isShowTips ? View.GONE : View.VISIBLE}" />
             android:layout_height="wrap_content"
             android:layout_gravity="bottom|end"
             android:layout_marginEnd="20dp"
-            android:layout_marginBottom="50dp"
-            android:visibility="gone">
+            android:layout_marginBottom="50dp">
 
             <TextView
                 android:id="@+id/ic_low_name"