1 / 5
文档名称:

安卓标准体重查看器资源代码.doc

格式:doc   大小:27KB   页数:5页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

安卓标准体重查看器资源代码.doc

上传人:cjrl214 2019/5/3 文件大小:27 KB

下载得到文件列表

安卓标准体重查看器资源代码.doc

文档介绍

文档介绍:;;;.*;.*;lasshanyanzhouextendsActivity{/**Calledwhentheactivityisfirstcreated.*/EditTexttizhong1,tizhong2,shengao1,shengao2,tizhongshishu;EditTextzuizhongjieguo,cankaozhi,cankaozhi2,cankaozhi3;doubleshurutizhong,shurushengao,temp,shuchutizhongzhishu;Stringtz="请输入体重(公斤,请用软键盘输入)"; Stringsg="请输入身高(米,请用软键盘输入)"; Stringcaokao="正常18-25,超重25-30,轻度肥胖30-35"; Stringcankao2="中度肥胖35-40,重度肥胖大于40"; Stringcankao3=""; Stringstr="",str2="",tzzs,kong="",panduan="输入错误,请重新输入"; inta,b; publicbooleanonCreateOptionsMenu(Menumenu){ //TODOAuto-generatedmethodstub (0,1,1,"退出"); (menu); } ***@Override publicbooleanonOptionsItemSelected(MenuItemitem){ //TODOAuto-generatedmethodstub if(()==1){finish();} (item); } ***@OverridepublicvoidonCreate(BundlesavedInstanceState){(savedInstanceState);setContentView();tizhong1=(EditText)findViewById();tizhong2=(EditText)findViewById();shengao1=(EditText)findViewById();shengao2=(EditText)findViewById();tizhongshishu=(EditText)findViewById();zuizhongjieguo=(EditText)findViewById();cankaozhi=(EditText)findViewById();cankaozhi2=(EditText)findViewById