mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-08 11:47:24 +01:00
58 lines
2.1 KiB
XML
58 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingStart="24dp"
|
|
android:paddingEnd="24dp">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/username_label"
|
|
style="@style/Theme.Widget.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/username">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Theme.Widget.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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>
|
|
|
|
<CheckBox
|
|
android:id="@+id/show_password"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/show_password" />
|
|
|
|
<com.dd.processbutton.iml.ActionProcessButton
|
|
android:id="@+id/login"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/login"
|
|
android:textColor="@android:color/white"
|
|
app:pb_textComplete="@string/login_success"
|
|
app:pb_textError="@string/invalid_login"
|
|
app:pb_textProgress="@string/loading" />
|
|
|
|
</LinearLayout>
|