Exemplo n.º 1
0
 /** 投注提示框中的信息 */
 public void getTouzhuAlert() {
   if (type.equals("zc")) {
     zhushu.setText(betAndGift.getZhushu() + "注     ");
     jine.setText(
         iProgressQishu * (Integer.valueOf(betAndGift.getAmount()) / 100) * iProgressBeishu + "元");
   } else {
     zhushu.setText(ZixuanActivity.addView.getAllZhu() + "注     ");
     jine.setText(iProgressQishu * ZixuanActivity.addView.getAllAmt() * iProgressBeishu + "元");
   }
   //		return "注数:"
   //				+ ZixuanActivity.addView.getAllZhu() + "注     "
   //				+ "金额:" +
   //				+ iProgressQishu * ZixuanActivity.addView.getAllAmt() * iProgressBeishu
   //				+ "元";
 }
Exemplo n.º 2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   requestWindowFeature(Window.FEATURE_NO_TITLE);
   setContentView(R.layout.order_hemai);
   context = this;
   ApplicationAddview app = (ApplicationAddview) getApplicationContext();
   betAndGift = app.getPojo();
   addview = app.getAddview();
   if (Constants.type.equals("zc")) {
     allAtm = Integer.valueOf(betAndGift.getAmount()) / 100;
     //			mAmount = Integer.valueOf(betAndGift.getAmount());
     mZhushu = Integer.valueOf(betAndGift.getZhushu());
   } else {
     allAtm = iProgressQishu * addview.getAllAmt() * iProgressBeishu;
   }
   init();
   initRadioGroup();
 }