主要使用CountDownTimer(long millisInFuture,long countDownInterval)方法其中millisInFuture表示設置倒計時的總時間(毫秒)countDownInterval表示設置每次減少的毫秒數