Skip to content

Instantly share code, notes, and snippets.

@AsynctaskCoffee
Last active September 15, 2019 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AsynctaskCoffee/278e8bc711c45a988137fa0f6457b1a0 to your computer and use it in GitHub Desktop.
Save AsynctaskCoffee/278e8bc711c45a988137fa0f6457b1a0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/videoLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:focusable="true"
android:focusableInTouchMode="true"
tools:context=".MainActivity">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#88000000"
android:gravity="center"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true">
<LinearLayout
android:id="@+id/login_holder_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
<ImageView
android:layout_width="150dp"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/coffee_cup"
android:tint="@android:color/white" />
<TextView
android:layout_width="210dp"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-condensed-light"
android:gravity="center"
android:padding="5dp"
android:text="COFFEE TIME"
android:textColor="@android:color/white"
android:textSize="12dp" />
<EditText
android:id="@+id/et_login_email_adress"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="30dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="30dp"
android:background="@drawable/trasparentbutton"
android:ellipsize="start"
android:gravity="center"
android:hint="E-mail address"
android:inputType="text"
android:padding="8dp"
android:textColor="@android:color/white"
android:textColorHint="#f1f1f1"
tools:ignore="HardcodedText" />
<EditText
android:id="@+id/et_login_email_password"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="30dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="30dp"
android:background="@drawable/trasparentbutton"
android:ellipsize="start"
android:gravity="center"
android:hint="●●●●●●"
android:inputType="textPassword"
android:padding="8dp"
android:textColor="@android:color/white"
android:textColorHint="#f1f1f1"
tools:ignore="HardcodedText" />
<Button
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="30dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="30dp"
android:background="@drawable/trasparentbutton_type2"
android:text="Sign In"
android:textAllCaps="false"
android:textColor="@android:color/white"
android:textStyle="bold" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
<TextView
android:layout_width="250dp"
android:layout_height="1dp"
android:background="#33ffffff" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center"
android:padding="3dp"
android:text="Don't have an account ?"
android:textColor="#99ffffff" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="50dp"
android:gravity="center"
android:padding="3dp"
android:text="SIGN UP NOW"
android:textColor="@android:color/white"
android:textSize="16dp"
android:textStyle="bold" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment