body temperature start up to another application which name IcTemperature.
authorkfl_614 <kfl_614@163.com>
Tue, 15 Dec 2020 13:17:00 +0000 (21:17 +0800)
committerkfl_614 <kfl_614@163.com>
Tue, 15 Dec 2020 13:17:00 +0000 (21:17 +0800)
app/src/main/java/com/ic/launcher/AnimalHeatActivity.java
app/src/main/java/com/ic/launcher/configure/l02/L02AppInfo.java
app/src/main/res/layout/activity_animal_heat.xml

index 645234e..1ee43fe 100644 (file)
@@ -110,7 +110,6 @@ public class AnimalHeatActivity extends AppCompatActivity implements
         heatBinding.setDisableTempOut(disableTempOUt);
     }
 
-
     @Override
     protected void onDestroy() {
         super.onDestroy();
index 68658d7..6459810 100644 (file)
@@ -132,7 +132,7 @@ public class L02AppInfo {
             //体温
             if (temperature_sensor_available) {
                 add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_temperature_h88, R.string.app_h88_temperature,
-                        "com.ic.launcher", "com.ic.launcher.AnimalHeatActivity"));
+                        "com.ic.temperature", "com.ic.temperature.MainActivity"));
             }
             //心率
             if (ppg_ecg_sensor_available) {
@@ -216,7 +216,7 @@ public class L02AppInfo {
             }
             if (temperature_sensor_available) {
                 add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_temperature_h88, R.string.app_h88_temperature,
-                        "com.ic.launcher", "com.ic.launcher.AnimalHeatActivity"));
+                        "com.ic.temperature", "com.ic.temperature.MainActivity"));
             }
 
 //            //支付宝
@@ -259,7 +259,7 @@ public class L02AppInfo {
 
             if (temperature_sensor_available) {
                 add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_temperature_h88, R.string.app_h88_temperature,
-                        "com.ic.launcher", "com.ic.launcher.AnimalHeatActivity"));
+                        "com.ic.temperature", "com.ic.temperature.MainActivity"));
             }
             //相机
             add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_camera_l02, R.string.app_Camera,
@@ -319,7 +319,7 @@ public class L02AppInfo {
 
             if (temperature_sensor_available) {
                 add(new AppInfoEntity(BACK_COLOUR, R.mipmap.icon_temperature_h88, R.string.app_h88_temperature,
-                        "com.ic.launcher", "com.ic.launcher.AnimalHeatActivity"));
+                        "com.ic.temperature", "com.ic.temperature.MainActivity"));
             }
             //心率
             if (ppg_ecg_sensor_available) {
index a6467be..47b8af3 100644 (file)
@@ -94,6 +94,7 @@
             android:text="@string/activity_temp_wrist_str"
             android:textColor="#FFFFFF"
             android:textSize="26sp"
+            android:visibility="@{disableWristTemp ? View.GONE : View.VISIBLE}"
             app:layout_constraintBottom_toTopOf="@+id/guideline5"
             app:layout_constraintEnd_toStartOf="@+id/imageView"
             app:layout_constraintStart_toStartOf="parent"