Archived
78 lines
3.3 KiB
XML
78 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<com.google.android.material.bottomsheet.BottomSheetDragHandleView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"/>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:paddingHorizontal="24dp">
|
|
|
|
<TextView
|
|
android:id="@+id/text_header"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="22sp"
|
|
android:fontFamily="@font/lato_bolditalic"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/button_cancel"
|
|
android:text="@string/question_mark"/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
android:id="@+id/button_cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minWidth="0dp"
|
|
app:icon="@drawable/cross"
|
|
app:iconPadding="0dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:iconTint="?attr/colorOnSurfaceVariant"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingHorizontal="24dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
style="@style/Widget.Material3.TextInputEditText.OutlinedBox"
|
|
android:maxLines="1"
|
|
android:maxLength="6"
|
|
android:id="@+id/input"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:fontFamily="@font/ibm_regular"
|
|
android:inputType="textNoSuggestions"
|
|
android:textSize="24sp"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/button_confirm"
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/question_mark"
|
|
android:layout_gravity="end"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginBottom="8dp"
|
|
app:icon="@drawable/engineering"/>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat> |