fragment_home_im.xml
4.56 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
<?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"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#eee"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="#fff">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="消息"
android:textColor="#333"
android:textSize="18sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/iv_contact"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="16dp"
android:src="@drawable/ico_im_contact" />
<ImageView
android:id="@+id/iv_sendmsg"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:src="@drawable/ico_contact_add"
android:visibility="gone" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="#eee"></View>
<LinearLayout
android:id="@+id/ll_open_notice"
android:background="#F5F5F5"
android:layout_width="match_parent"
android:layout_height="33dp"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:textColor="#999"
android:textSize="11sp"
android:gravity="center_vertical"
android:text="记得开启消息通知,以免错过订单及聊天消息哦"
/>
<TextView
android:id="@+id/tv_open_notice"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:text="去开启"
android:textColor="@color/mainColor"
android:textSize="12sp"
/>
</LinearLayout>
<com.chudiangameplay.android.ui.view.MultiStateView
android:id="@+id/multiplestatusview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff"
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">
<com.chudiangameplay.android.ui.view.swipemenulistview.SwipeMenuListView
android:id="@+id/swipe_listview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff"
android:divider="@android:color/transparent"
android:dividerHeight="0dp"
android:listSelector="@null" />
</LinearLayout>
</com.chudiangameplay.android.ui.view.MultiStateView>
<TextView
android:id="@+id/tv_unlogin"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="8dp"
android:background="#fff"
android:gravity="center"
android:text="未登录\n点击登录"
android:textSize="20sp" />
</LinearLayout>
</RelativeLayout>