| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <layout > |
| | | <data> |
| | | <import type="com.doumee.lib_coremodel.base.BaseViewModel"/> |
| | | <variable |
| | | name="model" |
| | | type="com.doumee.keyCabinet.ui.keyCabinet.ManageCabinetVM" /> |
| | | </data> |
| | | <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" |
| | | tools:context=".ui.keyCabinet.ManageCabinetActivity" |
| | | android:background="@color/white" |
| | | > |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_title" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="é¦é¡µ" |
| | | android:textColor="#ff111111" |
| | | android:textSize="24sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginTop="30dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="æåæ»æ°ï¼" |
| | | android:textColor="#ff666666" |
| | | android:textSize="22sp" |
| | | app:layout_constraintTop_toTopOf="@+id/tv_title" |
| | | app:layout_constraintBottom_toBottomOf="@+id/tv_title" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginLeft="30dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_count" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text='@{model.dataOb.gridNum+""}' |
| | | android:textColor="#111111" |
| | | android:textSize="22sp" |
| | | app:layout_constraintTop_toTopOf="@+id/tv1" |
| | | app:layout_constraintStart_toEndOf="@+id/tv1"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="éåºç»å½" |
| | | android:textColor="#ff279baa" |
| | | android:textSize="22sp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:paddingTop="7dp" |
| | | android:paddingBottom="7dp" |
| | | android:paddingLeft="15dp" |
| | | android:paddingRight="15dp" |
| | | android:background="@drawable/shape_r45_tc_bg" |
| | | app:layout_constraintTop_toTopOf="@+id/tv_title" |
| | | app:layout_constraintBottom_toBottomOf="@+id/tv_title" |
| | | app:commandType="@{1}" |
| | | app:onClickCommand="@{model.myTypeCommand}" |
| | | android:layout_marginRight="30dp"/> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl_1" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toBottomOf="@+id/tv_title" |
| | | android:layout_marginTop="30dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginLeft="30dp" |
| | | android:layout_marginRight="30dp"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv2" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="é¥åï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent"/> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_1" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintLeft_toRightOf="@+id/tv2" |
| | | app:layout_constraintRight_toLeftOf="@+id/ll_2" |
| | | android:gravity="center_vertical"> |
| | | |
| | | <View |
| | | android:layout_width="22dp" |
| | | android:layout_height="22dp" |
| | | android:background="@drawable/shape_c01_bg" |
| | | /> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="å¨ä½ï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:gravity="center" |
| | | android:layout_marginLeft="10dp" |
| | | android:paddingBottom="3dp" |
| | | /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_zw_count" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text='@{model.dataOb.onlineKeyNum+""}' |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_2" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintLeft_toRightOf="@+id/ll_1" |
| | | app:layout_constraintRight_toLeftOf="@+id/ll_3" |
| | | android:gravity="center_vertical"> |
| | | |
| | | <View |
| | | android:layout_width="22dp" |
| | | android:layout_height="22dp" |
| | | android:background="@drawable/shape_c02_bg"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="ååºï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:layout_marginLeft="10dp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_jc_count" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text='@{model.dataOb.outKeyNum+""}' |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_3" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintLeft_toRightOf="@+id/ll_2" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | | android:gravity="center_vertical|right"> |
| | | |
| | | <View |
| | | android:layout_width="22dp" |
| | | android:layout_height="22dp" |
| | | android:background="@drawable/shape_c03_bg"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="ç»´ä¿®ä¿å
»ï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:layout_marginLeft="10dp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_wx_count" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text='@{model.dataOb.serviceKeyNum+""}' |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | </LinearLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl_2" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="30dp" |
| | | app:layout_constraintTop_toBottomOf="@+id/cl_1" |
| | | android:layout_marginTop="22dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginLeft="30dp" |
| | | android:layout_marginRight="30dp"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv3" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="æä½ï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent"/> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_4" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintLeft_toRightOf="@+id/tv3" |
| | | app:layout_constraintRight_toLeftOf="@+id/ll_5" |
| | | android:gravity="center_vertical"> |
| | | |
| | | <View |
| | | android:layout_width="22dp" |
| | | android:layout_height="22dp" |
| | | android:background="@drawable/shape_c04_bg"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="æ
éï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:layout_marginLeft="10dp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_gz_count" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text='@{model.dataOb.errGridNum+""}' |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_5" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintLeft_toRightOf="@+id/ll_4" |
| | | app:layout_constraintRight_toLeftOf="@+id/ll_6" |
| | | android:gravity="center_vertical"> |
| | | |
| | | <View |
| | | android:layout_width="22dp" |
| | | android:layout_height="22dp" |
| | | android:background="@drawable/shape_c05_bg"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="æªç»å®ï¼" |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:layout_marginLeft="10dp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_wbd_count" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text='@{model.dataOb.unBindGridNum+""}' |
| | | android:textColor="#ff111111" |
| | | android:textSize="21sp" |
| | | android:paddingBottom="3dp"/> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_6" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintLeft_toRightOf="@+id/ll_5" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | | android:orientation="horizontal" |
| | | android:gravity="center_vertical"> |
| | | |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | app:layout_constraintTop_toBottomOf="@+id/cl_2" |
| | | app:layout_constraintBottom_toTopOf="@+id/tv_all_open" |
| | | android:layout_marginTop="30dp" |
| | | android:layout_marginBottom="18dp" |
| | | android:layout_marginLeft="30dp" |
| | | android:layout_marginRight="30dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_all_open" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="75dp" |
| | | android:text="å
¨å¼" |
| | | android:textStyle="bold" |
| | | android:gravity="center" |
| | | android:textColor="#ff279baa" |
| | | android:textSize="24sp" |
| | | android:paddingLeft="30dp" |
| | | android:paddingRight="30dp" |
| | | android:background="@drawable/shape_mb_bg01" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="30dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:commandType="@{2}" |
| | | app:onClickCommand="@{model.myTypeCommand}" |
| | | android:layout_marginLeft="30dp" |
| | | /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_pl_open" |
| | | android:layout_width="0dp" |
| | | android:layout_height="75dp" |
| | | android:text="æ¹éå¼é¨" |
| | | android:textStyle="bold" |
| | | android:gravity="center" |
| | | android:textColor="@color/white" |
| | | android:textSize="24sp" |
| | | android:paddingLeft="30dp" |
| | | android:paddingRight="30dp" |
| | | android:background="@drawable/shape_mb_bt_ok" |
| | | app:layout_constraintTop_toTopOf="@+id/tv_all_open" |
| | | app:layout_constraintLeft_toRightOf="@+id/tv_all_open" |
| | | app:layout_constraintRight_toLeftOf="@+id/tv_bj" |
| | | android:layout_marginLeft="15dp" |
| | | app:commandType="@{3}" |
| | | app:onClickCommand="@{model.myTypeCommand}"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_bj" |
| | | android:layout_width="0dp" |
| | | android:layout_height="75dp" |
| | | android:text="æ è®°" |
| | | android:textStyle="bold" |
| | | android:gravity="center" |
| | | android:textColor="@color/white" |
| | | android:textSize="24sp" |
| | | android:paddingLeft="30dp" |
| | | android:paddingRight="30dp" |
| | | android:background="@drawable/shape_mb_bt_faile" |
| | | app:layout_constraintTop_toTopOf="@+id/tv_all_open" |
| | | app:layout_constraintLeft_toRightOf="@+id/tv_pl_open" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | | android:layout_marginLeft="15dp" |
| | | app:commandType="@{4}" |
| | | app:onClickCommand="@{model.myTypeCommand}" |
| | | android:layout_marginRight="30dp"/> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl_cz" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:visibility="visible"> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="#80000000" |
| | | app:commandType="@{5}" |
| | | app:onClickCommand="@{model.myTypeCommand}"/> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl_cz_1" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:background="@drawable/shape_r12_top_bg"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_cz_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="æä½" |
| | | android:textColor="#ff222222" |
| | | android:textSize="24sp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginTop="30dp" |
| | | app:layout_constraintBottom_toTopOf="@+id/tv_by" |
| | | android:layout_marginBottom="45dp"/> |
| | | |
| | | <ImageView |
| | | android:layout_width="50dp" |
| | | android:layout_height="50dp" |
| | | android:src="@mipmap/ic_close" |
| | | android:padding="13dp" |
| | | app:layout_constraintTop_toTopOf="@+id/tv_cz_1" |
| | | app:layout_constraintBottom_toBottomOf="@+id/tv_cz_1" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginRight="17dp" |
| | | app:commandType="@{5}" |
| | | app:onClickCommand="@{model.myTypeCommand}"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_by" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="75dp" |
| | | android:text="æ 记为维修ä¿å
»" |
| | | android:textStyle="bold" |
| | | android:gravity="center" |
| | | android:textColor="#279BAA" |
| | | android:textSize="24sp" |
| | | android:paddingLeft="30dp" |
| | | android:paddingRight="30dp" |
| | | android:background="@drawable/shape_mb_cz_2_bg" |
| | | app:layout_constraintBottom_toTopOf="@+id/tv_bjgz" |
| | | android:layout_marginBottom="30dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:commandType="@{6}" |
| | | app:onClickCommand="@{model.myTypeCommand}" |
| | | android:layout_marginLeft="30dp" |
| | | android:layout_marginRight="30dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_bjgz" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="75dp" |
| | | android:text="æ 记为æ
é" |
| | | android:textStyle="bold" |
| | | android:gravity="center" |
| | | android:textColor="#FF3600" |
| | | android:textSize="24sp" |
| | | android:paddingLeft="30dp" |
| | | android:paddingRight="30dp" |
| | | android:background="@drawable/shape_mb_cz_1_bg" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="45dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:commandType="@{7}" |
| | | app:onClickCommand="@{model.myTypeCommand}" |
| | | android:layout_marginLeft="30dp" |
| | | android:layout_marginRight="30dp"/> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl_km_tip" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:visibility="gone"> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="#80000000" |
| | | app:commandType="@{8}" |
| | | app:onClickCommand="@{model.myTypeCommand}"/> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginLeft="46dp" |
| | | android:layout_marginRight="46dp" |
| | | android:background="@drawable/shape_r15_fff_bg" |
| | | android:padding="30dp"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/img_cl_km_1" |
| | | android:layout_width="120dp" |
| | | android:layout_height="120dp" |
| | | android:src="@mipmap/ic_success" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_cl_km_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="æé¨æå¼æå" |
| | | android:textColor="#ff111111" |
| | | android:textSize="33sp" |
| | | app:layout_constraintTop_toBottomOf="@+id/img_cl_km_1" |
| | | android:layout_marginTop="30dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_cl_km_2" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="é¥åæAC103ãAC104ãAC105ãAC104ãAC105ãAC104ãAC105ãAC105ãAC104ãAC105å¼é¨æåï¼é¢è¿å请å
³é¨" |
| | | android:textColor="#ff333333" |
| | | android:textSize="22sp" |
| | | android:gravity="center" |
| | | app:layout_constraintTop_toBottomOf="@+id/tv_cl_km_1" |
| | | android:layout_marginTop="30dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_cl_km_close" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="75dp" |
| | | android:text="60s èªå¨å
³é" |
| | | android:textStyle="bold" |
| | | android:gravity="center" |
| | | android:textColor="#ff279baa" |
| | | android:textSize="24sp" |
| | | android:background="@drawable/shape_mb_bg01" |
| | | app:layout_constraintTop_toBottomOf="@+id/tv_cl_km_2" |
| | | app:commandType="@{9}" |
| | | app:onClickCommand="@{model.myTypeCommand}" |
| | | android:layout_marginTop="30dp"/> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | </layout> |