blob: b45fc9c97e4dcd71ee993ec8bd1b9555dd98fff9 (
about) (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
~ SPDX-License-Identifier: GPL-3.0-only
-->
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="24dp">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/bottom_sheet_title"
style="?attr/textAppearanceTitleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="Bottom sheet title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/bottom_sheet_message"
style="?attr/textAppearanceBodyLarge"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="8dp"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_title"
tools:text="A long body of text that serves as the bottom sheet message" />
<com.google.android.material.button.MaterialButton
android:id="@+id/bottom_sheet_cancel_button"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:layout_marginEnd="8dp"
android:text="@string/dialog_cancel"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_message"
tools:visibility="visible" />
<com.google.android.material.button.MaterialButton
android:id="@+id/bottom_sheet_ok_button"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:layout_marginEnd="8dp"
android:text="@string/dialog_ok"
android:visibility="gone"
app:layout_constraintEnd_toStartOf="@id/bottom_sheet_cancel_button"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_message"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>
|