android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:textSize=“15sp”
android:gravity=“center”
android:text=“邮箱:” />
<EditText
android:id=“@+id/email”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:ems=“10”
android:gravity=“center”
android:inputType=“textEmailAddress”
android:hint=“请输入邮箱”
/>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:orientation=“horizontal”>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:textSize=“15sp”
android:gravity=“center”
android:text=“手机号:” />
<EditText
android:id=“@+id/phone”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:ems=“10”
android:gravity=“center”
android:inputType=“phone”
android:maxLength=“11”
android:hint=“请输入手机号”
/>
<Button
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:textSize=“25sp”
android:onClick=“register”
android:text=“注册” />
<Button
android:layout_width=“match_parent”
android:layout_height=“wrap_