parent
7e3b7ef15a
commit
3af35fb612
@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/r7"
|
||||
tools:context=".SignIn"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img1"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:layout_marginTop="100dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/img1"
|
||||
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_marginLeft="40dp"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:text="用户名"
|
||||
android:textColor="#000"
|
||||
android:gravity="center"
|
||||
android:textSize="20dp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etname"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#000"
|
||||
android:textSize="20dp" />
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_marginLeft="40dp"
|
||||
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:textSize="20dp"
|
||||
android:textColor="#000"
|
||||
android:gravity="center"
|
||||
android:text="密 码"
|
||||
/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etpassword"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#000"
|
||||
android:textSize="20dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:orientation="horizontal">
|
||||
<Button
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="20dp"
|
||||
android:textColor="#000"
|
||||
android:background="@drawable/freeshape"
|
||||
android:text="注册"
|
||||
android:id="@+id/signup"
|
||||
/>
|
||||
<Button
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="60dp"
|
||||
android:textSize="20dp"
|
||||
android:textColor="#000"
|
||||
android:background="@drawable/freeshape"
|
||||
android:text="登录"
|
||||
android:id="@+id/signin"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in new issue