70 lines
No EOL
2.4 KiB
XML
70 lines
No EOL
2.4 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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:background="@drawable/background"
|
|
tools:context=".LogIn">
|
|
|
|
<TextView
|
|
android:id="@+id/Title"
|
|
android:layout_width="300dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:gravity="center"
|
|
android:text="@string/login"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="36sp"
|
|
app:fontFamily="@font/julius_sans_one" />
|
|
|
|
<com.rengwuxian.materialedittext.MaterialEditText
|
|
android:id="@+id/UsernameInput"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:background="@color/colorWhite"
|
|
android:hint="@string/username"
|
|
android:textSize="20sp"
|
|
android:layout_marginTop="40dp"
|
|
app:met_baseColor="@android:color/white"
|
|
app:met_floatingLabel="highlight"
|
|
app:met_primaryColor="?colorAccent"
|
|
app:met_singleLineEllipsis="true" />
|
|
|
|
<com.rengwuxian.materialedittext.MaterialEditText
|
|
android:id="@+id/PasswordInput"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:background="@drawable/customborder"
|
|
android:hint="@string/password"
|
|
android:textSize="20sp"
|
|
android:layout_marginTop="20dp"
|
|
app:met_baseColor="@android:color/white"
|
|
app:met_floatingLabel="highlight"
|
|
app:met_primaryColor="?colorAccent"
|
|
app:met_singleLineEllipsis="true" />
|
|
|
|
|
|
|
|
<Button
|
|
android:theme="@style/AppTheme.Button"
|
|
android:id="@+id/LogIn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/login"
|
|
android:layout_marginTop="40dp"
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |