[2].[代码] Layout

android:layout_width="match_parent"

android:layout_height="match_parent"

android:textAlignment="center"

tools:context=".MainActivity" xmlns:android="http://schemas.android.com/apk/res/android">

android:id="@+id/textView1"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_alignParentTop="true"

android:layout_marginTop="20dp"

android:gravity="center"

android:text="@string/app_name"

android:textAlignment="center"

android:textAppearance="?android:attr/textAppearanceLarge" />

android:id="@+id/tableRow1"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_below="@+id/textView1"

android:layout_centerHorizontal="true"

android:layout_marginTop="55dp" >

android:id="@+id/textViewMyHeightLable"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/labelHeight"

android:textAppearance="?android:attr/textAppearanceMedium" />

android:id="@+id/myHeight"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:ems="10"

android:inputType="number" >

android:id="@+id/tableRow2"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_below="@+id/tableRow1"

android:layout_centerHorizontal="true"

android:layout_marginTop="5dp" >

android:id="@+id/textViewMyWeightLable"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/lableWeight"

android:textAppearance="?android:attr/textAppearanceMedium" />

android:id="@+id/myWeight"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:ems="10"

android:inputType="number" >

android:id="@+id/tableRow3"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_below="@+id/tableRow2"

android:layout_centerHorizontal="true"

android:gravity="left"

android:layout_marginTop="10dp"

>

android:id="@+id/textViewMySexLable"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/labelSex"

android:textAppearance="?android:attr/textAppearanceMedium" />

android:id="@+id/radioGroup1"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:orientation="horizontal" >

android:id="@+id/radioMan"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:checked="true"

android:text="@string/labelSexMan" />

android:id="@+id/radioWoman"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:checked="false"

android:text="@string/labelSexWoman" />

android:id="@+id/tableRow4"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_below="@+id/tableRow3"

android:layout_centerHorizontal="true"

android:layout_marginTop="30dp"

android:gravity="center" >

android:id="@+id/buttonCalculate"

android:layout_width="150dp"

android:layout_height="wrap_content"

android:text="@string/buttonText" />

android:id="@+id/textViewResult"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignParentLeft="true"

android:layout_below="@+id/tableRow4"

android:layout_marginTop="20dp"

android:textAppearance="?android:attr/textAppearanceLarge" />

python代码测试健康指数计算器_[代码全屏查看]-BMI指数计算器相关推荐

  1. 左右全屏banner焦点图 代码特效+苹果官网首页左右全屏banner焦点图效果+包括JS图片CSS样式等

    介绍 源码名称:[左右全屏banner焦点图]代码特效+苹果官网首页左右全屏banner焦点图效果+包括JS图片CSS样式等 源码大小:16.6KB 开发语言:PHP+Mysql 操作系统:Windo ...

  2. python代码测试健康指数计算器_python编写的bmi体重指数计算器、出租车费用计算器、个税计算器、猜数字游戏...

    ''' 写四个函数 分别包含bmi体重指数计算器.出租车费用计算器.个税计算器.猜数字游戏 ''' #体重指数计算器 def bmi(): while 1: #声明变量 身高.体重 height=in ...

  3. 8行代码教你搞定导航控制器全屏滑动返回效果 ————转载

    作者:@吖了个峥 前言 此次文章,讲述的是导航控制器全屏滑动返回效果,而且代码量非常少,10行内搞定. 效果如图: 如果喜欢我的文章,可以关注我,也可以来小码哥,了解下我们的iOS培训课程.陆续还会有 ...

  4. 时间加减计算器_财政局刚刚回应丨禁止携带计算器,否则成绩无效!

    我是岛叔,你好. 在大多数的会计相关考试当中,初级.中级.高级.CPA.税务师等等会计考试,计算基本上是必不可少的考试考查内容,所以就出现了这样一个问题:考试能否携带计算器,哪些考试是可以携带计算器, ...

  5. spss三次指数平滑_选取SPSS中较优指数平滑预测模型的研究.doc

    选取SPSS中较优指数平滑预测模型的研究.doc 选取SPSS中较优指数平滑预测模型的研究 作者简介:张博文(1989-),男,汉族,山东日照人, 安徽理工大学经济与管理学院硕士研究生在读,专业:物流 ...

  6. VB.NET在WinForm中嵌入谷歌浏览器_制作全屏显示网页程序_并读取INI配置文件_根据配置文件显示不同的网页---VB.NET工作笔记016

    我们做了个项目,科技馆的,需要把绚丽的网页,全屏放到浏览器上显示,但是....他们做的这个网页...我去,只支持谷歌这样的浏览器,在IE这样的浏览器模式下,显示有问题... 不知道是不是因为,没有使用 ...

  7. 京东css3动画全屏海报_京东全屏CSS3动态海报抖动效果代码生成,海报上透明图片自动上下抖动带动感...

    京东全屏CSS3动态海报抖动效果代码生成,海报上透明图片自动上下抖动带动感 分享到: 作者:陈俊    日期:2018-1-10 15:54   人气:4482   分类:装修助手教程 重要提示:生成 ...

  8. win10玩cf不能全屏_一些全屏游戏在Win10运行问题的解决(以植物大战僵尸+修改器为例)...

    <植物大战僵尸>是一款十分经典的游戏,由PopCap Games开发的一款益智策略类单机游戏,于2009年5月5日发售. 问题解决 WindowsRegistryEditorVersion ...

  9. python代码测试健康指数计算器_Python入门级别的小程序(BMI计算器)

    我是大涵呐,一个刚入Python的菜鸟,想通过自己了解的告诉同样刚学Python或者想学的朋友们一些基础的东西,希望对你们有所帮助. while True: # 1.输入身高(m).体重(kg) ,转 ...

最新文章

  1. 用C语言实现三子棋游戏(附上思路+项目展示+源代码)
  2. python迭代器高级例子
  3. Java笔试题之《流行的框架与新技术》
  4. 在vue项目中引入高德地图及其UI组件的方法
  5. C#在循环中使用Random时生成的随机数相同的解决办法
  6. php自动维护,完全禁用关闭Windows Server 2012R2自动维护功能禁用WIN2012R2自动维护
  7. Linux虚拟机示范
  8. 自定义权限 android,Android权限控制之自定义权限
  9. VUE向django发送post返回403:CSRF Failed: CSRF token missing or incorrect
  10. datatable刷新数据_UE4 利用SaveGame和CSV进行Runtime数据更新
  11. VB 和Flex交互总结
  12. 中兴通讯推出全球首款Wi-Fi 7标准5G CPE
  13. office右键菜单修复_自从有了这个工具,我的Office操作已经快到慢不下来了!
  14. 【mysql】关于IO/内存方面的一些优化
  15. vivo21a点击android版本,VIVO X21A原厂线刷救砖包_内附工具可救砖
  16. 如何快速深入理解监控知识? | 技术干货
  17. 想用html5改写妄撮
  18. 国外大牛推荐:计算机专业人士必读好书(30本经典)
  19. Kahan summation
  20. 分享几个IP获取地理位置的API接口

热门文章

  1. 《三国志11》版明星头像
  2. 云原生应用之对象存储设计方案
  3. gif加字php,『GIF图片添加文字』如何在gif上添加文字 仍然保持gif动态效果
  4. 【实验室学习】时钟分频器,2、3、4、8分频 verilog实现
  5. oracle中rac是什么意思,学习猿地-oracle rac是什么?
  6. 网站开发(一)Node.Js 安装和配置及express配置
  7. RTOS内核代码中LDM R0, {R4-R11}理解
  8. CES展出新型传感器,可用皮肤热量进行供电
  9. 第九章 hook windows程序设计 王艳平版
  10. css 3D 简单实践