layout_chatroom.xml
2.89 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="38dp">
<RadioGroup
android:id="@+id/tab_radio_group"
android:layout_width="match_parent"
android:layout_height="38dp"
android:background="@color/tab_bg"
android:orientation="horizontal">
<RadioButton
android:id="@+id/chatroom_tv_chatroom"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="聊天室"
android:textColor="@drawable/color_tab_item"
android:textSize="14sp" />
<RadioButton
android:id="@+id/chatroom_tv_privatechat"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:checked="false"
android:gravity="center"
android:padding="4dp"
android:text="私聊"
android:textColor="@drawable/color_tab_item"
android:textSize="14sp" />
<RadioButton
android:id="@+id/chatroom_tv_contribute"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:checked="false"
android:gravity="center"
android:includeFontPadding="false"
android:text="贡献榜"
android:textColor="@drawable/color_tab_item"
android:textSize="14sp" />
</RadioGroup>
<View
android:id="@+id/tag_1"
android:layout_width="1dp"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true" />
<ImageView
android:id="@+id/chatroom_privatechat_news"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="8dp"
android:layout_toRightOf="@+id/tag_1"
android:src="@drawable/notice_circle_red"
android:visibility="gone" />
</RelativeLayout>
<FrameLayout
android:id="@+id/chatroom_content"
android:layout_width="match_parent"
android:layout_height="match_parent">
</FrameLayout>
</LinearLayout>