fragment_qiangdan_xuanzedashen.xml
7 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tool="http://schemas.android.com/tools"
android:orientation="vertical">
<com.chudiangameplay.android.ui.view.MultiStateView
android:id="@+id/multiplestatusView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:msv_emptyView="@layout/view_public_empty"
app:msv_errorView="@layout/view_public_error_view"
app:msv_loadingView="@layout/view_public_loading_view">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="44dp">
<!--呼叫中-->
<RelativeLayout
android:id="@+id/rl_hujiaozhong"
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="#fff">
<TextView
android:id="@+id/tv_text"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:gravity="center_vertical"
android:text="正在呼叫"
android:textColor="#999"
android:textSize="13sp" />
<TextView
android:id="@+id/tv_time"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_marginRight="16dp"
android:gravity="center_vertical"
android:text="04分59秒"
android:textColor="#333"
android:textSize="13sp" />
</RelativeLayout>
<!--等待30分钟-->
<RelativeLayout
android:id="@+id/rl_wait"
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="#fff"
android:visibility="gone"
tool:visibility="visible">
<TextView
android:id="@+id/tv_text2"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:gravity="center_vertical"
android:text="0"
android:textColor="#999"
android:textSize="13sp" />
<TextView
android:id="@+id/tv_time2"
android:layout_width="80dp"
android:layout_height="30dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="16dp"
android:background="@drawable/shape_circle_maincolor"
android:gravity="center"
android:text="重新匹配"
android:textColor="#fff"
android:textSize="13sp" />
</RelativeLayout>
</RelativeLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="8dp"
android:background="#fff"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/rl_empty"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="124dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_empty"
android:layout_width="121dp"
android:layout_height="121dp"
android:src="@drawable/ico_empty_waiting" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="22dp"
android:gravity="center"
android:text="正在匹配中..."
android:textColor="#333"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
android:text="请等待邀约响应"
android:textColor="#999"
android:textSize="12sp"
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</com.chudiangameplay.android.ui.view.MultiStateView>
<!--未读悬浮-->
<LinearLayout
android:id="@+id/ll_unred"
android:layout_width="wrap_content"
android:layout_height="32dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="40dp"
android:background="@drawable/shape_qiangdan_unread_dashen_bg"
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="gone">
<ImageView
android:layout_width="9dp"
android:layout_height="10dp"
android:layout_marginLeft="10dp"
android:src="@drawable/ico_qiangdan_unred_dashen_xiajiantou" />
<TextView
android:id="@+id/tv_unread_msgcount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="17dp"
android:text="0条未查看"
android:textColor="@color/mainColor"
android:textSize="12sp" />
</LinearLayout>
</RelativeLayout>