|
|
@ -122,7 +122,7 @@ public class AlarmAlertActivity extends Activity implements OnClickListener, OnD
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void showActionDialog() {
|
|
|
|
private void showActionDialog() {
|
|
|
|
AlertDialog.Builder dialog = new AlertDialog.Builder(this);
|
|
|
|
AlertDialog.Builder dialog = new AlertDialog.Builder(this); //创建对象
|
|
|
|
dialog.setTitle(R.string.app_name); //对话框设置标题
|
|
|
|
dialog.setTitle(R.string.app_name); //对话框设置标题
|
|
|
|
dialog.setMessage(mSnippet); //对话框设置内容
|
|
|
|
dialog.setMessage(mSnippet); //对话框设置内容
|
|
|
|
dialog.setPositiveButton(R.string.notealert_ok, this); //设置确定按钮
|
|
|
|
dialog.setPositiveButton(R.string.notealert_ok, this); //设置确定按钮
|
|
|
|