android弹出MessageBox

public void menuItem_exit_onClick(MenuItem item){
        AlertDialog builder = new AlertDialog.Builder(LoginActivity.this).create();
        builder.setTitle("Title");
        builder.setMessage("Message");
        builder.show();
    }

 

posted on 2013-02-28 16:20  BadTree  阅读(442)  评论(0编辑  收藏  举报