android UI注册登录界面

注册

 
 
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:background="#0099ff"
android:layout_width="match_parent"
android:layout_height="44dp"
android:orientation="horizontal">
<ImageButton
android:id="@+id/back3"
android:layout_width="36dp"
android:layout_height="30dp"
android:background="@drawable/back"
android:layout_gravity="center"/>
<TextView
android:textColor="#ffffff"
android:text="注册"
android:textSize="20dp"
android:gravity="center"
android:background="#0099ff"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingTop="16dp"
android:paddingRight="16dp"
android:paddingLeft="16dp">
<EditText
android:id="@+id/phoneNumber"
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="+86"
android:maxLength="11"
android:textColorHint="#0066ff"
android:numeric="integer"
android:background="@drawable/edit_shape"/>
<LinearLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="50dp">
<EditText
android:id="@+id/yanZhengMaText"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/edit_shape"
android:layout_marginRight="10dp"
android:hint="验证码"
android:numeric="integer"
android:maxLength="6"
android:textColorHint="#0066ff"/>
<Button
android:id="@+id/yanZhengMaButton"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/shape"
android:text="获取验证码"
android:textColor="#ffffff"
android:textSize="15dp"/>
</LinearLayout>
<EditText
android:id="@+id/sheZhiMiMa"
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@drawable/edit_shape"
android:hint="设置密码"
android:maxLength="16"
android:textColorHint="#0066ff"/>
<Button
android:id="@+id/queRenZhuCeBtn"
android:layout_marginTop="40dp"
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="@drawable/shape"
android:text="注册"
android:textColor="#ffffff"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
登录
   
   
 
 
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android"
xmlns:tools= "http://schemas.android.com/tools"
android:layout_width= "match_parent"
android:layout_height= "match_parent"
android:orientation= "vertical"
tools:context= "com.example.administrator.myapplication.MainActivity" >
<LinearLayout
android:layout_width= "match_parent"
android:layout_height= "60dp"
android:orientation= "horizontal" >
<TextView
android:textColor= "#ffffff"
android:text= "登录"
android:textSize= "20dp"
android:gravity= "center"
android:background= "#0099ff"
android:layout_width= "match_parent"
android:layout_height= "44dp" />
</LinearLayout>
<LinearLayout
android:layout_width= "match_parent"
android:layout_height= "match_parent"
android:orientation= "vertical"
android:paddingLeft= "16dp"
android:paddingRight= "16dp"
android:paddingTop= "16dp" >
<EditText
android:id= "@+id/zhangHaoText"
android:layout_width= "match_parent"
android:layout_height= "50dp"
android:hint= "帐号"
android:numeric= "integer"
android:textColorHint= "#0066ff"
android:maxLength= "11"
android:background= "@drawable/edit_shape" />
<EditText
android:id= "@+id/miMaText"
android:layout_marginTop= "10dp"
android:layout_width= "match_parent"
android:layout_height= "50dp"
android:hint= "密码"
android:maxLength= "16"
android:textColorHint= "#0066ff"
android:background= "@drawable/edit_shape" />
<LinearLayout
android:layout_width= "match_parent"
android:layout_height= "50dp"
android:layout_marginTop= "10dp" >
<Button
android:id= "@+id/zhuCeButton"
android:layout_width= "wrap_content"
android:layout_height= "match_parent"
android:layout_weight= "1"
android:background= "#0000"
android:text= "注册"
android:textColor= "#0066ff"
android:gravity= "left|center" />
<Button
android:id= "@+id/wangJiMiMaButton"
android:layout_width= "wrap_content"
android:layout_height= "match_parent"
android:layout_weight= "1"
android:background= "#0000"
android:text= "忘记密码"
android:textColor= "#0066ff"
android:gravity= "right|center" />
</LinearLayout>
<Button
android:id= "@+id/dengLuButton"
android:layout_marginTop= "10dp"
android:layout_width= "match_parent"
android:layout_height= "44dp"
android:text= "登录"
android:background= "@drawable/shape"
android:textColor= "#ffffff"
android:textSize= "15dp" />
</LinearLayout>
</LinearLayout>
源码

链接:http://pan.baidu.com/s/1bZyEya 密码:thg1

欢迎加微信15599109256 进行讨论

邮箱:1632365610@qq.con

可以加群220523801欢迎一起讨论



  • 0
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值