mirror of
https://github.com/mihonapp/mihon.git
synced 2024-10-31 21:20:59 -04:00
66 lines
No EOL
2.2 KiB
XML
66 lines
No EOL
2.2 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:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="24dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/accounts_login_title"
|
|
android:id="@+id/accounts_login"
|
|
android:textStyle="bold"
|
|
android:textSize="16sp"
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
<View android:id="@+id/titleDivider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/line_grey"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginBottom="24dp"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/username"/>
|
|
|
|
<EditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/username" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="@string/password"/>
|
|
|
|
<EditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:ems="10"
|
|
android:id="@+id/password" />
|
|
|
|
<CheckBox
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_password"
|
|
android:id="@+id/show_password"
|
|
android:layout_marginTop="10dp"/>
|
|
|
|
<com.dd.processbutton.iml.ActionProcessButton
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:text="@string/login"
|
|
android:id="@+id/login"
|
|
app:pb_textComplete="@string/login_success"
|
|
app:pb_textProgress="@string/loading"
|
|
app:pb_textError="@string/invalid_login"
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
</LinearLayout> |