2015-10-25 20:41:10 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-02-21 18:43:50 -05:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
2020-03-15 17:31:36 -04:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
android:paddingEnd="24dp">
|
2015-10-25 20:41:10 -04:00
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2020-03-07 22:19:45 -05:00
|
|
|
android:id="@+id/username_label"
|
2015-10-25 20:41:10 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-11 19:08:57 -04:00
|
|
|
android:hint="@string/username">
|
2015-10-25 20:41:10 -04:00
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/username"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
2015-10-25 20:41:10 -04:00
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2015-10-25 20:41:10 -04:00
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2015-10-25 20:41:10 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-11 19:08:57 -04:00
|
|
|
android:hint="@string/password">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/password"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="textPassword" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2015-10-25 20:41:10 -04:00
|
|
|
|
|
|
|
<CheckBox
|
2016-03-12 08:22:40 -05:00
|
|
|
android:id="@+id/show_password"
|
2015-10-25 20:41:10 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-03-12 08:22:40 -05:00
|
|
|
android:layout_marginTop="10dp"
|
2020-02-21 18:43:50 -05:00
|
|
|
android:text="@string/show_password" />
|
2015-10-25 20:41:10 -04:00
|
|
|
|
2015-10-26 13:50:11 -04:00
|
|
|
<com.dd.processbutton.iml.ActionProcessButton
|
2016-03-12 08:22:40 -05:00
|
|
|
android:id="@+id/login"
|
2015-10-26 13:50:11 -04:00
|
|
|
android:layout_width="match_parent"
|
2015-10-26 12:29:16 -04:00
|
|
|
android:layout_height="wrap_content"
|
2016-03-12 08:22:40 -05:00
|
|
|
android:layout_marginTop="20dp"
|
2015-10-26 13:50:11 -04:00
|
|
|
android:text="@string/login"
|
2016-03-12 08:22:40 -05:00
|
|
|
android:textColor="@android:color/white"
|
2015-11-11 13:15:56 -05:00
|
|
|
app:pb_textComplete="@string/login_success"
|
2015-10-26 13:50:11 -04:00
|
|
|
app:pb_textError="@string/invalid_login"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:pb_textProgress="@string/loading" />
|
2015-10-26 12:29:16 -04:00
|
|
|
|
2020-02-21 18:43:50 -05:00
|
|
|
</LinearLayout>
|