103 lines
3.9 KiB
XML
103 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
<com.stardust.theme.widget.ThemeColorToolbar
|
|
android:id="@+id/toolbar"
|
|
android:theme="@style/ToolBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:title="@string/text_login"
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay"/>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginTop="12dp">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/text_username"
|
|
android:textColor="?android:textColorPrimary"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/text_password"
|
|
android:inputType="textPassword"
|
|
android:textColor="?android:textColorPrimary"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/forgot_password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:orientation="horizontal"
|
|
android:padding="4dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/text_forgot_password"
|
|
android:textColor="#929397"
|
|
android:textSize="12sp"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/text_reset_password"
|
|
android:textColor="@color/colorAccent"
|
|
android:textSize="12sp"/>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/login"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="@color/colorPrimary"
|
|
android:foreground="?selectableItemBackground"
|
|
android:gravity="center"
|
|
android:padding="12dp"
|
|
android:text="@string/text_login"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="15sp"/>
|
|
|
|
</FrameLayout> |