431 lines
18 KiB
XML
431 lines
18 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/color_f5f5f5">
|
|
|
|
<com.tairui.industrial_operation.widget.statusbar.StatusBarHeightView
|
|
android:id="@+id/statusbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_constraintTop_toBottomOf="@id/statusbar">
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/btnBack"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:padding="4dp"
|
|
android:src="@mipmap/ic_back_black"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="智能浸种"
|
|
android:textColor="@color/color_txt_black"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:orientation="vertical"
|
|
android:scrollbars="none"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:background="@drawable/bg_container_white_raduis_10"
|
|
android:orientation="vertical"
|
|
android:padding="12dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutTeam"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/tvTeamName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="A区智能浸种设备组"
|
|
android:textColor="@color/color_txt_black"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:src="@mipmap/ic_arrow_down_black" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="120dp"
|
|
android:layout_height="96dp"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/bg_container_f5_green_border_raduis_10"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:src="@mipmap/ic_monitoring_water" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:text="智能灌溉-001"
|
|
android:textColor="@color/color_txt_black"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:background="@drawable/bg_container_white_raduis_10"
|
|
android:padding="12dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutMonitor"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:id="@+id/tvMonitorName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="智能浸种-001"
|
|
android:textColor="@color/color_txt_black"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:src="@mipmap/ic_arrow_down_black" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="正常"
|
|
android:textColor="@color/color_green"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginLeft="4dp"
|
|
android:src="@mipmap/ic_station_status_normal" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/pic1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="12dp"
|
|
android:src="@mipmap/pic_soak_seeds_1"
|
|
app:layout_constraintDimensionRatio="334:252"
|
|
app:layout_constraintTop_toBottomOf="@id/layoutMonitor" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:orientation="vertical"
|
|
app:layout_constraintTop_toBottomOf="@id/pic1">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="浸种分析"
|
|
android:textColor="@color/color_txt_black"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="土壤温度"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="21℃"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="土壤湿度"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="18%"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="溶解氧含量"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="36%%"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="PH值"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="6.7"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="光照强度"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="偏高"
|
|
android:textColor="@color/color_txt_red"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="浸泡液位"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="正常"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="设备状态"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="正常"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center_vertical"
|
|
android:text="种子状态"
|
|
android:textColor="@color/color_txt_label"
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:text="出芽"
|
|
android:textColor="@color/color_txt_green"
|
|
android:textSize="14sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="浸种记录"
|
|
android:textColor="@color/color_txt_black"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp"
|
|
android:layout_marginTop="12dp"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/pic_irrigated_2" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |