trumpet_add_dialog.xml
3.1 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@drawable/round_rad5_bg"
android:backgroundTint="#f2f3f7"
android:orientation="vertical"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/top_round5_dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="添加小号" />
<ImageView
android:id="@+id/btn_cancel"
android:layout_width="13dp"
android:layout_height="13dp"
android:layout_marginRight="10dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_gravity="center"
android:src="@drawable/ttw_delete"
android:tint="#333333" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="35dp"
android:layout_marginTop="10dp"
android:background="@drawable/round_rad5_bg"
android:backgroundTint="#ffffff"
android:gravity="center_vertical"
android:orientation="horizontal"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:paddingLeft="5dp"
android:paddingRight="5dp">
<EditText
android:id="@+id/et_nick"
android:layout_width="wrap_content"
android:layout_height="35dip"
android:background="@null"
android:hint="支持中文英文,不得大于10个字符"
android:selectAllOnFocus="true"
android:singleLine="true"
android:maxLength="10"
android:textColor="#818181"
android:textColorHint="#666666"
android:textSize="13sp" />
<View
android:layout_weight="1"
android:layout_width="1dp"
android:layout_height="1dp"
/>
<ImageView
android:id="@+id/edit_close"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sdk_close"/>
</LinearLayout>
<TextView
android:id="@+id/btn_in"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="15dp"
android:background="@drawable/round_rad5_bg"
android:backgroundTint="@color/green2"
android:gravity="center"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:layout_marginLeft="15dp"
android:layout_marginBottom="15dp"
android:layout_marginRight="15dp"
android:text="确认"
android:textColor="#ffffff"
android:textSize="15sp" />
</LinearLayout>