Skip to content

Instantly share code, notes, and snippets.

@dimorinny
Created January 16, 2016 14:49
Show Gist options
  • Save dimorinny/78c5602e7258739b1b1a to your computer and use it in GitHub Desktop.
Save dimorinny/78c5602e7258739b1b1a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:fitsSystemWindows="true"
android:clickable="true"
android:background="?attr/colorPrimary"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="16dp"
android:orientation="vertical">
<ImageView
android:id="@+id/logo"
android:layout_width="match_parent"
android:layout_height="72dp"
android:layout_gravity="top|center"
android:src="@drawable/logo"
android:scaleType="centerInside"/>
<com.nbsp.queuer.widget.BoundedLinearLayout
android:id="@+id/bounded_ll"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical"
android:paddingTop="32dp"
app:bounded_width="260dp"
>
<EditText
android:id="@+id/email_input"
android:layout_width="match_parent"
android:layout_height="43dp"
android:hint="@string/login_hint"
android:inputType="textEmailAddress"
android:imeOptions="actionNext"
android:textColor="@color/white"
android:textColorHint="#b1ffffff"
android:theme="@style/DarkEditText"
/>
<EditText
android:id="@+id/password_input"
android:layout_width="match_parent"
android:layout_height="43dp"
android:inputType="textPassword"
android:hint="@string/password_hint"
android:imeOptions="actionDone"
android:textColor="@color/white"
android:textColorHint="#b1ffffff"
android:theme="@style/DarkEditText"
/>
<Button
android:id="@+id/login_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_gravity="center"
android:textColor="@color/white"
android:text="@string/enter_action"
style="?android:attr/borderlessButtonStyle"
/>
<Button
android:id="@+id/login_register_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:layout_gravity="center"
android:textColor="@color/white"
android:text="@string/open_registration_action"
style="?android:attr/borderlessButtonStyle"
/>
</com.nbsp.queuer.widget.BoundedLinearLayout>
</LinearLayout>
</ScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment