Android项目注册页面的搭建
来源:互联网 发布:微创软件 编辑:程序博客网 时间:2024/06/02 04:45
今天工作基本完成,所以闲着没事,写个注册界面布局练练手,供大家取样,使用.如若觉得有可取之处,那就方便了大家以后可以直接取来用,节省时间.
多的就不讲了,直接上代码吧:
<?xml version="1.0" encoding="utf-8"?><TableLayout 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" tools:context="com.example.niu.inputapp.MainActivity" android:background="#fff" android:stretchColumns="1"> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="用户名:" android:textSize="16sp"/> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请填写登录账号" android:selectAllOnFocus="true"/> </TableRow> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="密码:" android:textSize="16sp"/> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请输入密码" android:inputType="numberPassword"/> </TableRow> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="年龄:" android:textSize="16sp"/> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="number"/> </TableRow> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="生日:" android:textSize="16sp"/> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="date"/> </TableRow> <TableRow> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="电话号码:" android:textSize="16sp"/> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请输入你的电话号码" android:selectAllOnFocus="true" android:inputType="phone"/> </TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="注册"/></TableLayout>
0 0
- Android项目注册页面的搭建
- 项目登录、注册页面的收获
- 小KING教你做android项目(二)---实现登陆页面并跳转和简单的注册页面
- 小KING教你做android项目(二)---实现登陆页面并跳转和简单的注册页面
- 小KING教你做android项目(二)---实现登陆页面并跳转和简单的注册页面
- android注册页面
- Android项目框架的搭建
- 美化的注册页面
- 简单的注册页面
- android中注册页面实现
- android一个注册页面和验证码的实现
- 初学Android,在注册页面遇到的一个bug
- Android项目开发(3)-注册验证码验证页面功能实现
- Springboot搭建web项目访问自定义位置的html页面
- BLOG 搭建环境中出现的错误--注册页面跳转时出现
- table表格加form表单实例及注册页面的搭建
- Android开发的项目框架的搭建
- Android开发-UI控件:实现登陆页面并跳转和简单的注册页面
- Selenium:Page Object
- POJ 1107 W's Cipher 已被翻译
- Sqoop配置使用
- JavaScript使用console.log输出当前的行号
- error:Implicit super constructor Object() is undefined for default constructor..的解决方法
- Android项目注册页面的搭建
- eclipse安装maven
- Glide使用
- 2016-12-03 redis设置初启动并执行缓存以及执行方法后再执行缓存
- Laravel框架学习笔记001
- ubuntu14.04+cuda7.5+caffe+cudnn7.5+anaconda+opencv 2.4.9系统整合(2016.12.3)
- 电话号码转化为联系人姓名
- Selenium2+java+Eclipse-简单对象定位
- 使用C#把发表的时间改为几个月,几天前,几小时前,几分钟前,或几秒前