| | |
| | | android:background="@mipmap/bg_login" |
| | | android:fitsSystemWindows="true" |
| | | android:orientation="vertical"> |
| | | |
| | | <ImageView |
| | | android:layout_width="100dp" |
| | | android:layout_height="100dp" |
| | | android:layout_gravity="center_horizontal" |
| | | android:layout_marginTop="@dimen/y40" |
| | | android:src="@mipmap/logo_login" /> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/x20" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:layout_marginTop="@dimen/x16" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:background="@mipmap/bg_edit" |
| | | android:padding="@dimen/x14"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv1" |
| | | android:layout_width="@dimen/x16" |
| | | android:layout_height="@dimen/x16" |
| | | android:layout_centerVertical="true" |
| | | android:src="@mipmap/icon_account_phone"/> |
| | | android:src="@mipmap/icon_account_phone" /> |
| | | |
| | | <View |
| | | android:id="@+id/line1" |
| | | android:layout_width="1dp" |
| | |
| | | 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_toRightOf="@+id/line1" |
| | | android:layout_centerVertical="true" |
| | | android:hint="请输入注册手机号" |
| | | android:textColorHint="@color/red_txt" |
| | | android:textColor="@color/red_txt" |
| | | android:layout_toRightOf="@+id/line1" |
| | | android:background="@null" |
| | | android:hint="请输入注册手机号" |
| | | android:inputType="number" |
| | | android:paddingLeft="@dimen/x10" |
| | | android:paddingRight="@dimen/x10" |
| | | android:textColor="@color/blue_txt" |
| | | android:textColorHint="@color/blue_txt" |
| | | android:textSize="16sp" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/bt_code" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentRight="true" |
| | | android:textColor="@color/white" |
| | | android:gravity="center" |
| | | android:background="@mipmap/bt_red_small" |
| | | android:gravity="center" |
| | | android:paddingLeft="@dimen/x8" |
| | | android:paddingTop="@dimen/x2" |
| | | android:paddingRight="@dimen/x8" |
| | | android:paddingBottom="@dimen/x2" |
| | | android:paddingTop="@dimen/x2" |
| | | android:text="获取验证码"/> |
| | | android:text="获取验证码" |
| | | android:textColor="@color/white" /> |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:background="@mipmap/bg_edit" |
| | | android:layout_marginLeft="@dimen/x20" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:layout_marginTop="@dimen/x16" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:background="@mipmap/bg_edit" |
| | | android:padding="@dimen/x14"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv2" |
| | | android:layout_width="@dimen/x16" |
| | | android:layout_height="@dimen/x16" |
| | | android:layout_centerVertical="true" |
| | | android:src="@mipmap/icon_code"/> |
| | | android:src="@mipmap/icon_code" /> |
| | | |
| | | <View |
| | | android:id="@+id/line2" |
| | | android:layout_width="1dp" |
| | |
| | | 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_code" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_toRightOf="@id/line2" |
| | | android:background="@null" |
| | | android:hint="请输入验证码" |
| | | android:inputType="number" |
| | | android:textColorHint="@color/red_txt" |
| | | android:textColor="@color/red_txt" |
| | | android:background="@null" |
| | | android:textSize="16sp" |
| | | android:paddingLeft="@dimen/x10" |
| | | android:paddingRight="@dimen/x10" |
| | | android:layout_toRightOf="@id/line2"/> |
| | | android:textColor="@color/blue_txt" |
| | | android:textColorHint="@color/blue_txt" |
| | | android:textSize="16sp" /> |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/x20" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:layout_marginTop="@dimen/x14" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:background="@mipmap/bg_edit" |
| | | android:padding="@dimen/x14"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv3" |
| | | android:layout_width="@dimen/x16" |
| | | android:layout_height="@dimen/x16" |
| | | android:layout_centerVertical="true" |
| | | android:src="@mipmap/icon_password"/> |
| | | android:src="@mipmap/icon_password" /> |
| | | |
| | | <View |
| | | android:id="@+id/line3" |
| | | android:layout_width="1dp" |
| | |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginLeft="@dimen/x8" |
| | | android:layout_toRightOf="@+id/iv3" |
| | | 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/line3" |
| | | android:layout_centerVertical="true" |
| | | android:hint="请输入密码" |
| | | android:textColorHint="@color/red_txt" |
| | | android:textColor="@color/red_txt" |
| | | android:layout_toRightOf="@+id/line3" |
| | | android:background="@null" |
| | | android:inputType="number" |
| | | android:hint="请输入密码" |
| | | android:inputType="textPassword" |
| | | android:paddingLeft="@dimen/x10" |
| | | android:paddingRight="@dimen/x10" |
| | | android:textColor="@color/blue_txt" |
| | | android:textColorHint="@color/blue_txt" |
| | | android:textSize="16sp" /> |
| | | </RelativeLayout> |
| | | |
| | | <Button |
| | | android:id="@+id/bt_sure" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/x40" |
| | | android:layout_marginLeft="@dimen/x20" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:layout_marginTop="@dimen/x20" |
| | | android:background="@mipmap/bt_red" |
| | | android:layout_marginRight="@dimen/x20" |
| | | android:background="@mipmap/bt_blue" |
| | | android:gravity="center" |
| | | android:text="注册" |
| | | android:textColor="@color/white" |
| | | android:textColorHint="@color/white" |
| | | android:textSize="16sp" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_login" |
| | | 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:gravity="bottom|center_horizontal" |
| | | android:text="已有账号,返回登录" |
| | | android:textColor="@color/blue_txt" |
| | | android:textSize="16sp" /> |
| | | </LinearLayout> |