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"
|
2015-10-26 18:50:11 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
2015-10-26 01:41:10 +01:00
|
|
|
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"/>
|
|
|
|
|
2015-10-26 18:50:11 +01:00
|
|
|
<com.dd.processbutton.iml.ActionProcessButton
|
|
|
|
android:layout_width="match_parent"
|
2015-10-26 17:29:16 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-10-26 18:50:11 +01:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:text="@string/login"
|
|
|
|
android:id="@+id/login"
|
|
|
|
app:pb_textComplete="@string/success"
|
|
|
|
app:pb_textProgress="@string/loading"
|
|
|
|
app:pb_textError="@string/invalid_login"
|
|
|
|
android:layout_marginTop="20dp"/>
|
2015-10-26 17:29:16 +01:00
|
|
|
|
2015-10-26 01:41:10 +01:00
|
|
|
</LinearLayout>
|