rbgame_fragment_welfare.xml
3.6 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rlTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp">
<ImageView
android:id="@+id/ivNextBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="10dp"
android:padding="8dp"
android:src="@drawable/rbgame_ic_back_arrow"
android:visibility="gone" />
<TextView
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_gravity="center_horizontal"
android:text="礼包"
android:textColor="#ff333333"
android:textSize="18dp"
android:textStyle="bold"
tools:ignore="HardcodedText,SpUsage" />
</RelativeLayout>
<com.jmhc.rbgame.ui.widget.SwipeFlushView
android:id="@+id/swipeRefresh"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/btnMyWelfare"
android:layout_below="@+id/rlTitle"
android:layout_marginStart="25dp"
android:layout_marginEnd="25dp">
<ListView
android:id="@+id/listView"
android:background="#ffffff"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#00000000"
android:dividerHeight="6dp"
android:scrollbars="none" />
</com.jmhc.rbgame.ui.widget.SwipeFlushView>
<TextView
android:id="@+id/btnMyWelfare"
android:layout_width="match_parent"
android:layout_height="@dimen/button_height"
android:layout_alignParentBottom="true"
android:layout_marginStart="25dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="25dp"
android:layout_marginBottom="20dp"
android:background="@drawable/rbgame_btn_shape_red"
android:gravity="center"
android:text="我的礼包"
android:textColor="#ffffffff"
android:textSize="18sp"
tools:ignore="HardcodedText,SpUsage" />
</RelativeLayout>
<include
layout="@layout/rbgame_dialog_loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:visibility="gone" />
<TextView
android:id="@+id/tvNoData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="暂无礼包"
android:textColor="#333333"
android:textSize="13dp"
android:visibility="gone"
tools:ignore="HardcodedText" />
</FrameLayout>