




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、物联网应用技术专业教学资源库文档文档来源院校开发文档编号旅游日记模块一创建日历相册布局设计2015年11月10日目 录1 任务描述12 技能目标13 任务实施14 问题分析1创建日历相册布局1 任务描述利用android中布局的知识,实现日历页面的布局设计。2 技能目标实现日历相册的布局。3 任务实施第一步:在res下的layout文件夹下创建一个xml文件。第二步:在文件中实现标题栏<TextView android:id="+id/tv" android:layout_width="fill_parent" android:layout_hei
2、ght="wrap_content" android:background="drawable/rilitop" android:gravity="center_horizontal" android:paddingTop="15dip" android:textColor="#f1e1dd" android:textSize="30dip" />第三步:实现日期的布局设计<LinearLayout android:id="+id/layout"
3、; android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:orientation="horizontal" > <ImageButton android:id="+id/a" android:layout_width="fill_parent" android:layout_height="fill_
4、parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/b" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background=&quo
5、t;drawable/pressd" /> <ImageButton android:id="+id/c" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/d&quo
6、t; android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/e" android:layout_width="fill_parent" android:layout_height="
7、;fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/f" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:backgroun
8、d="drawable/pressd" /> <ImageButton android:id="+id/g" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> </LinearLayout> <View andro
9、id:layout_width="fill_parent" android:layout_height="0.5dip" android:background="android:color/darker_gray" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:orie
10、ntation="horizontal" > <ImageButton android:id="+id/h" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id
11、/i" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/j" android:layout_width="fill_parent" android:layout_height
12、="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/k" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:bac
13、kground="drawable/pressd" /> <ImageButton android:id="+id/l" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id=&qu
14、ot;+id/m" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/n" android:layout_width="fill_parent" android:layout_
15、height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="0.5dip" android:background="android:color/darker_gray" /&g
16、t; <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:orientation="horizontal" > <ImageButton android:id="+id/o" android:layout_width="fill_parent" android:layout_
17、height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/p" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" andro
18、id:background="drawable/pressd" /> <ImageButton android:id="+id/q" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:
19、id="+id/r" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/s" android:layout_width="fill_parent" android:l
20、ayout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/t" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1"
21、 android:background="drawable/pressd" /> <ImageButton android:id="+id/u" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> </LinearLayout&
22、gt; <View android:layout_width="fill_parent" android:layout_height="0.5dip" android:background="android:color/darker_gray" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1&
23、quot; android:orientation="horizontal" > <ImageButton android:id="+id/v" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton an
24、droid:id="+id/w" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/x" android:layout_width="fill_parent" and
25、roid:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/y" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1
26、" android:background="drawable/pressd" /> <ImageButton android:id="+id/z" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageBut
27、ton android:id="+id/a1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/b1" android:layout_width="fill_parent&q
28、uot; android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="0.5dip" android:background="android:color/d
29、arker_gray" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:orientation="horizontal" > <ImageButton android:id="+id/c1" android:layout_width="fill_parent&
30、quot; android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/d1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weig
31、ht="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/e1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> &
32、lt;ImageButton android:id="+id/f1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/g1" android:layout_width="fi
33、ll_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/h1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:l
34、ayout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/i1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd&quo
35、t; /> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="0.5dip" android:background="android:color/darker_gray" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" and
36、roid:layout_weight="1" android:orientation="horizontal" > <ImageButton android:id="+id/j1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd&qu
37、ot; /> <ImageButton android:id="+id/k1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/l1" android:layout_wid
38、th="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> <ImageButton android:id="+id/m1" android:layout_width="fill_parent" android:layout_height="fill_parent"
39、; android:layout_weight="1" android:background="drawable/pressd" /> <ImageButton android:id="+id/n1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="drawable/danpressd" /> &
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年护师类之护师(初级)基础试题库和答案要点
- 教师培训:校园安全
- 第 4 单元评估检测题(B卷)(单元测试)(无答案)2024-2025学年二年级下册数学人教版
- 中国乙丙共聚物市场发展状况与投资趋势预测报告2025-2031年
- 北师大定积分高中知识
- 天然气知识培训课件
- 固定资产管理课件
- 小学语文优教课件
- 电力安规考试题及答案
- 教练班钢管考试题及答案
- 高考真题与模拟训练专题练习专题02函数及其性质(原卷版+解析)
- 2024-2025学年高一历史人教统编版中外历史纲要下册同步课时训练 第8课 西欧的思想解放运动(含解析)
- 部编版(2024版)七年级历史上册第8课《夏商周时期的科技与文化》练习题(含答案)
- DB-T 29-22-2024 天津市住宅设计标准
- 2025届云南省民族大学附属中学高三适应性调研考试生物试题含解析
- 医疗器械质量安全风险会商管理制度
- 焦虑自评量表(SAS)
- 政治审查表(模板)
- 银行断卡行动培训课件
- 当前国际形势分析
- (完整word版)数学中考答题卡模板
评论
0/150
提交评论