tachiyomi/app/src/main/res/layout/pref_account_login.xml

50 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-02-22 00:43:50 +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:paddingStart="24dp"
android:paddingEnd="24dp">
2020-03-12 00:08:57 +01:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/username_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-03-12 00:08:57 +01:00
android:hint="@string/username">
2020-03-12 00:08:57 +01:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text" />
2020-03-12 00:08:57 +01:00
</com.google.android.material.textfield.TextInputLayout>
2020-03-12 00:08:57 +01:00
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/password"
app:endIconMode="password_toggle">
2020-03-12 00:08:57 +01:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword" />
</com.google.android.material.textfield.TextInputLayout>
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"
app:pb_textComplete="@string/login_success"
2015-10-26 18:50:11 +01:00
app:pb_textError="@string/invalid_login"
2020-02-22 00:43:50 +01:00
app:pb_textProgress="@string/loading" />
2015-10-26 17:29:16 +01:00
2020-02-22 00:43:50 +01:00
</LinearLayout>