fragment_authentication_reset_password.xml 2.14 KB
<?xml version="1.0" encoding="utf-8"?>
<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:padding="@dimen/screen_edge_left_and_right_margins"
    tools:context=".authentication.resetpassword.ui.ResetPasswordFragment">

    <TextView
        android:id="@+id/text_reset_password"
        style="@style/Authentication.TextView.Headline"
        android:text="@string/title_reset_password"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <EditText
        android:id="@+id/text_email"
        style="@style/Authentication.EditText.Border"
        android:layout_marginTop="16dp"
        android:drawableStart="@drawable/ic_email_black_20dp"
        android:hint="@string/msg_email"
        android:imeOptions="actionDone"
        android:inputType="textEmailAddress"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/text_reset_password" />

    <android.widget.Button
        android:id="@+id/button_reset_password"
        style="@style/Authentication.Button"
        android:layout_marginTop="20dp"
        android:backgroundTint="@color/colorAuthenticationButtonDisabled"
        android:enabled="false"
        android:text="@string/title_reset_password"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/text_email" />

    <com.wang.avi.AVLoadingIndicatorView
        android:id="@+id/view_loading"
        style="@style/Authentication.AVLoadingIndicatorView"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>