activity_redeploy.xml
2.9 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<layout 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">
<data>
<variable
name="presenter"
type="com.dayu.usercenter.presenter.RedeployPresenter" />
</data>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/titleRl"
style="@style/title">
<TextView
android:id="@+id/tv_title"
style="@style/text_title"
android:text="师傅列表" />
<ImageView
android:id="@+id/title_back"
style="@style/title_image_back" />
<TextView
android:id="@+id/tv_right_title"
style="@style/title_right_text"
android:textSize="15sp"
android:visibility="gone" />
</RelativeLayout>
<TextView
android:id="@+id/presentTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/titleRl"
android:layout_marginTop="10dp"
android:paddingStart="@dimen/dp_20"
android:text="已指派的师傅:"
android:textSize="18dp"
android:visibility="gone" />
<TextView
android:id="@+id/presentName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/titleRl"
android:layout_marginTop="10dp"
android:layout_toRightOf="@+id/presentTv"
android:text="@{presenter.list.engineerName}"
android:textSize="18dp"
android:visibility="gone"
tools:text="的角度来讲" />
<com.dayu.widgets.LRecyclerView
android:id="@+id/recycler"
setPresenter="@{presenter}"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/presentName"
android:layout_marginTop="10dp"
android:layout_marginBottom="70dp"
app:itemType="@layout/item_redeploy" />
<TextView
android:id="@+id/redeploy"
android:layout_width="200dp"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="10dp"
android:background="@drawable/btn_blue_commom"
android:gravity="center"
android:text="马上转派"
android:textColor="@color/white"
android:textSize="18dp" />
</RelativeLayout>
</layout>