isolaatti-android/app/src/main/res/layout/fragment_validate_code.xml

69 lines
2.8 KiB
XML
Raw Normal View History

2023-11-11 16:58:44 -06:00
<?xml version="1.0" encoding="utf-8"?>
2023-11-12 23:13:38 -06:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2023-11-11 16:58:44 -06:00
android:layout_width="match_parent"
2023-11-12 23:13:38 -06:00
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
2023-11-11 16:58:44 -06:00
2023-11-12 23:13:38 -06:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/brand"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:textAlignment="center"
android:layout_marginTop="30dp"
style="@style/toolbar_text"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical">
<Button
android:id="@+id/backButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:icon="@drawable/baseline_arrow_back_24"
style="?attr/materialIconButtonStyle" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:textSize="28sp"
android:text="@string/enter_the_code_we_sent_you_by_email"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/code_extended_description"
android:layout_marginTop="16dp"
android:layout_marginHorizontal="16dp"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textFieldCode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?attr/textInputOutlinedStyle"
android:layout_marginTop="4dp"
android:layout_marginHorizontal="16dp"
android:hint="@string/code">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/acceptButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/accept"
android:layout_marginTop="16dp"
android:layout_gravity="center_horizontal"/>
</LinearLayout>
</ScrollView>