符合中小企业对网站设计、功能常规化式的企业展示型网站建设
本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...
商城网站建设因基本功能的需求不同费用上面也有很大的差别...
手机微信网站开发、微信官网、微信商城网站...
//RadioGroup中xml文件的配置//RadioGroup中activity中代码片段 public class MainActivity extends Activity { private RadioGroup radiogroup; private RadioButton femalebutton,malebutton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); radiogroup=(RadioGroup)findViewById(R.id.radiogroupid); femalebutton=(RadioButton)findViewById(R.id.femalebutton); malebutton=(RadioButton)findViewById(R.id.malebutton); RadioGroupLis r=new RadioGroupLis(); radiogroup.setOnCheckedChangeListener(r); } class RadioGroupLis implements OnCheckedChangeListener{ @Override public void onCheckedChanged(RadioGroup group, int checkedId) { if(checkedId==femalebutton.getId()) { Toast.makeText(getApplicationContext(), "选中female", Toast.LENGTH_LONG).show(); }else if(checkedId==malebutton.getId()) { Toast.makeText(getApplicationContext(), "选中male", Toast.LENGTH_SHORT).show(); } } } CheckBox中xml文件 //checkbox中的activity文件 public class MainActivity extends Activity { private CheckBox eatbox,sleepbox,playbox; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); eatbox=(CheckBox)findViewById(R.id.eatid); sleepbox=(CheckBox)findViewById(R.id.sleepid); playbox=(CheckBox)findViewById(R.id.playid); onBoxLis listener=new onBoxLis(); eatbox.setOnClickListener(listener); sleepbox.setOnClickListener(listener); playbox.setOnClickListener(listener); } //onclickListener的使用方法 class onBoxLis implements OnClickListener{ @Override public void onClick(View v) { CheckBox box=(CheckBox)v; if(box.isChecked()) { Toast.makeText(getApplicationContext(), "被选中", Toast.LENGTH_SHORT).show(); }else{ Toast.makeText(getApplicationContext(), "未被选中", Toast.LENGTH_LONG).show(); } } }