|
|
|
|
@ -11,394 +11,643 @@
|
|
|
|
|
layout="@layout/layout_base" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_workTicket"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:background="#cccccc"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/lv_border_all_weather"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_workTicket"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:id="@+id/rl_wendu"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="大气温度"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="工作票"/>
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:src="@drawable/arrow_right_weather"
|
|
|
|
|
android:contentDescription="" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_wendu"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_toRightOf="@+id/tv_wendu"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="°C"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/time_wendu"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="2025-09-08 13:12:11"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="2dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="#aaaaaa" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_assiting"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:background="#cccccc"
|
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center|bottom"
|
|
|
|
|
android:paddingBottom="20dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_assiting"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:id="@+id/tv_refresh1"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="辅助工作"/>
|
|
|
|
|
|
|
|
|
|
android:background="@drawable/icon_refresh"
|
|
|
|
|
android:text=""/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="2dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="#aaaaaa" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_custom_add"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:background="#cccccc"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/lv_border_all_weather"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_custom_add"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="手动添加"/>
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/rl_shidu"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="5dp"
|
|
|
|
|
android:paddingEnd="5dp"
|
|
|
|
|
android:paddingTop="5dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="大气湿度"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:src="@drawable/arrow_right_weather"
|
|
|
|
|
android:contentDescription="" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_shidu"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:minHeight="66px">
|
|
|
|
|
|
|
|
|
|
android:layout_toRightOf="@+id/tv_shidu"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="%"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center">
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/time_shidu"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:text="每日作业风险清单" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="2025-09-08 13:12:11"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
|
|
android:gravity="center|bottom"
|
|
|
|
|
android:paddingBottom="20dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_time"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
android:id="@+id/tv_refresh2"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:background="@drawable/icon_refresh"
|
|
|
|
|
android:text=""/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80px"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/lv_border_all_weather"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:minHeight="60px">
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/rl_qiya"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_a_desc"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center|right"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="A:" />
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="大气气压"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:src="@drawable/arrow_right_weather"
|
|
|
|
|
android:contentDescription="" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_a"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:textColor="#FFA500"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="0" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/tv_qiya"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:minHeight="60px">
|
|
|
|
|
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_b_desc"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center|right"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="B:" />
|
|
|
|
|
android:layout_toRightOf="@+id/tv_qiya"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="hpa"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_b"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/time_qiya"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:textColor="#FFA500"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="0" />
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="2025-09-08 13:12:11"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center|bottom"
|
|
|
|
|
android:paddingBottom="20dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_refresh3"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:background="@drawable/icon_refresh"
|
|
|
|
|
android:text=""/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/lv_border_all_weather"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:minHeight="60px">
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/rl_fengshu"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_c1_desc"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center|right"
|
|
|
|
|
android:layout_weight="1.2"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="C1:" />
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="实时风速"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:src="@drawable/arrow_right_weather"
|
|
|
|
|
android:contentDescription="" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_c1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/tv_fengsu"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="0.8"
|
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:textColor="#FFA500"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="0" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80px"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:minHeight="60px">
|
|
|
|
|
|
|
|
|
|
android:layout_toRightOf="@+id/tv_fengsu"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="米/秒"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_c2_desc"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center|right"
|
|
|
|
|
android:text="C2:"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_c2"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/time_fengsu"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="2025-09-08 13:12:11"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:textColor="#FFA500"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="0" />
|
|
|
|
|
android:gravity="center|bottom"
|
|
|
|
|
android:paddingBottom="20dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_refresh4"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:background="@drawable/icon_refresh"
|
|
|
|
|
android:text=""/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/lv_border_all_weather"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:minHeight="60px">
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/rl_fengqiang"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_c3_desc"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center|right"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="C3:" />
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="实时风向"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:src="@drawable/arrow_right_weather"
|
|
|
|
|
android:contentDescription="" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_c3"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/tv_fengxiang"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:textColor="#FFA500"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="0" />
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:minHeight="60px">
|
|
|
|
|
|
|
|
|
|
android:layout_toRightOf="@+id/tv_fengxiang"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="°"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_lowLisk_desc"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center|right"
|
|
|
|
|
android:layout_weight="1.2"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="低风险:" />
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_lowLisk"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/time_fengxiang"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_weight="0.8"
|
|
|
|
|
android:gravity="center_vertical|left"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:textColor="#FFA500"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:text="0" />
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="2025-09-08 13:12:11"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center|bottom"
|
|
|
|
|
android:paddingBottom="20dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_refresh5"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:background="@drawable/icon_refresh"
|
|
|
|
|
android:text=""/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/item_head"
|
|
|
|
|
layout="@layout/item_work_risk_list"
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/lv_border_all_weather"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_marginStart="10px"
|
|
|
|
|
android:layout_marginEnd="10px"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="2"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="10px"
|
|
|
|
|
android:layout_marginEnd="10px"
|
|
|
|
|
android:layout_marginBottom="10px"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
|
android:id="@+id/lv"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/rl_yuliang"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:divider="#00000000"
|
|
|
|
|
android:dividerHeight="0px"/>
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_name_sd"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="日雨量累计"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:src="@drawable/arrow_right_weather"
|
|
|
|
|
android:contentDescription="" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_yuliang"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_nodata"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/viewfinder_mask"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="暂无数据"/>
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_toRightOf="@+id/tv_yuliang"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="毫米"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_report"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="查看报告"/>
|
|
|
|
|
android:id="@+id/time_yuliang"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:text="2025-09-08 13:12:11"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="2dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="#aaaaaa" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_refresh"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
|
android:gravity="center|bottom"
|
|
|
|
|
android:paddingBottom="20dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_refresh"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:id="@+id/tv_refresh6"
|
|
|
|
|
android:layout_width="25dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="重新加载列表数据"/>
|
|
|
|
|
|
|
|
|
|
android:background="@drawable/icon_refresh"
|
|
|
|
|
android:text=""/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|