| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@mipmap/bg_login" |
| | | android:fitsSystemWindows="true" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_register" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="right" |
| | | android:layout_marginTop="@dimen/x10" |
| | | android:layout_marginRight="@dimen/x10" |
| | | android:layout_marginBottom="@dimen/x30" |
| | | android:gravity="center|center_horizontal" |
| | | android:text="注册" |
| | | android:textColor="@color/white" |
| | | android:textSize="16sp" /> |
| | | |
| | | <ImageView |
| | | android:layout_width="100dp" |
| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/x40" |
| | | android:layout_marginRight="@dimen/x40" |
| | | android:layout_marginTop="@dimen/x24" |
| | | android:layout_marginRight="@dimen/x40" |
| | | android:layout_marginBottom="@dimen/x20" |
| | | android:background="@mipmap/bg_edit" |
| | | android:padding="@dimen/x14"> |
| | |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginLeft="@dimen/x8" |
| | | android:layout_toRightOf="@+id/iv1" |
| | | android:background="@color/red_txt" /> |
| | | android:background="@color/blue_txt" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_phone" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:layout_toRightOf="@+id/line1" |
| | | android:background="@null" |
| | | android:hint="请输入手机号码" |
| | | android:inputType="number" |
| | | android:paddingLeft="@dimen/x10" |
| | | android:paddingRight="@dimen/x10" |
| | | android:layout_centerVertical="true" |
| | | android:textColor="@color/red_txt" |
| | | android:textColorHint="@color/red_txt" |
| | | android:textColor="@color/blue_txt" |
| | | android:textColorHint="@color/blue_txt" |
| | | android:textSize="16sp" /> |
| | | </RelativeLayout> |
| | | |
| | |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginLeft="@dimen/x8" |
| | | android:layout_toRightOf="@+id/iv2" |
| | | android:background="@color/red_txt" /> |
| | | android:background="@color/blue_txt" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_pwd" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_toRightOf="@+id/line2" |
| | | android:layout_centerVertical="true" |
| | | android:layout_toRightOf="@+id/line2" |
| | | android:background="@null" |
| | | android:hint="请输入密码" |
| | | android:inputType="textPassword" |
| | | android:paddingLeft="@dimen/x10" |
| | | android:paddingRight="@dimen/x10" |
| | | android:textColor="@color/red_txt" |
| | | android:textColorHint="@color/red_txt" |
| | | android:textColor="@color/blue_txt" |
| | | android:textColorHint="@color/blue_txt" |
| | | android:textSize="16sp" /> |
| | | </RelativeLayout> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_forget" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentRight="true" |
| | | android:text="忘记密码?" |
| | | android:layout_marginRight="@dimen/x40" |
| | | android:layout_marginTop="@dimen/x24" |
| | | android:layout_marginRight="@dimen/x40" |
| | | android:gravity="right" |
| | | android:text="忘记密码?" |
| | | android:textColor="@color/dark_gray_txt" |
| | | android:textSize="15sp" /> |
| | | |
| | | <Button |
| | | android:id="@+id/bt_sure" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/x40" |
| | | android:layout_marginLeft="@dimen/x40" |
| | | android:layout_marginTop="@dimen/x12" |
| | | android:layout_marginRight="@dimen/x40" |
| | | android:layout_marginTop="@dimen/x24" |
| | | android:background="@mipmap/bt_red" |
| | | android:background="@mipmap/bt_blue" |
| | | android:text="登录" |
| | | android:gravity="center" |
| | | android:textColor="@color/white" |
| | | android:textSize="16sp" /> |
| | | <TextView |
| | | android:id="@+id/tv_register" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:text="新用户注册" |
| | | android:gravity="bottom|center_horizontal" |
| | | android:textColor="@color/red_txt" |
| | | android:layout_marginBottom="@dimen/x30" |
| | | android:textSize="16sp" /> |
| | | |
| | | <Button |
| | | android:id="@+id/weixinlogin" |
| | | android:layout_width="@dimen/x44" |
| | | android:layout_height="@dimen/x44" |
| | | android:layout_gravity="bottom|center" |
| | | android:layout_marginTop="@dimen/x2" |
| | | android:background="@mipmap/weixin" |
| | | android:stateListAnimator="@anim/progress" /> |
| | | </LinearLayout> |