fragment_order_application_part.xml
1.29 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
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<variable
name="presenter"
type="com.dayu.bigfish.presenter.orderpart.OrderPartPresenter" />
</data>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.dayu.bigfish.ui.views.LRecyclerView
android:id="@+id/lv_part"
setPresenter="@{presenter}"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@color/cl_bg"
app:itemType="@layout/item_apply_part_layout" />
<TextView
android:id="@+id/apply_part"
android:layout_width="match_parent"
android:layout_height="49dp"
android:gravity="center"
android:text="@{presenter.title}"
android:textColor="@color/white"
android:textSize="@dimen/sp_16"
android:onClick="@{()->presenter.applyOrReturnPart()}"
android:background="@color/cl_home_button"
/>
</LinearLayout>
</layout>