Android Custom Login Screen Design
Android Custom Login Screen Design ?
try this design....
In this design used EditText without Border line...
without_borderline.xml.
..................................................................................................................................................................
<?xml version="1.0" encoding="UTF-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" >
<shape android:shape="line">
<gradient
android:startColor="#8e44ad"
android:endColor="#8e44ad"
android:angle="270" />
<stroke
android:width="3dp"
android:color="#F8B334" />
</shape>
</item>
</selector>
main.xml.
...................................................................................................................................................................
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#8e44ad"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="131dp"
android:src="@drawable/user_male_circle" />
<EditText
android:id="@+id/editText_email"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/imageView1"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="54dp"
android:background="@drawable/without_borderline"
android:ems="10"
android:gravity="center"
android:hint="Email Address"
android:inputType="textEmailAddress"
android:padding="8dp"
android:textColorHint="#ffffff" />
<EditText
android:id="@+id/editText_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/editText_email"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="14dp"
android:background="@drawable/without_borderline"
android:ems="10"
android:gravity="center"
android:hint="*******"
android:inputType="textPassword"
android:padding="8dp"
android:textColorHint="#ffffff" >
</EditText>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="52dp"
android:text="UserLogin"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@+id/editText_password"
android:layout_marginRight="24dp"
android:layout_marginTop="24dp"
android:text="New User Account"
android:textStyle="bold|italic" />
<TextView
android:id="@+id/textView3"
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_below="@+id/editText_email"
android:layout_centerHorizontal="true"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#ffffff" />
<TextView
android:id="@+id/textView4"
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_below="@+id/editText_password"
android:layout_centerHorizontal="true"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#ffffff" />