diff options
Diffstat (limited to 'app/src/main/res/layout/basic_bottom_sheet.xml')
| -rw-r--r-- | app/src/main/res/layout/basic_bottom_sheet.xml | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/app/src/main/res/layout/basic_bottom_sheet.xml b/app/src/main/res/layout/basic_bottom_sheet.xml index bc206fde..98815a43 100644 --- a/app/src/main/res/layout/basic_bottom_sheet.xml +++ b/app/src/main/res/layout/basic_bottom_sheet.xml @@ -4,59 +4,59 @@ --> <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"> + 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="@style/TextAppearance.MaterialComponents.Headline6" - 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_title" + style="@style/TextAppearance.MaterialComponents.Headline6" + 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="@style/TextAppearance.MaterialComponents.Body1" - 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.textview.MaterialTextView + android:id="@+id/bottom_sheet_message" + style="@style/TextAppearance.MaterialComponents.Body1" + 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="@style/AppTheme.OutlinedButton" - 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_cancel_button" + style="@style/AppTheme.OutlinedButton" + 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="@style/AppTheme.OutlinedButton" - 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" /> + <com.google.android.material.button.MaterialButton + android:id="@+id/bottom_sheet_ok_button" + style="@style/AppTheme.OutlinedButton" + 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> |
