<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="match_parent"
	android:layout_height="match_parent">

	<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		android:padding="@dimen/activity_vertical_margin">

		<com.google.android.material.textfield.TextInputLayout
			android:id="@+id/til_password"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			app:passwordToggleEnabled="true">

			<com.google.android.material.textfield.TextInputEditText
				android:id="@+id/et_old_password"
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:hint="@string/dialog_change_password_old_password_label"
				android:imeOptions="flagNoPersonalizedLearning"
				android:inputType="textPassword"
				android:maxLines="1" />

		</com.google.android.material.textfield.TextInputLayout>

		<com.google.android.material.textfield.TextInputLayout
			android:id="@+id/til_new_password"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_below="@+id/til_password"
			app:passwordToggleEnabled="true">

			<com.google.android.material.textfield.TextInputEditText
				android:id="@+id/et_new_password"
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:hint="@string/dialog_change_password_new_password_label"
				android:imeOptions="flagNoPersonalizedLearning"
				android:inputType="textPassword"
				android:maxLines="1" />

		</com.google.android.material.textfield.TextInputLayout>

		<com.google.android.material.textfield.TextInputLayout
			android:id="@+id/til_new_retype_password"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_below="@+id/til_new_password"
			app:passwordToggleEnabled="true">

			<com.google.android.material.textfield.TextInputEditText
				android:id="@+id/et_new_retype_password"
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:hint="@string/dialog_change_password_new_retype_password_label"
				android:imeOptions="flagNoPersonalizedLearning"
				android:inputType="textPassword"
				android:maxLines="1" />

		</com.google.android.material.textfield.TextInputLayout>

		<include
			android:id="@+id/view_password_strength_indicator"
			layout="@layout/view_password_strength_indicator"
			android:layout_width="match_parent"
			android:layout_height="match_parent"
			android:layout_below="@id/til_new_retype_password" />

		<TextView
			android:id="@+id/password_hint"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_below="@id/view_password_strength_indicator"
			android:layout_marginTop="16dp"
			android:gravity="center"
			android:text="@string/screen_set_password_hint" />

		<include
			layout="@layout/view_dialog_progress"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_below="@+id/password_hint"
			android:layout_marginTop="16dp" />

		<include
			layout="@layout/view_dialog_error"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_below="@+id/password_hint"
			android:layout_marginTop="16dp" />

	</RelativeLayout>
</androidx.core.widget.NestedScrollView>
