brsdk_trumpets.xml
6.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
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/brsdk_layout_root"
android:gravity="top"
tools:layout_width="match_parent"
tools:layout_marginStart="32dp"
tools:layout_marginEnd="32dp"
tools:layout_gravity="center"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginTop="-8dp"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textColor="@color/brsdk_white"
android:includeFontPadding="false"
android:gravity="center_vertical"
android:textSize="@dimen/brsdk_font_16sp"
android:text="@string/brsdk_auto_welcome"
/>
<TextView
android:id="@+id/brAccount"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:textColor="@color/brsdk_theme"
android:includeFontPadding="false"
android:gravity="center_vertical"
android:layout_marginStart="@dimen/brsdk_space_4dp"
android:textSize="@dimen/brsdk_font_16sp"
android:ellipsize="end"
android:maxLines="1"
tools:text="17726342778"
/>
<TextView
android:id="@+id/brSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/brsdk_theme"
android:includeFontPadding="false"
android:textSize="@dimen/brsdk_font_14sp"
android:text="@string/brsdk_switch_account"
android:paddingTop="@dimen/brsdk_space_8dp"
android:paddingBottom="@dimen/brsdk_space_8dp"
/>
</LinearLayout>
<TextView
android:id="@+id/brLoading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="48dp"
android:layout_marginBottom="48dp"
android:text="@string/brsdk_loading_text"
android:textColor="@color/brsdk_white50"
android:textSize="@dimen/brsdk_font_12sp"
/>
<LinearLayout
android:id="@+id/brDescribe"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="@dimen/brsdk_space_4dp"
android:layout_marginTop="2dp"
android:visibility="gone"
tools:visibility="visible"
>
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/brsdk_trumpet_desc"
android:textSize="@dimen/brsdk_font_12sp"
android:maxLines="2"
android:textColor="@color/brsdk_white50"
/>
<TextView
android:id="@+id/brSubjoin"
android:text="@string/brsdk_trumpet_add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/brsdk_space_8dp"
android:layout_marginTop="@dimen/brsdk_space_4dp"
android:layout_marginBottom="@dimen/brsdk_space_4dp"
android:paddingTop="@dimen/brsdk_space_4dp"
android:paddingBottom="@dimen/brsdk_space_4dp"
android:paddingStart="@dimen/brsdk_space_8dp"
android:paddingEnd="@dimen/brsdk_space_8dp"
android:background="@drawable/brsdk_r4_theme"
android:textColor="@color/brsdk_white"
android:textSize="@dimen/brsdk_font_14sp"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/brEditor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="@dimen/brsdk_space_4dp"
android:layout_marginTop="2dp"
android:visibility="gone"
tools:visibility="visible"
>
<EditText
android:id="@+id/brTrumpet"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:padding="@dimen/brsdk_space_4dp"
android:hint="@string/brsdk_trumpet_hint"
android:textColor="@color/brsdk_white"
android:textColorHint="@color/brsdk_white50"
android:textSize="@dimen/brsdk_font_14sp"
android:background="@drawable/brsdk_br4_theme"
tools:text="大师傅大势"
/>
<TextView
android:id="@+id/brSubmit"
android:text="@string/brsdk_trumpet_submit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/brsdk_space_16dp"
android:layout_marginTop="@dimen/brsdk_space_4dp"
android:layout_marginBottom="@dimen/brsdk_space_4dp"
android:paddingTop="@dimen/brsdk_space_4dp"
android:paddingBottom="@dimen/brsdk_space_4dp"
android:paddingStart="@dimen/brsdk_space_8dp"
android:paddingEnd="@dimen/brsdk_space_8dp"
android:background="@drawable/brsdk_r4_theme"
android:textColor="@color/brsdk_white"
android:textSize="@dimen/brsdk_font_14sp"
/>
</LinearLayout>
<ListView
android:id="@+id/brTrumpets"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never"
android:scrollbars="none"
android:visibility="gone"
android:divider="@null"
tools:visibility="visible"
tools:listitem="@layout/brsdk_item_trumpet"
/>
</LinearLayout>