92 lines
3.5 KiB
XML
92 lines
3.5 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<ScrollView
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
<LinearLayout
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textAppearance="?attr/textAppearanceHeadlineLarge"
|
||
|
|
android:layout_margin="24dp"
|
||
|
|
android:text="@string/app_name"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textAppearance="?attr/textAppearanceHeadlineSmall"
|
||
|
|
android:layout_margin="24dp"
|
||
|
|
android:text="@string/sign_in"/>
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:id="@+id/textFieldEmail"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="16dp"
|
||
|
|
android:layout_marginVertical="8dp"
|
||
|
|
android:hint="@string/email">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textEmailAddress"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:id="@+id/textFieldPassword"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="16dp"
|
||
|
|
android:layout_marginVertical="8dp"
|
||
|
|
app:endIconMode="password_toggle"
|
||
|
|
android:hint="@string/password">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textPassword"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/sign_in_btn"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/sign_in"
|
||
|
|
android:layout_margin="8dp"/>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/forgot_password_btn"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="32dp"
|
||
|
|
android:layout_gravity="center_horizontal"
|
||
|
|
android:text="@string/forgot_password"
|
||
|
|
style="@style/Widget.Material3.Button.TextButton"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/or_you_can_sign_up"
|
||
|
|
android:layout_gravity="center_horizontal"
|
||
|
|
android:layout_marginTop="24dp"/>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/sign_up_btn"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center_horizontal"
|
||
|
|
android:layout_marginTop="24dp"
|
||
|
|
android:text="@string/sign_up"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|