0

My actual task is to design a sign up page is like this.

https://docs.google.com/file/d/0B_c-SDSO63obTXdXMm4yZmRkUDQ/edit?usp=sharing

I did some coding that is

        <LinearLayout 
            android:id="@+id/detailstenter"
            android:layout_height="fill_parent"
            android:layout_width="0dp"
            android:orientation="vertical"
            android:layout_weight="370"
            android:weightSum="122">


                             <EditText
                                 android:id="@+id/emailidenter"
                                 android:layout_width="fill_parent"
                                 android:layout_height="wrap_content"
                                 android:inputType="textEmailAddress"
                                 android:hint="john@clite.com"
                                 android:singleLine="true"
                                 android:ellipsize="end"

                                 android:background="@drawable/email_up"
                                 android:drawableLeft="@drawable/usericon_two"
                                 android:textColor="#000000"
                                 android:textStyle="bold" >

                                 <requestFocus />
                             </EditText>
                                 <EditText
                                 android:id="@+id/password"
                                 android:layout_width="fill_parent"
                                 android:layout_height="wrap_content"
                                 android:hint=".........."
                                 android:inputType="textPassword"
                                 android:singleLine="true"
                                 android:ellipsize="end"
                                 android:background="@drawable/email_down"
                                 android:drawableLeft="@drawable/usericon_two"
                                 android:textColor="#000000"
                                 android:textStyle="bold" >

                                 <requestFocus />
                             </EditText>



                  </LinearLayout>

But when i running in the nexus 7 the out is changed. this is https://docs.google.com/file/d/0B_c-SDSO63obT1JGSlBjMHZSbnM/edit?usp=sharing so please give some suggestions how can i do that task to get the output same as all the mobiles and tablets.

I tried image view+edit text with that background. But that is also not coming properly.

Please give some idea to this task.

thank you

shankar clite

0 Answers0