示例#1
0
 @Override
 public void onCheckedChanged(RadioGroup group, int checkedId) {
   // TODO Auto-generated method stub
   super.onCheckedChanged(group, checkedId);
   switch (checkedId) {
     case 0:
       isjixuan = false;
       BallTable getable;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       String shititle = "十位区";
       String getitle = "个位区";
       areaInfos = new AreaInfo[2];
       areaInfos[0] = new AreaInfo(4, 1, BallResId, 0, 0, Color.RED, shititle);
       areaInfos[1] = new AreaInfo(4, 1, BallResId, 0, 0, Color.RED, getitle);
       createView(areaInfos, sscCode, this, BIG_SMALL);
       BallTable = areaNums[0].table;
       getable = areaNums[1].table;
       break;
     case 1:
       isjixuan = true;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       SscBalls sscb = new SscBalls();
       createviewmechine(sscb, this);
       break;
   }
 }
示例#2
0
 @Override
 public void onCheckedChanged(RadioGroup group, int checkedId) {
   // TODO Auto-generated method stub
   super.onCheckedChanged(group, checkedId);
   switch (checkedId) {
     case 0:
       isjixuan = false;
       BallTable shitable;
       BallTable getable;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       String baititle = "百位区";
       String shititle = "十位区";
       String getitle = "个位区";
       AreaNum[] areaNums = new AreaNum[3];
       areaNums[0] = new AreaNum(10, 10, 8, BallResId, 0, 0, Color.RED, baititle);
       areaNums[1] = new AreaNum(10, 10, 8, BallResId, 0, 0, Color.RED, shititle);
       areaNums[2] = new AreaNum(10, 10, 8, BallResId, 0, 0, Color.RED, getitle);
       createView(areaNums, sscCode, ZixuanAndJiXuan.THREE, true);
       BallTable = areaNums[0].table;
       shitable = areaNums[1].table;
       getable = areaNums[2].table;
       break;
     case 1:
       isjixuan = true;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       SscBalls sscb = new SscBalls(3);
       createviewmechine(sscb);
       break;
   }
 }