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