Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:orientation="vertical"
- android:fitsSystemWindows="true">
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:gravity="center"
- android:orientation="vertical"
- android:padding="@dimen/activity_horizontal_margin">
- <ImageView
- android:layout_width="132dp"
- android:layout_height="100dp"
- android:layout_gravity="center_horizontal"
- android:layout_marginBottom="30dp"
- android:src="@drawable/ic_logo1" />
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/username"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Username"
- android:inputType="text"
- android:singleLine="true" />
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/email"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Email"
- android:inputType="textEmailAddress"
- android:singleLine="true" />
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/password"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:focusableInTouchMode="true"
- android:hint="Pasword"
- android:imeActionId="@+id/login"
- android:imeOptions="actionUnspecified"
- android:inputType="textPassword"
- android:singleLine="true" />
- </android.support.design.widget.TextInputLayout>
- <Button
- android:id="@+id/sign_up_button"
- style="?android:textAppearanceSmall"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:background="@drawable/round"
- android:text="REGISTER"
- android:textColor="@color/colorWhite"
- android:textStyle="bold" />
- <!-- Link to Login Screen -->
- <Button
- android:id="@+id/sign_in_button"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:background="@null"
- android:text="Already registered. Login here"
- android:textAllCaps="false"
- android:textSize="15dp" />
- </LinearLayout>
- <ProgressBar
- android:id="@+id/progressBar"
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:layout_gravity="center|bottom"
- android:layout_marginBottom="20dp"
- android:visibility="gone" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement