- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
070812052 方明星 实验5
实验名称:实验五 根据身高计算标准体重
学号:070812001 姓名 :方明星
实验要求
根据身高计算标准体重
实验内容
1实验代码
Main.xml
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=/apk/res/android
android:layout_width=fill_parent
android:layout_height=fill_parent
android:background=@drawable/b3
android:orientation=vertical
TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:layout_gravity=center_horizontal
android:padding=20px
android:textSize=36dp
android:textColor=#60f
android:text=为了健康和美丽,我们来测测自己的标准体重吧! /
LinearLayout
android:id=@+id/linearLayout1
android:gravity=center_vertical
android:layout_width=match_parent
android:layout_height=wrap_content
TextView
android:id=@+id/textView1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:textColor=#f000
android:textSize=28dp
android:text=性别: /
RadioGroup
android:id=@+id/sex
android:orientation=horizontal
android:layout_width=wrap_content
android:layout_height=wrap_content
RadioButton
android:id=@+id/radio0
android:layout_width=wrap_content
android:layout_height=wrap_content
android:checked=true
android:textSize=24dp
android:textColor=#f000
android:text=男 /
RadioButton
android:id=@+id/radio1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:textColor=#f000
android:textSize=24dp
android:text=女 /
/RadioGroup
/LinearLayout
LinearLayout
android:id=@+id/linearLayout1
android:gravity=center_vertical
android:layout_width=match_parent
android:layout_height=wrap_content
TextView
android:
您可能关注的文档
- PWC 20日笔经.docx
- 初一下册第四单元学案.doc
- 2012.12.1雅思考试机经.doc
- 英语四级备考方法.doc
- 2008年06月14日雅思A类机经.doc
- 大牛的雅思阅读和听力方法.doc
- 提分必备:2012年11月10日托福考试听力真题.docx
- 2008年6月14日雅思G类机经.docx
- 通过英语四六级考试时有用的技巧.doc
- 2014年3月1日托福阅读机经.docx
- 门窗项目合同协议.docx
- 第3课《 “飞天”凌空——跳水姑娘吕伟夺魁记》教学设计 2024—2025学年统编版语文八年级上册.docx
- 5.1 轴对称及其性质教学设计 2024-2025学年北师大版数学七年级下册.docx
- 第四单元建立网站第13课五、建立超链接教学设计 2023—2024学年人教版初中信息技术七年级上册.docx
- 门窗长期合同协议.docx
- 第1课《社戏》教学设计 2023-2024学年统编版语文八年级下册.docx
- 《11~20的认识——10的再认识》教学设计-2024-2025学年一年级上册数学人教版.docx
- 9.2溶解度(第1课时饱和溶液不饱和溶液) 教学设计-2024-2025学年九年级化学人教版(2024)下册.docx
- 门窗配件合同协议.docx
- 央视2025开学第一课观后感范文15篇.docx
文档评论(0)