mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-15 19:15:06 +01:00
77 lines
2.7 KiB
XML
77 lines
2.7 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:padding="24dp">
|
|
|
|
<TextView
|
|
android:id="@+id/dialog_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginTop="6dp"
|
|
android:background="@color/divider"/>
|
|
|
|
<TextView
|
|
android:id="@+id/username_label"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/username"/>
|
|
|
|
<EditText
|
|
android:id="@+id/username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="@string/password"/>
|
|
|
|
<EditText
|
|
android:id="@+id/password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:inputType="textPassword"/>
|
|
|
|
<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/successfully_logged_in"
|
|
app:pb_textError="@string/could_not_log_in"
|
|
app:pb_textProgress="@string/loading"/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/logout"
|
|
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
|
android:background="@color/md_grey_800"
|
|
android:layout_width="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/logout"
|
|
android:textColor="?colorAccent"/>
|
|
|
|
</LinearLayout> |