123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?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:background="@color/transparent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="250dp"
- android:layout_marginLeft="30dp"
- android:layout_marginTop="180dp"
- android:layout_marginRight="30dp"
- android:background="@color/white"
- android:orientation="vertical">
- <EditText
- android:id="@+id/phonenumber_phonenumber"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/shape_login_phonenumber_edittext"
- android:gravity="left|center"
- android:hint="请输入手机号码"
- android:inputType="number"
- android:maxLength="11"
- android:paddingLeft="30dp"
- android:paddingRight="10dp"
- android:textSize="20sp"></EditText>
- <View
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="0.5"></View>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:orientation="horizontal">
- <EditText
- android:id="@+id/phonenumber_verifcation"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="1.3"
- android:background="@drawable/shape_login_phonenumber_edittext"
- android:gravity="left|center"
- android:hint="请输入验证码"
- android:inputType="number"
- android:maxLength="4"
- android:paddingLeft="30dp"
- android:paddingRight="10dp"
- android:textSize="20sp"></EditText>
- <View
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.1"></View>
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <TextView
- android:id="@+id/phonenumber_getverifcation"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center|right"
- android:background="@drawable/shape_login_phonenumber_getverification"
- android:gravity="center"
- android:text="获取验证码"
- android:textColor="#FFA301"
- android:textSize="20sp"></TextView>
- </FrameLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="0.5"></View>
- <TextView
- android:id="@+id/phonenumber_login"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@drawable/shape_login_phonenumber_login"
- android:gravity="center"
- android:text="登 录"
- android:textColor="@color/white"
- android:textSize="20sp"></TextView>
- <View
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="0.5"></View>
- <TextView
- android:id="@+id/change_text"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_gravity="center|bottom"
- android:layout_weight="1"
- android:gravity="top|center"
- android:text="切换手机号登录"
- android:textColor="#0B0B0B"
- android:textSize="16sp"></TextView>
- </LinearLayout>
- </FrameLayout>
|