欢迎来到天天文库
浏览记录
ID:35989569
大小:153.55 KB
页数:9页
时间:2019-04-29
《android实验2界面设计:基本组件》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、实用文案西安邮电大学(计算机学院)课内实验报告实验名称:界面设计:基本组件专业:网络工程班级:姓名:学号:指导教师:日期:2017年4月20日一.实验目的标准文档实用文案1.掌握常用组件在布局文件中的设置2.掌握在java程序中获取组件值3.掌握对组件值得验证4.掌握基本常用的监听器,和事件处理5.掌握将组件值提交到下一个Activity活动的方法二.实验环境JDK的版本:"1.8.0_40"IDE:eclipse4.6.1模拟器:夜神模拟器三.实验内容1.补充完成下例空缺处,完成注册界面、部门列表
2、框、单击确定检查提交成功、接受界面四.实验过程及分析1.设计UI界面(1)编写布局代码,如下3、oid:text="@string/user"android:layout_width="match_parent"android:layout_height="wrap_content"/>4、ewandroid:text="@string/password"android:layout_width="match_parent"android:layout_height="wrap_content"/>标准文档实用文案6、ontent">7、out_width="wrap_content"android:layout_height="wrap_content"/>8、utType="text9、phone"android:layout_width="200sp"android:layout_height="wrap_content"/>
3、oid:text="@string/user"android:layout_width="match_parent"android:layout_height="wrap_content"/>4、ewandroid:text="@string/password"android:layout_width="match_parent"android:layout_height="wrap_content"/>标准文档实用文案6、ontent">7、out_width="wrap_content"android:layout_height="wrap_content"/>8、utType="text9、phone"android:layout_width="200sp"android:layout_height="wrap_content"/>
4、ewandroid:text="@string/password"android:layout_width="match_parent"android:layout_height="wrap_content"/>标准文档实用文案6、ontent">7、out_width="wrap_content"android:layout_height="wrap_content"/>8、utType="text9、phone"android:layout_width="200sp"android:layout_height="wrap_content"/>
6、ontent">7、out_width="wrap_content"android:layout_height="wrap_content"/>8、utType="text9、phone"android:layout_width="200sp"android:layout_height="wrap_content"/>
7、out_width="wrap_content"android:layout_height="wrap_content"/>8、utType="text9、phone"android:layout_width="200sp"android:layout_height="wrap_content"/>
8、utType="text
9、phone"android:layout_width="200sp"android:layout_height="wrap_content"/>
此文档下载收益归作者所有