2015-10-26 01:41:10 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-03-12 14:22:40 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="24dp">
|
2015-10-26 01:41:10 +01:00
|
|
|
|
|
|
|
<TextView
|
2016-03-12 14:22:40 +01:00
|
|
|
android:id="@+id/dialog_title"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:layout_gravity="center_horizontal"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:textSize="16sp"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:textStyle="bold"/>
|
2015-10-26 01:41:10 +01:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<View
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:layout_marginBottom="24dp"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_marginTop="6dp"
|
2020-01-30 08:57:17 +01:00
|
|
|
android:background="@color/divider"/>
|
2015-10-26 01:41:10 +01:00
|
|
|
|
|
|
|
<TextView
|
2020-03-08 04:19:45 +01:00
|
|
|
android:id="@+id/username_label"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/username"/>
|
|
|
|
|
|
|
|
<EditText
|
2016-03-12 14:22:40 +01:00
|
|
|
android:id="@+id/username"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:layout_height="wrap_content"/>
|
2015-10-26 01:41:10 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:text="@string/password"/>
|
|
|
|
|
|
|
|
<EditText
|
2016-03-12 14:22:40 +01:00
|
|
|
android:id="@+id/password"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:inputType="textPassword"/>
|
2015-10-26 01:41:10 +01:00
|
|
|
|
|
|
|
<CheckBox
|
2016-03-12 14:22:40 +01:00
|
|
|
android:id="@+id/show_password"
|
2015-10-26 01:41:10 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/show_password"/>
|
2015-10-26 01:41:10 +01:00
|
|
|
|
2015-10-26 18:50:11 +01:00
|
|
|
<com.dd.processbutton.iml.ActionProcessButton
|
2016-03-12 14:22:40 +01:00
|
|
|
android:id="@+id/login"
|
2015-10-26 18:50:11 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-10-26 17:29:16 +01:00
|
|
|
android:layout_height="wrap_content"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:layout_marginTop="20dp"
|
2015-10-26 18:50:11 +01:00
|
|
|
android:text="@string/login"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:textColor="@android:color/white"
|
2020-04-09 02:32:36 +02:00
|
|
|
app:pb_textComplete="@string/successfully_logged_in"
|
|
|
|
app:pb_textError="@string/could_not_log_in"
|
2016-03-12 14:22:40 +01:00
|
|
|
app:pb_textProgress="@string/loading"/>
|
2015-10-26 17:29:16 +01:00
|
|
|
|
2015-10-26 01:41:10 +01:00
|
|
|
</LinearLayout>
|