new CountDownTimer(30000, 1000) {
@Override
public void onTick(long millisUntilFinished) {
mTimeLabel.setText("还剩" + millisUntilFinished / 1000 + "秒");
}
@Override
public void onFinish() {
mTimeLabel.setText("done!");
}
}.start();