<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/mainBackColor"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/titleViewHeight"
android:background="@color/mainThemeColor">
<TextView
android:id="@+id/titleView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:text="@string/app_name"
android:textColor="@color/white"
android:textSize="@dimen/sp_18" />
<ImageView
android:id="@+id/rightOptionView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:paddingHorizontal="@dimen/dp_10"
android:src="@drawable/ic_change_map" />
</RelativeLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/coordinatorLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.amap.api.maps.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_solid_layout_white_radius_top_20"
android:orientation="vertical"
app:behavior_fitToContents="false"
app:behavior_halfExpandedRatio="0.425"
app:behavior_hideable="true"
app:behavior_peekHeight="30dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
<!--顶部短横线-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_30">
<View
android:layout_width="@dimen/dp_30"
android:layout_height="@dimen/dp_3"
android:layout_centerInParent="true"
android:background="@drawable/bottom_short_line" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/dp_10"
android:background="@drawable/bg_solid_layout_white_radius_10">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/homeRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_10"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingVertical="@dimen/dp_5"
android:text="闸井监控"
android:textColor="@color/mainTextColor"
android:textSize="@dimen/sp_18" />
<View style="@style/dividerViewStyle" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/unDeployedWellView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/redTextColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="已撤防" />
</LinearLayout>
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/deployedWellView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/yellowTextColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="已布防" />
</LinearLayout>
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/allWellDataView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/greenTextColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="全部" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_10"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingVertical="@dimen/dp_5"
android:text="工\u3000\u3000单"
android:textColor="@color/mainTextColor"
android:textSize="@dimen/sp_18" />
<View style="@style/dividerViewStyle" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/todoDataView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/redTextColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="待处理" />
</LinearLayout>
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/undeterminedDataView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/yellowTextColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="待确认" />
</LinearLayout>
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/inHandleDataView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/mainThemeColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="处理中" />
</LinearLayout>
<LinearLayout style="@style/homeLayoutStyle">
<TextView
android:id="@+id/completedDataView"
style="@style/homeDataTextViewStyle"
android:text="0"
android:textColor="@color/greenTextColor" />
<TextView
style="@style/homeTextViewStyle"
android:text="已完成" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>