82 lines
3.8 KiB
XML
82 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
<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:lines="2"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/sign_up"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/get_code_info"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginHorizontal="16dp"/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/goToCodeButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="@string/already_have_a_code"
|
|
android:layout_marginTop="4dp"
|
|
style="@style/Widget.Material3.Button.TextButton"/>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/textFieldEmail"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
style="?attr/textInputOutlinedStyle"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:hint="@string/email">
|
|
<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/sendButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:text="@string/send"/>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |