计时条 (备用)
/* * //暂时不计时 public void qTimer() { prostatus = 0; * * progressbar_timer = (ProgressBar) findViewById(R.id.progtessBer_timer); * * progressbar_timer.setMax(300); // 回答计时设定为15秒(临时) * * final Handler thandler = new Handler() { * * @Override public void handleMessage(Message msg) { if (msg.what == * 0x1233) { progressbar_timer.setProgress(prostatus++); } } }; if (timer == * null) { timer = new Timer(); } * * timer.schedule(new TimerTask() { * * @Override public void run() { Message msg = new Message(); msg.what = * 0x1233; thandler.sendMessage(msg); } }, 0, 50); * * } */