Login Design-7

Here , I Share with you Login Form UI Design Xml code

Code:

</h4>
<pre><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_image"
android:orientation="vertical"
android:padding="40dp">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.3"
android:background="#777777" />

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="5dp">

<TextView
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="30dp"
android:text="Login"
android:textColor="#000033"
android:textSize="35sp"
android:textStyle="bold"
android:typeface="serif" />

<!-- <TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:textColor="#000033"
android:text="Collect and Save Your Data in Detail... "
android:textSize="16sp" />-->

<TextView
android:id="@+id/txtUsername"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="40dp"
android:background="@drawable/dataform_login_cardbg"
android:hint="Enter Your Name"
android:inputType="text"
android:padding="10dp"
android:typeface="serif" />

<TextView
android:id="@+id/txtPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="15dp"
android:background="@drawable/dataform_login_cardbg"
android:hint="Enter Your Password"
android:inputType="textPassword"
android:padding="10dp" />

<Button
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="35dp"
android:background="@drawable/dataform_login_btn"
android:text="Login"
android:textColor="#ffffff"
android:typeface="serif" />

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="15dp"
android:background="@android:color/transparent"
android:clickable="true"
android:text="Forget Password ? "
android:textColor="@android:color/holo_red_dark"
android:textSize="16sp"
android:typeface="serif" />

</LinearLayout>
</FrameLayout>
</RelativeLayout>

Advertisements