doum
2025-10-15 2b287056e2f59518888d05a1bbc7e5a55fbd84d5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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.face.ErrVM" />
    </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.main.ErrActivity">
 
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/recycler_view"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toTopOf="@+id/tb_back"
            android:layout_marginBottom="30dp"
            />
 
        <ImageView
            android:id="@+id/im_empty"
            android:layout_width="400dp"
            android:layout_height="400dp"
            android:src="@mipmap/default_nodata"
            app:layout_constraintTop_toTopOf="@+id/recycler_view"
            app:layout_constraintBottom_toBottomOf="@+id/recycler_view"
            app:layout_constraintStart_toStartOf="@+id/recycler_view"
            app:layout_constraintEnd_toEndOf="@+id/recycler_view"
            android:visibility="@{model.emptyVisibility}"/>
 
        <TextView
            android:id="@+id/tb_back"
            android:layout_width="wrap_content"
            android:layout_height="50dp"
            android:text="@string/back_syy"
            android:textSize="20sp"
            android:textColor="@color/white"
            android:gravity="center"
            android:background="@drawable/shape_r46_xk"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            android:layout_marginBottom="30dp"
            android:paddingLeft="80dp"
            android:paddingRight="80dp"
            app:commandType="@{1}"
            app:onClickCommand="@{model.myTypeCommand}"/>
    </androidx.constraintlayout.widget.ConstraintLayout>
</layout>