|
74 | 74 | android:textStyle="bold" /> |
75 | 75 | </LinearLayout> |
76 | 76 |
|
77 | | - <LinearLayout |
78 | | - android:id="@+id/dash_tunnel" |
79 | | - android:layout_width="0dp" |
80 | | - android:layout_height="wrap_content" |
81 | | - android:layout_weight="1" |
82 | | - android:gravity="center" |
83 | | - android:orientation="horizontal" |
84 | | - android:background="?android:attr/selectableItemBackground" |
85 | | - android:padding="12dp" |
86 | | - android:visibility="gone"> |
87 | | - |
88 | | - <View |
89 | | - android:id="@+id/led_tunnel" |
90 | | - android:layout_width="10dp" |
91 | | - android:layout_height="10dp" |
92 | | - android:layout_marginEnd="8dp" |
93 | | - android:background="@drawable/led_on_green" /> |
94 | | - |
95 | | - <TextView |
96 | | - android:layout_width="wrap_content" |
97 | | - android:layout_height="wrap_content" |
98 | | - android:text="@string/tunnel" |
99 | | - android:textColor="@color/dash_text_primary" |
100 | | - android:textStyle="bold" /> |
101 | | - </LinearLayout> |
102 | 77 | </LinearLayout> |
103 | 78 |
|
104 | | - <Button |
105 | | - android:id="@+id/control" |
106 | | - android:layout_width="match_parent" |
107 | | - android:layout_height="90dp" |
108 | | - android:layout_marginHorizontal="12dp" |
109 | | - android:text="@string/control_enable" |
110 | | - android:textSize="20sp" |
111 | | - android:textStyle="bold" |
112 | | - android:textColor="@color/text_on_accent" |
113 | | - android:background="@drawable/rounded_button" |
114 | | - android:backgroundTint="@color/btn_vpn_off" |
115 | | - android:textAllCaps="false" |
116 | | - android:visibility="gone" /> |
117 | | - |
118 | | - <TextView |
119 | | - android:id="@+id/control_description" |
120 | | - android:layout_width="match_parent" |
121 | | - android:layout_height="wrap_content" |
122 | | - android:layout_marginHorizontal="12dp" |
123 | | - android:text="@string/vpn_description" |
124 | | - android:textSize="13sp" |
125 | | - android:gravity="center" |
126 | | - android:textColor="?android:attr/textColorSecondary" |
127 | | - android:layout_marginTop="8dp" |
128 | | - android:layout_marginBottom="12dp" |
129 | | - android:visibility="gone" /> |
130 | | - |
131 | 79 | <Button |
132 | 80 | android:id="@+id/btnBrowseContent" |
133 | 81 | android:layout_width="match_parent" |
|
216 | 164 | android:textColor="@color/text_on_accent" |
217 | 165 | android:textAllCaps="false" /> |
218 | 166 |
|
219 | | - <TextView |
220 | | - android:layout_width="wrap_content" |
221 | | - android:layout_height="wrap_content" |
222 | | - android:text="@string/socks_addr" |
223 | | - android:textColor="?android:attr/textColorSecondary" |
224 | | - android:textSize="12sp" |
225 | | - android:visibility="gone" /> |
226 | | - |
227 | | - <EditText |
228 | | - android:id="@+id/socks_addr" |
229 | | - android:layout_width="match_parent" |
230 | | - android:layout_height="wrap_content" |
231 | | - android:singleLine="true" |
232 | | - android:textColor="?android:attr/textColorPrimary" |
233 | | - android:visibility="gone" /> |
234 | | - |
235 | | - <TextView |
236 | | - android:layout_width="wrap_content" |
237 | | - android:layout_height="wrap_content" |
238 | | - android:text="@string/socks_port" |
239 | | - android:textColor="?android:attr/textColorSecondary" |
240 | | - android:textSize="12sp" |
241 | | - android:visibility="gone" /> |
242 | | - |
243 | | - <EditText |
244 | | - android:id="@+id/socks_port" |
245 | | - android:layout_width="match_parent" |
246 | | - android:layout_height="wrap_content" |
247 | | - android:singleLine="true" |
248 | | - android:inputType="number" |
249 | | - android:textColor="?android:attr/textColorPrimary" |
250 | | - android:visibility="gone" /> |
251 | | - |
252 | 167 | <TextView |
253 | 168 | android:id="@+id/adv_config_label" |
254 | 169 | android:layout_width="match_parent" |
|
268 | 183 | android:layout_height="wrap_content" |
269 | 184 | android:visibility="gone"> |
270 | 185 |
|
271 | | - <TextView |
272 | | - android:layout_width="wrap_content" |
273 | | - android:layout_height="wrap_content" |
274 | | - android:text="@string/socks_udp_addr" |
275 | | - android:textColor="?android:attr/textColorSecondary" |
276 | | - android:textSize="11sp" /> |
277 | | - |
278 | | - <EditText |
279 | | - android:id="@+id/socks_udp_addr" |
280 | | - android:layout_width="match_parent" |
281 | | - android:layout_height="wrap_content" |
282 | | - android:singleLine="true" |
283 | | - android:textColor="?android:attr/textColorPrimary" /> |
284 | | - |
285 | | - <TextView |
286 | | - android:layout_width="wrap_content" |
287 | | - android:layout_height="wrap_content" |
288 | | - android:text="@string/socks_user" |
289 | | - android:textColor="?android:attr/textColorSecondary" |
290 | | - android:textSize="11sp" /> |
291 | | - |
292 | | - <EditText |
293 | | - android:id="@+id/socks_user" |
294 | | - android:layout_width="match_parent" |
295 | | - android:layout_height="wrap_content" |
296 | | - android:singleLine="true" |
297 | | - android:textColor="?android:attr/textColorPrimary" /> |
298 | | - |
299 | | - <TextView |
300 | | - android:layout_width="wrap_content" |
301 | | - android:layout_height="wrap_content" |
302 | | - android:text="@string/socks_pass" |
303 | | - android:textColor="?android:attr/textColorSecondary" |
304 | | - android:textSize="11sp" /> |
305 | | - |
306 | | - <EditText |
307 | | - android:id="@+id/socks_pass" |
308 | | - android:layout_width="match_parent" |
309 | | - android:layout_height="wrap_content" |
310 | | - android:singleLine="true" |
311 | | - android:inputType="textPassword" |
312 | | - android:textColor="?android:attr/textColorPrimary" /> |
313 | | - |
314 | 186 | <CheckBox |
315 | 187 | android:id="@+id/udp_in_tcp" |
316 | 188 | android:layout_width="wrap_content" |
|
0 commit comments