为什么这里无法识别R文件里的东西,但R文件里有啊,求老师指教
if(mCurState!=state){
mCurState=state;
switch(state){
case STATE_NORMAL:
setBackgroundResource(R.drawable.button_record_normal);
setText(R.string.str_recorder_normal);
break;
case STATE_RECORDING:
setBackgroundResource(R.drawable.button_record_normal);
setText(R.string.str_recorder_recording);
if(isRecording){
mDialogManager.recording();
}
break;
case STATE_WANT_TO_CANCEL:
setBackgroundResource(R.drawable.button_record_normal);
setText(R.string.str_recorder_want_cancel);
mDialogManager.wantToCancel();
break;