1<?xml version="1.0" encoding="utf-8"?>
2<layout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools">
5
6 <RelativeLayout
7 android:layout_width="match_parent"
8 android:layout_height="match_parent"
9 android:background="?attr/color_background_secondary">
10
11 <ScrollView
12 android:layout_width="fill_parent"
13 android:layout_height="wrap_content"
14 android:layout_above="@+id/button_bar"
15 android:layout_alignParentTop="true">
16
17 <LinearLayout
18 android:id="@+id/account_main_layout"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:orientation="vertical">
22
23
24 <android.support.v7.widget.CardView
25 android:id="@+id/editor"
26 android:layout_width="fill_parent"
27 android:layout_height="wrap_content"
28 android:layout_marginBottom="@dimen/activity_vertical_margin"
29 android:layout_marginLeft="@dimen/activity_horizontal_margin"
30 android:layout_marginRight="@dimen/activity_horizontal_margin"
31 android:layout_marginTop="@dimen/activity_vertical_margin">
32
33 <RelativeLayout
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
36 android:padding="@dimen/card_padding_regular">
37
38 <com.makeramen.roundedimageview.RoundedImageView
39 android:id="@+id/avater"
40 android:layout_width="72dp"
41 android:layout_height="72dp"
42 android:layout_alignParentTop="true"
43 android:layout_marginRight="16dp"
44 android:contentDescription="@string/account_image_description"
45 app:riv_corner_radius="2dp"/>
46
47 <LinearLayout
48 android:layout_width="fill_parent"
49 android:layout_height="wrap_content"
50 android:layout_toRightOf="@+id/avater"
51 android:orientation="vertical">
52
53 <android.support.design.widget.TextInputLayout
54 android:id="@+id/account_jid_layout"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:hint="@string/account_settings_jabber_id">
58
59 <AutoCompleteTextView
60 android:id="@+id/account_jid"
61 android:layout_width="match_parent"
62 android:layout_height="wrap_content"
63 android:imeOptions="actionNext"
64 android:inputType="textEmailAddress"
65 android:textColor="?attr/color_text_primary"
66 android:textColorHint="?attr/color_text_secondary"
67 android:textSize="?attr/TextSizeBody"/>
68 </android.support.design.widget.TextInputLayout>
69
70
71 <android.support.design.widget.TextInputLayout
72 android:id="@+id/account_password_layout"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 app:passwordToggleDrawable="@drawable/visibility_toggle_drawable"
76 app:passwordToggleEnabled="true"
77 app:passwordToggleTint="?attr/color_text_secondary">
78
79 <android.support.design.widget.TextInputEditText
80 android:id="@+id/account_password"
81 android:layout_width="match_parent"
82 android:layout_height="wrap_content"
83 android:layout_alignParentTop="true"
84 android:hint="@string/password"
85 android:inputType="textPassword"
86 android:textColor="?attr/color_text_primary"
87 android:textColorHint="?attr/color_text_secondary"
88 android:textSize="?attr/TextSizeBody"/>
89 </android.support.design.widget.TextInputLayout>
90
91 <LinearLayout
92 android:id="@+id/name_port"
93 android:layout_width="fill_parent"
94 android:layout_height="wrap_content"
95 android:layout_marginTop="8dp"
96 android:orientation="horizontal"
97 android:weightSum="1">
98
99 <LinearLayout
100 android:layout_width="0dp"
101 android:layout_height="match_parent"
102 android:layout_weight="0.8"
103 android:orientation="vertical">
104
105 <android.support.design.widget.TextInputLayout
106 android:id="@+id/hostname_layout"
107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"
109 android:hint="@string/account_settings_hostname">
110
111 <EditText
112 android:id="@+id/hostname"
113 android:layout_width="fill_parent"
114 android:layout_height="wrap_content"
115 android:inputType="textNoSuggestions"
116 android:textColor="?attr/color_text_primary"
117 android:textColorHint="?attr/color_text_secondary"
118 android:textSize="?attr/TextSizeBody"/>
119 </android.support.design.widget.TextInputLayout>
120 </LinearLayout>
121
122 <LinearLayout
123 android:layout_width="0dp"
124 android:layout_height="match_parent"
125 android:layout_weight="0.2"
126 android:orientation="vertical">
127
128 <android.support.design.widget.TextInputLayout
129 android:id="@+id/port_layout"
130 android:layout_width="match_parent"
131 android:layout_height="wrap_content"
132 android:hint="@string/account_settings_port">
133
134 <EditText
135 android:id="@+id/port"
136 android:layout_width="match_parent"
137 android:layout_height="match_parent"
138 android:inputType="number"
139 android:maxLength="5"
140 android:textColor="?attr/color_text_primary"
141 android:textColorHint="?attr/color_text_secondary"
142 android:textSize="?attr/TextSizeBody"/>
143 </android.support.design.widget.TextInputLayout>
144 </LinearLayout>
145 </LinearLayout>
146
147 <CheckBox
148 android:id="@+id/account_register_new"
149 android:layout_width="wrap_content"
150 android:layout_height="wrap_content"
151 android:layout_marginTop="8dp"
152 android:text="@string/register_account"
153 android:textColor="?attr/color_text_primary"
154 android:textSize="?attr/TextSizeBody"/>
155 </LinearLayout>
156 </RelativeLayout>
157 </android.support.v7.widget.CardView>
158
159 <android.support.v7.widget.CardView
160 android:id="@+id/os_optimization"
161 android:layout_width="fill_parent"
162 android:layout_height="wrap_content"
163 android:layout_marginBottom="@dimen/activity_vertical_margin"
164 android:layout_marginLeft="@dimen/activity_horizontal_margin"
165 android:layout_marginRight="@dimen/activity_horizontal_margin"
166 android:layout_marginTop="@dimen/activity_vertical_margin"
167 android:visibility="gone">
168
169 <RelativeLayout
170 android:layout_width="match_parent"
171 android:layout_height="wrap_content"
172 android:padding="@dimen/card_padding_regular">
173
174 <TextView
175 android:id="@+id/os_optimization_headline"
176 android:layout_width="wrap_content"
177 android:layout_height="wrap_content"
178 android:text="@string/battery_optimizations_enabled"
179 android:textColor="?attr/color_text_primary"
180 android:textSize="?attr/TextSizeHeadline"
181 android:textStyle="bold"/>
182
183 <TextView
184 android:id="@+id/os_optimization_body"
185 android:layout_width="wrap_content"
186 android:layout_height="wrap_content"
187 android:layout_below="@+id/os_optimization_headline"
188 android:layout_marginBottom="8dp"
189 android:layout_marginTop="8dp"
190 android:text="@string/battery_optimizations_enabled_explained"
191 android:textColor="?attr/color_text_primary"
192 android:textSize="?attr/TextSizeBody"/>
193
194 <Button
195 android:id="@+id/os_optimization_disable"
196 style="?android:attr/borderlessButtonStyle"
197 android:layout_width="wrap_content"
198 android:layout_height="wrap_content"
199 android:layout_alignParentBottom="true"
200 android:layout_alignParentEnd="true"
201 android:layout_alignParentRight="true"
202 android:layout_below="@+id/os_optimization_body"
203 android:layout_marginRight="-8dp"
204 android:text="@string/disable"
205 android:textColor="@color/accent"/>
206 </RelativeLayout>
207 </android.support.v7.widget.CardView>
208
209
210 <android.support.v7.widget.CardView
211 android:id="@+id/stats"
212 android:layout_width="fill_parent"
213 android:layout_height="fill_parent"
214 android:layout_marginBottom="@dimen/activity_vertical_margin"
215 android:layout_marginLeft="@dimen/activity_horizontal_margin"
216 android:layout_marginRight="@dimen/activity_horizontal_margin"
217 android:layout_marginTop="@dimen/activity_vertical_margin"
218 android:visibility="gone">
219
220 <LinearLayout
221 android:layout_width="match_parent"
222 android:layout_height="wrap_content"
223 android:orientation="vertical"
224 android:padding="@dimen/card_padding_regular">
225
226 <TableLayout
227 android:layout_width="match_parent"
228 android:layout_height="wrap_content"
229 android:shrinkColumns="0"
230 android:stretchColumns="1">
231
232 <TableRow
233 android:layout_width="fill_parent"
234 android:layout_height="wrap_content"
235 tools:ignore="UselessParent">
236
237 <TextView
238 android:layout_width="wrap_content"
239 android:layout_height="wrap_content"
240 android:ellipsize="end"
241 android:singleLine="true"
242 android:text="@string/server_info_session_established"
243 android:textColor="?attr/color_text_primary"
244 android:textSize="?attr/TextSizeBody"/>
245
246 <TextView
247 android:id="@+id/session_est"
248 android:layout_width="wrap_content"
249 android:layout_height="wrap_content"
250 android:layout_gravity="right"
251 android:paddingLeft="4dp"
252 android:textColor="?attr/color_text_primary"
253 android:textSize="?attr/TextSizeBody"
254 tools:ignore="RtlHardcoded"/>
255 </TableRow>
256
257 </TableLayout>
258
259 <TableLayout
260 android:id="@+id/server_info_more"
261 android:layout_width="match_parent"
262 android:layout_height="wrap_content"
263 android:shrinkColumns="0"
264 android:stretchColumns="1"
265 android:visibility="gone">
266
267 <TableRow
268 android:layout_width="fill_parent"
269 android:layout_height="wrap_content">
270
271 <TextView
272 android:layout_width="wrap_content"
273 android:layout_height="wrap_content"
274 android:ellipsize="end"
275 android:singleLine="true"
276 android:text="@string/server_info_pep"
277 android:textColor="?attr/color_text_primary"
278 android:textSize="?attr/TextSizeBody"/>
279
280 <TextView
281 android:id="@+id/server_info_pep"
282 android:layout_width="wrap_content"
283 android:layout_height="wrap_content"
284 android:layout_gravity="right"
285 android:paddingLeft="4dp"
286 android:textColor="?attr/color_text_primary"
287 android:textSize="?attr/TextSizeBody"
288 tools:ignore="RtlHardcoded"/>
289 </TableRow>
290
291 <TableRow
292 android:layout_width="fill_parent"
293 android:layout_height="wrap_content">
294
295 <TextView
296 android:layout_width="wrap_content"
297 android:layout_height="wrap_content"
298 android:ellipsize="end"
299 android:singleLine="true"
300 android:text="@string/server_info_blocking"
301 android:textColor="?attr/color_text_primary"
302 android:textSize="?attr/TextSizeBody"/>
303
304 <TextView
305 android:id="@+id/server_info_blocking"
306 android:layout_width="wrap_content"
307 android:layout_height="wrap_content"
308 android:layout_gravity="right"
309 android:paddingLeft="4dp"
310 android:textColor="?attr/color_text_primary"
311 android:textSize="?attr/TextSizeBody"
312 tools:ignore="RtlHardcoded"/>
313 </TableRow>
314
315 <TableRow
316 android:layout_width="fill_parent"
317 android:layout_height="wrap_content">
318
319 <TextView
320 android:layout_width="wrap_content"
321 android:layout_height="wrap_content"
322 android:ellipsize="end"
323 android:singleLine="true"
324 android:text="@string/server_info_stream_management"
325 android:textColor="?attr/color_text_primary"
326 android:textSize="?attr/TextSizeBody"/>
327
328 <TextView
329 android:id="@+id/server_info_sm"
330 android:layout_width="wrap_content"
331 android:layout_height="wrap_content"
332 android:layout_gravity="right"
333 android:paddingLeft="4dp"
334 android:textColor="?attr/color_text_primary"
335 android:textSize="?attr/TextSizeBody"
336 tools:ignore="RtlHardcoded"/>
337 </TableRow>
338
339 <TableRow
340 android:layout_width="fill_parent"
341 android:layout_height="wrap_content">
342
343 <TextView
344 android:layout_width="wrap_content"
345 android:layout_height="wrap_content"
346 android:ellipsize="end"
347 android:singleLine="true"
348 android:text="@string/server_info_roster_version"
349 android:textColor="?attr/color_text_primary"
350 android:textSize="?attr/TextSizeBody"/>
351
352 <TextView
353 android:id="@+id/server_info_roster_version"
354 android:layout_width="wrap_content"
355 android:layout_height="wrap_content"
356 android:layout_gravity="right"
357 android:paddingLeft="4dp"
358 android:textColor="?attr/color_text_primary"
359 android:textSize="?attr/TextSizeBody"
360 tools:ignore="RtlHardcoded"/>
361 </TableRow>
362
363 <TableRow
364 android:layout_width="fill_parent"
365 android:layout_height="wrap_content">
366
367 <TextView
368 android:layout_width="wrap_content"
369 android:layout_height="wrap_content"
370 android:ellipsize="end"
371 android:singleLine="true"
372 android:text="@string/server_info_carbon_messages"
373 android:textColor="?attr/color_text_primary"
374 android:textSize="?attr/TextSizeBody"/>
375
376 <TextView
377 android:id="@+id/server_info_carbons"
378 android:layout_width="wrap_content"
379 android:layout_height="wrap_content"
380 android:layout_gravity="right"
381 android:paddingLeft="4dp"
382 android:textColor="?attr/color_text_primary"
383 android:textSize="?attr/TextSizeBody"
384 tools:ignore="RtlHardcoded"/>
385 </TableRow>
386
387 <TableRow
388 android:layout_width="fill_parent"
389 android:layout_height="wrap_content">
390
391 <TextView
392 android:layout_width="wrap_content"
393 android:layout_height="wrap_content"
394 android:ellipsize="end"
395 android:singleLine="true"
396 android:text="@string/server_info_mam"
397 android:textColor="?attr/color_text_primary"
398 android:textSize="?attr/TextSizeBody"/>
399
400 <TextView
401 android:id="@+id/server_info_mam"
402 android:layout_width="wrap_content"
403 android:layout_height="wrap_content"
404 android:layout_gravity="right"
405 android:paddingLeft="4dp"
406 android:textColor="?attr/color_text_primary"
407 android:textSize="?attr/TextSizeBody"
408 tools:ignore="RtlHardcoded"/>
409 </TableRow>
410
411 <TableRow
412 android:layout_width="fill_parent"
413 android:layout_height="wrap_content">
414
415 <TextView
416 android:layout_width="wrap_content"
417 android:layout_height="wrap_content"
418 android:ellipsize="end"
419 android:singleLine="true"
420 android:text="@string/server_info_csi"
421 android:textColor="?attr/color_text_primary"
422 android:textSize="?attr/TextSizeBody"/>
423
424 <TextView
425 android:id="@+id/server_info_csi"
426 android:layout_width="wrap_content"
427 android:layout_height="wrap_content"
428 android:layout_gravity="right"
429 android:paddingLeft="4dp"
430 android:textColor="?attr/color_text_primary"
431 android:textSize="?attr/TextSizeBody"
432 tools:ignore="RtlHardcoded"/>
433 </TableRow>
434
435 <TableRow
436 android:id="@+id/push_row"
437 android:layout_width="fill_parent"
438 android:layout_height="wrap_content">
439
440 <TextView
441 android:layout_width="wrap_content"
442 android:layout_height="wrap_content"
443 android:ellipsize="end"
444 android:singleLine="true"
445 android:text="@string/server_info_push"
446 android:textColor="?attr/color_text_primary"
447 android:textSize="?attr/TextSizeBody"/>
448
449 <TextView
450 android:id="@+id/server_info_push"
451 android:layout_width="wrap_content"
452 android:layout_height="wrap_content"
453 android:layout_gravity="right"
454 android:paddingLeft="4dp"
455 android:textColor="?attr/color_text_primary"
456 android:textSize="?attr/TextSizeBody"/>
457 </TableRow>
458
459 <TableRow
460 android:layout_width="fill_parent"
461 android:layout_height="wrap_content">
462
463 <TextView
464 android:layout_width="wrap_content"
465 android:layout_height="wrap_content"
466 android:ellipsize="end"
467 android:singleLine="true"
468 android:text="@string/server_info_http_upload"
469 android:textColor="?attr/color_text_primary"
470 android:textSize="?attr/TextSizeBody"/>
471
472 <TextView
473 android:id="@+id/server_info_http_upload"
474 android:layout_width="wrap_content"
475 android:layout_height="wrap_content"
476 android:layout_gravity="right"
477 android:paddingLeft="4dp"
478 android:textColor="?attr/color_text_primary"
479 android:textSize="?attr/TextSizeBody"/>
480 </TableRow>
481 </TableLayout>
482
483 <RelativeLayout
484 android:id="@+id/pgp_fingerprint_box"
485 android:layout_width="wrap_content"
486 android:layout_height="match_parent"
487 android:layout_marginTop="32dp">
488
489 <LinearLayout
490 android:layout_width="wrap_content"
491 android:layout_height="wrap_content"
492 android:layout_alignParentLeft="true"
493 android:layout_centerVertical="true"
494 android:layout_toLeftOf="@+id/action_delete_pgp"
495 android:orientation="vertical">
496
497 <TextView
498 android:id="@+id/pgp_fingerprint"
499 android:layout_width="wrap_content"
500 android:layout_height="wrap_content"
501 android:fontFamily="monospace"
502 android:textColor="?attr/color_text_primary"
503 android:textSize="?attr/TextSizeBody"
504 android:typeface="monospace"/>
505
506 <TextView
507 android:id="@+id/pgp_fingerprint_desc"
508 android:layout_width="wrap_content"
509 android:layout_height="wrap_content"
510 android:text="@string/openpgp_key_id"
511 android:textColor="?attr/color_text_secondary"
512 android:textSize="?attr/TextSizeInfo"/>
513 </LinearLayout>
514
515 <ImageButton
516 android:id="@+id/action_delete_pgp"
517 android:layout_width="wrap_content"
518 android:layout_height="wrap_content"
519 android:layout_alignParentRight="true"
520 android:layout_centerVertical="true"
521 android:alpha="?attr/icon_alpha"
522 android:background="?attr/selectableItemBackgroundBorderless"
523 android:padding="@dimen/image_button_padding"
524 android:src="?attr/icon_remove"
525 android:visibility="visible"/>
526 </RelativeLayout>
527
528 <RelativeLayout
529 android:id="@+id/otr_fingerprint_box"
530 android:layout_width="wrap_content"
531 android:layout_height="match_parent"
532 android:layout_marginTop="24dp">
533
534 <LinearLayout
535 android:layout_width="wrap_content"
536 android:layout_height="wrap_content"
537 android:layout_alignParentLeft="true"
538 android:layout_centerVertical="true"
539 android:layout_toLeftOf="@+id/action_copy_to_clipboard"
540 android:orientation="vertical">
541
542 <TextView
543 android:id="@+id/otr_fingerprint"
544 android:layout_width="wrap_content"
545 android:layout_height="wrap_content"
546 android:fontFamily="monospace"
547 android:textColor="?attr/color_text_primary"
548 android:textSize="?attr/TextSizeBody"
549 android:typeface="monospace"/>
550
551 <TextView
552 android:id="@+id/otr_fingerprint_desc"
553 android:layout_width="wrap_content"
554 android:layout_height="wrap_content"
555 android:text="@string/otr_fingerprint"
556 android:textColor="?attr/color_text_secondary"
557 android:textSize="?attr/TextSizeInfo"/>
558 </LinearLayout>
559
560 <ImageButton
561 android:id="@+id/action_copy_to_clipboard"
562 android:layout_width="wrap_content"
563 android:layout_height="wrap_content"
564 android:layout_alignParentRight="true"
565 android:layout_centerVertical="true"
566 android:alpha="?attr/icon_alpha"
567 android:background="?attr/selectableItemBackgroundBorderless"
568 android:contentDescription="@string/copy_otr_clipboard_description"
569 android:padding="@dimen/image_button_padding"
570 android:src="?attr/icon_copy"
571 android:visibility="visible"/>
572 </RelativeLayout>
573
574 <RelativeLayout
575 android:id="@+id/axolotl_fingerprint_box"
576 android:layout_width="wrap_content"
577 android:layout_height="match_parent"
578 android:layout_marginTop="24dp">
579
580 <LinearLayout
581 android:layout_width="wrap_content"
582 android:layout_height="wrap_content"
583 android:layout_alignParentLeft="true"
584 android:layout_centerVertical="true"
585 android:layout_toLeftOf="@+id/axolotl_actions"
586 android:orientation="vertical">
587
588 <TextView
589 android:id="@+id/axolotl_fingerprint"
590 android:layout_width="wrap_content"
591 android:layout_height="wrap_content"
592 android:fontFamily="monospace"
593 android:textColor="?attr/color_text_primary"
594 android:textSize="?attr/TextSizeBody"
595 android:typeface="monospace"/>
596
597 <TextView
598 android:id="@+id/own_fingerprint_desc"
599 android:layout_width="wrap_content"
600 android:layout_height="wrap_content"
601 android:text="@string/omemo_fingerprint"
602 android:textColor="?attr/color_text_secondary"
603 android:textSize="?attr/TextSizeInfo"/>
604 </LinearLayout>
605
606 <LinearLayout
607 android:id="@+id/axolotl_actions"
608 android:layout_width="wrap_content"
609 android:layout_height="wrap_content"
610 android:layout_alignParentRight="true"
611 android:layout_centerVertical="true"
612 android:orientation="vertical">
613
614 <ImageButton
615 android:id="@+id/action_copy_axolotl_to_clipboard"
616 android:layout_width="wrap_content"
617 android:layout_height="wrap_content"
618 android:alpha="?attr/icon_alpha"
619 android:background="?attr/selectableItemBackgroundBorderless"
620 android:contentDescription="@string/copy_omemo_clipboard_description"
621 android:padding="@dimen/image_button_padding"
622 android:src="?attr/icon_copy"
623 android:visibility="visible"/>
624
625 <ImageButton
626 android:id="@+id/action_regenerate_axolotl_key"
627 android:layout_width="wrap_content"
628 android:layout_height="wrap_content"
629 android:alpha="?attr/icon_alpha"
630 android:background="?attr/selectableItemBackgroundBorderless"
631 android:contentDescription="@string/regenerate_omemo_key"
632 android:padding="@dimen/image_button_padding"
633 android:src="?attr/icon_refresh"
634 android:visibility="gone"/>
635
636 </LinearLayout>
637 </RelativeLayout>
638 </LinearLayout>
639 </android.support.v7.widget.CardView>
640
641 <android.support.v7.widget.CardView
642 android:id="@+id/other_device_keys_card"
643 android:layout_width="fill_parent"
644 android:layout_height="wrap_content"
645 android:layout_marginBottom="@dimen/activity_vertical_margin"
646 android:layout_marginLeft="@dimen/activity_horizontal_margin"
647 android:layout_marginRight="@dimen/activity_horizontal_margin"
648 android:layout_marginTop="@dimen/activity_vertical_margin"
649 android:visibility="gone">
650
651 <LinearLayout
652 android:layout_width="match_parent"
653 android:layout_height="wrap_content"
654 android:orientation="vertical"
655 android:padding="@dimen/card_padding_list">
656
657 <TextView
658 android:id="@+id/other_device_keys_title"
659 android:layout_width="wrap_content"
660 android:layout_height="wrap_content"
661 android:text="@string/other_devices"
662 android:textColor="?attr/color_text_primary"
663 android:textSize="?attr/TextSizeHeadline"
664 android:layout_margin="@dimen/list_padding"
665 android:textStyle="bold"/>
666
667 <LinearLayout
668 android:id="@+id/other_device_keys"
669 android:layout_width="fill_parent"
670 android:layout_height="wrap_content"
671 android:divider="?android:dividerHorizontal"
672 android:orientation="vertical"
673 android:showDividers="middle"></LinearLayout>
674
675 <Button
676 android:id="@+id/clear_devices"
677 style="?android:attr/borderlessButtonStyle"
678 android:layout_width="wrap_content"
679 android:layout_height="wrap_content"
680 android:layout_gravity="center_horizontal"
681 android:text="@string/clear_other_devices"
682 android:textColor="@color/accent"/>
683 </LinearLayout>
684 </android.support.v7.widget.CardView>
685 </LinearLayout>
686 </ScrollView>
687
688 <LinearLayout
689 android:id="@+id/button_bar"
690 android:layout_width="wrap_content"
691 android:layout_height="wrap_content"
692 android:layout_alignParentBottom="true"
693 android:layout_alignParentEnd="true"
694 android:layout_alignParentLeft="true"
695 android:layout_alignParentRight="true"
696 android:layout_alignParentStart="true">
697
698 <Button
699 android:id="@+id/cancel_button"
700 style="?android:attr/borderlessButtonStyle"
701 android:layout_width="0dp"
702 android:layout_height="wrap_content"
703 android:layout_weight="1"
704 android:text="@string/cancel"
705 android:textColor="?attr/color_text_primary"/>
706
707 <View
708 android:layout_width="1dp"
709 android:layout_height="fill_parent"
710 android:layout_marginBottom="7dp"
711 android:layout_marginTop="7dp"
712 android:background="?attr/divider"/>
713
714 <Button
715 android:id="@+id/save_button"
716 style="?android:attr/borderlessButtonStyle"
717 android:layout_width="0dp"
718 android:layout_height="wrap_content"
719 android:layout_weight="1"
720 android:enabled="false"
721 android:text="@string/save"
722 android:textColor="?attr/color_text_secondary"/>
723 </LinearLayout>
724
725 </RelativeLayout>
726</layout>