| | |
| | | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:orientation="vertical"> |
| | | android:background="@mipmap/login_bg1" |
| | | android:orientation="vertical" |
| | | android:padding="20dp"> |
| | | |
| | | |
| | | <EditText |
| | | android:id="@+id/name" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="45dp" |
| | | android:layout_above="@+id/psLL" |
| | | android:layout_marginLeft="20dp" |
| | | android:layout_marginRight="20dp" |
| | | android:layout_marginBottom="10dp" |
| | | android:hint="请输入账号" /> |
| | | android:layout_marginBottom="20dp" |
| | | android:background="@drawable/ic_edt_gray_bg" |
| | | android:hint="请输入账号" |
| | | android:paddingLeft="15dp" /> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/psLL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="45dp" |
| | | android:layout_above="@+id/loginBtn" |
| | | android:layout_marginLeft="20dp" |
| | | android:layout_marginRight="20dp" |
| | | android:layout_marginBottom="20dp" |
| | | android:layout_marginBottom="30dp" |
| | | android:background="@drawable/ic_edt_gray_bg" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <EditText |
| | | android:id="@+id/password" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_toLeftOf="@+id/passwordBtn" |
| | | android:background="@color/white" |
| | | android:hint="请输入密码" |
| | | android:inputType="textPassword" /> |
| | | android:inputType="textPassword" |
| | | android:paddingLeft="15dp" |
| | | /> |
| | | |
| | | <ImageButton |
| | | <ImageView |
| | | android:id="@+id/passwordBtn" |
| | | android:layout_width="40dp" |
| | | android:layout_height="40dp" |
| | | android:layout_height="25dp" |
| | | android:src="@drawable/vt_ps_close" |
| | | android:layout_marginRight="5dp" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_centerVertical="true" /> |
| | | </RelativeLayout> |
| | |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_marginLeft="20dp" |
| | | android:layout_marginRight="20dp" |
| | | android:layout_marginBottom="20dp" |
| | | android:layout_marginBottom="50dp" |
| | | android:background="@drawable/ic_blue_background" |
| | | android:gravity="center" |
| | | android:text="登录" |
| | | android:text="登 录" |
| | | android:textColor="@color/white" |
| | | android:textSize="20sp" /> |
| | | |