摘要:
xml布局文件如下: MainActivity.java的OnCreate方法中相应的代码如下: genderGroup = (RadioGroup)findViewById(R.id.sex); femaleButton = (RadioButto... 阅读全文
摘要:
复写onCreateOptionsMenu方法,当点击menu菜单时,调用该方法。 @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the... 阅读全文