設置背景問題
在case STATE_WANT_TO_CANCEL:中
?? ??? ??? ??? ?setBackgroundResource(R.drawable.btn_recording);
?? ??? ??? ??? ?setText(R.string.str_recorder_want_cancel);當狀態為取消背景為什么不是btn_recorder_normal?
?? ??? ??? ??? ?setBackgroundResource(R.drawable.btn_recording);
?? ??? ??? ??? ?setText(R.string.str_recorder_want_cancel);當狀態為取消背景為什么不是btn_recorder_normal?
2015-05-08
注意效果圖,很明顯WANT_TO_CANCEL這個狀態時,按鈕還是按下的。
2015-08-06
?只有等你調用了UP事件才會調用btn_recorder_normal;
?