191 lines
7.4 KiB
XML
191 lines
7.4 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="病虫害预防分析仪"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
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:orientation="vertical"
|
||
|
android:padding="12dp">
|
||
|
|
||
|
<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" />
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="340dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:src="@mipmap/pic_pest_prevention_1" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="24dp"
|
||
|
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:src="@mipmap/pic_pest_prevention_2" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="24dp"
|
||
|
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:src="@mipmap/pic_pest_prevention_3" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|