`

android 弹出窗口

阅读更多

new AlertDialog.Builder(this).setTitle("提示").setMessage(R.string.about).setIcon(
     R.drawable.play_radio).setNegativeButton("返回",
     new DialogInterface.OnClickListener() {
      public void onClick(DialogInterface dialog, int whichButton) {
       // 取消按钮事件
      }
     }).show();

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics