<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:background="@color/blue"
android:paddingBottom="20dp"
tools:context="gameloft.com.facebook.MainActivity">
<ImageView
android:id="@+id/imv_fb"
android:layout_marginLeft="@dimen/edt_margin_left"
android:layout_marginRight="@dimen/edt_margin_right"
android:layout_marginTop="@dimen/edt_margin_top"
android:layout_marginBottom="@dimen/edt_margin_bottom"
android:background="@drawable/logo"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/edt_email"
android:layout_below="@+id/imv_fb"
android:layout_marginLeft="@dimen/edt_margin_left"
android:layout_marginRight="@dimen/edt_margin_right"
android:layout_marginTop="@dimen/edt_margin_top"
android:layout_marginBottom="@dimen/edt_margin_bottom"
android:padding="@dimen/text_padding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@drawable/round"
android:hint="@string/hint_email_phone"
/>
<EditText
android:id="@+id/edt_pass"
android:layout_below="@+id/edt_email"
android:layout_marginLeft="@dimen/edt_margin_left"
android:layout_marginRight="@dimen/edt_margin_right"
android:layout_marginTop="@dimen/edt_margin_top"
android:layout_marginBottom="@dimen/edt_margin_bottom"
android:padding="@dimen/text_padding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@drawable/round"
android:hint="@string/hint_pass"
/>
<Button
android:id="@+id/btn"
android:text="Log In"
android:textStyle="bold"
android:textSize="25dp"
android:textColor="#ffffff"
android:layout_marginLeft="@dimen/edt_margin_left"
android:layout_marginRight="@dimen/edt_margin_right"
android:background="@drawable/round_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/edt_pass"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:text="@string/hint_signup"
android:textAlignment="center"
android:textColor="@color/white"
android:textStyle="bold" />
<Button
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:background="@color/blue_dark"
android:text=" ? "
android:textColor="@color/white"
android:textStyle="bold"
/>
</RelativeLayout>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.