<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/linear" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:orientation="vertical" > <LinearLayout android:layout_width="@dimen/jm_login_width" android:layout_height="@dimen/jm_login_height" android:background="@drawable/jmloginb" android:orientation="vertical" > <RelativeLayout android:layout_width="match_parent" android:layout_height="80dp" android:orientation="vertical" > <ImageView android:id="@+id/logo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginLeft="25dp" android:layout_marginTop="15dp" android:background="@drawable/jm_logo_new" /> <TextView android:layout_width="wrap_content" android:layout_height="40dp" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:layout_margin="5dp" android:layout_marginRight="25dp" android:layout_marginTop="10dp" android:padding="5sp" android:text="@string/setpwd_text_title" android:textColor="@color/jmfont_black" android:textSize="20sp" /> </RelativeLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:orientation="vertical" > <RelativeLayout android:layout_width="wrap_content" android:layout_height="40dp" > <RelativeLayout android:id="@+id/iphoe_bg" android:layout_width="90dp" android:layout_height="35dp" android:layout_margin="5dp" > <TextView android:id="@+id/usertv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:text="@string/setpwd_text_msg" android:textColor="@color/jmfont_black" android:textSize="18sp" /> </RelativeLayout> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toRightOf="@+id/iphoe_bg" android:text="16889014567" android:id="@+id/tvmobile" android:textColor="@color/jmfont_black" android:textSize="18sp" > </TextView> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:alpha="0.5" android:background="#d6d6d6" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:layout_marginTop="10dp" android:orientation="vertical" > <RelativeLayout android:layout_width="wrap_content" android:layout_height="40dp" > <RelativeLayout android:id="@+id/pwr" android:layout_width="90dp" android:layout_height="35dp" android:layout_margin="5dp" > <TextView android:id="@+id/pwdtv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:text="@string/user_text_pwd" android:textColor="@color/jmfont_black" android:textSize="18sp" /> <ImageView android:layout_width="20dp" android:layout_height="20dp" android:layout_centerVertical="true" android:layout_marginLeft="5dp" android:layout_toRightOf="@+id/pwdtv" android:background="@drawable/jm_pwd" /> </RelativeLayout> <EditText android:id="@+id/edit_pwd" android:layout_width="match_parent" android:layout_height="35dp" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_toRightOf="@+id/pwr" android:background="@null" android:gravity="center_vertical" android:hint="@string/user_edit_pwdhint" android:inputType="text" android:maxLength="22" android:singleLine="true" android:textColor="#000000" android:textColorHint="#d5dad3" android:imeOptions="actionDone" android:textSize="16sp" > </EditText> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:alpha="0.5" android:background="#d6d6d6" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:layout_marginTop="5dp" android:orientation="vertical" > <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="20dp" > <Button android:id="@+id/iphonebtlg" android:layout_width="match_parent" android:layout_height="50dp" android:background="@drawable/jmblues_btn_style" android:text="@string/setuser_bt_msg" android:textColor="@color/jmfont_white" /> </RelativeLayout> </LinearLayout> </LinearLayout> </LinearLayout>