dialog_room_pwd.xml
3.49 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:id="@+id/view_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#77555555"></View>
<LinearLayout
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_margin="40dp"
android:background="@drawable/shape_round14dp_ffffff"
android:gravity="center_horizontal"
android:orientation="vertical">
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="该房间已加密"
android:textColor="#000"
android:textSize="17sp"
android:textStyle="bold"
/>
<EditText
android:id="@+id/et_pwd"
android:layout_width="match_parent"
android:layout_height="41dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="24dp"
android:background="@drawable/shape_round6dp_stroke1px_9f9f9f"
android:gravity="center"
android:hint="请输入6位数字密码"
android:inputType="numberPassword"
android:maxLength="6"
android:textColor="#333"
android:textColorHint="#ccc"
android:textSize="17sp" />
<TextView
android:id="@+id/tv_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0/6"
android:layout_gravity="right"
android:layout_marginRight="20dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="10dp"
android:textSize="11sp"
/>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="#eee"></View>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="44dp"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_cancel"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="取消"
android:textStyle="bold"
android:textColor="#333"
android:textSize="17sp" />
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="#eee"></View>
<TextView
android:id="@+id/tv_submit"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="提交"
android:textStyle="bold"
android:textColor="@color/mainColor"
android:textSize="17sp" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>