| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:focusableInTouchMode="true"
- android:orientation="vertical">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="centerCrop"
- android:src="@drawable/login_bg"/>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingLeft="@dimen/content_padding"
- android:paddingRight="@dimen/content_padding">
- <TextView
- android:id="@+id/tv_login"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:padding="@dimen/content_padding_big"
- android:text="登录"
- android:textColor="@color/orange_text_light"
- android:textSize="@dimen/text_size_4"/>
- <android.support.v7.widget.AppCompatEditText
- android:id="@+id/et_account"
- style="style_edt"
- android:inputType="phone"
- android:layout_width="match_parent"
- android:layout_height="@dimen/edt_heigh_default"
- android:layout_centerVertical="true"
- android:layout_margin="@dimen/content_padding_small"
- android:background="@drawable/sp_edt_background_login"
- android:hint="请输入手机号"
- android:paddingLeft="@dimen/content_padding_big"
- android:maxLength="11"
- android:textSize="@dimen/text_size_3"/>
- <LinearLayout
- android:id="@+id/ll_code"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/et_account"
- android:layout_margin="@dimen/content_padding_small"
- android:orientation="horizontal"
- >
- <android.support.v7.widget.AppCompatEditText
- android:id="@+id/et_code"
- style="style_edt"
- android:layout_width="0dp"
- android:layout_height="@dimen/edt_heigh_default"
- android:layout_weight="2"
- android:background="@drawable/sp_edt_background_login"
- android:hint="请输入验证码"
- android:inputType="phone"
- android:paddingLeft="@dimen/content_padding_big"
- android:maxLength="6"
- android:textSize="@dimen/text_size_3"/>
- <TextView
- android:id="@+id/btn_code"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center|center_vertical"
- android:layout_marginLeft="@dimen/content_padding"
- android:layout_weight="1"
- android:background="@drawable/sp_btn_common"
- android:gravity="center"
- android:padding="@dimen/content_padding_small"
- android:text="获取验证码"
- android:textColor="@color/black_text_deep"
- />
- </LinearLayout>
- <android.support.v7.widget.AppCompatEditText
- android:id="@+id/et_psw"
- style="style_edt"
- android:layout_width="match_parent"
- android:layout_height="@dimen/edt_heigh_default"
- android:layout_below="@id/ll_code"
- android:layout_margin="@dimen/content_padding_small"
- android:background="@drawable/sp_edt_background_login"
- android:hint="请输入密码(至少6位)"
- android:inputType="textPassword"
- android:paddingLeft="@dimen/content_padding_big"
- android:textSize="@dimen/text_size_3"/>
- <android.support.v7.widget.AppCompatEditText
- android:id="@+id/et_invite"
- style="style_edt"
- android:layout_width="match_parent"
- android:layout_height="@dimen/edt_heigh_default"
- android:layout_below="@id/et_psw"
- android:layout_margin="@dimen/content_padding_small"
- android:background="@drawable/sp_edt_background_login"
- android:hint="请输入邀请码(选填)"
- android:inputType="number"
- android:paddingLeft="@dimen/content_padding_big"
- android:maxLength="6"
- android:textSize="@dimen/text_size_3"/>
- <TextView
- android:id="@+id/tv_wx"
- style="@style/style_btn"
- android:layout_width="match_parent"
- android:layout_height="@dimen/edt_heigh_default"
- android:layout_below="@id/et_invite"
- android:layout_marginTop="@dimen/layout_heigh_default"
- android:layout_marginRight="@dimen/content_padding_small"
- android:layout_marginLeft="@dimen/content_padding_small"
- android:gravity="center"
- android:text="注 册"
- android:textSize="@dimen/text_size_4"/>
- </RelativeLayout>
- </FrameLayout>
|