dialog_room_create_room.xml
6.12 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
<?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:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center">
<View
android:id="@+id/view_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99555555" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true">
<LinearLayout
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape_room_half_round6dp_ffffff"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingLeft="12dp"
android:paddingRight="12dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginBottom="13dp"
android:layout_marginTop="13dp"
android:text="创建房间"
android:textColor="@color/text_333333"
android:textSize="15sp" />
<ImageView
android:id="@+id/iv_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:src="@drawable/icon_close" />
</RelativeLayout>
<include layout="@layout/view_public_line"></include>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="25dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginBottom="13dp"
android:layout_marginTop="13dp"
android:text="房间图标"
android:textColor="@color/text_999999"
android:textSize="15sp" />
<RelativeLayout
android:id="@+id/rl_uploadimg"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_alignParentRight="true">
<com.chudiangameplay.android.ui.view.RoundImageView
android:id="@+id/iv_img"
android:layout_width="60dp"
android:layout_height="60dp"
android:scaleType="centerCrop"
android:src="@drawable/ico_default_img_fang"
app:radius="6dp"
app:type="round" />
<TextView
android:layout_width="match_parent"
android:layout_height="20dp"
android:layout_alignParentBottom="true"
android:background="@drawable/shape_round6dp_black_half"
android:gravity="center"
android:text="点击编辑"
android:textColor="@color/white"
android:textSize="11sp" />
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="25dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="房间名称"
android:textColor="@color/text_999999"
android:textSize="15sp" />
<EditText
android:id="@+id/et_room_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:textColor="@color/text_333333"
android:minWidth="100dp"
android:maxWidth="200dp"
android:singleLine="true"
android:text=""
android:gravity="right"
android:maxLength="15"
android:background="@null"
android:textSize="20sp"
android:textStyle="bold"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="25dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="房间类型"
android:layout_alignParentTop="true"
android:textColor="@color/text_999999"
android:textSize="15sp" />
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerview_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true" />
</RelativeLayout>
<TextView
android:id="@+id/tv_submit"
android:layout_width="match_parent"
android:layout_height="44dp"
android:layout_marginBottom="30dp"
android:layout_marginTop="50dp"
android:background="@drawable/selector_btn_enable"
android:gravity="center"
android:enabled="false"
android:text="创建房间"
android:textColor="#fff"
android:textSize="15sp" />
</LinearLayout>
</ScrollView>
</RelativeLayout>