<?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"> <include layout="@layout/include_base_title" /> <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:id="@+id/bottomBehaviorLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/bg_layout_radius_20" android:orientation="vertical" 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_layout"> <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_layout" 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/titleFontSize" /> <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_layout" 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/titleFontSize" /> <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>