dlg.setPositiveButton("확인", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
time = (rd.nextInt(5) + 1) * 1000;
if (time == 0) {
time = (rd.nextInt(5) + 1) * 1000;
}
startTime = System.currentTimeMillis() + time;
mImageView.setImageResource(R.drawable.red);

}
});
dlg.show();


이건데 mImageView.setImageResource(R.drawable.red); 이게 동작이 되어서 알림창이 뜨고 확인버튼을 누르면 이미지가 바뀌게 해주는 건데 여기서 멈춰버려요 ㅠㅠ