final TextView textView= (TextView) findViewById(R.id.text1);

来源:互联网 发布:淘宝客服问题总结 编辑:程序博客网 时间:2024/06/08 02:56
final TextView textView= (TextView) findViewById(R.id.text1);
final AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
Button button= (Button) findViewById(R.id.button1);
builder.setIcon(R.mipmap.ic_launcher);
builder.setTitle("提示");
builder.setMessage("确认退出吗?");
builder.setPositiveButton("确认", new DialogInterface.OnClickListener() {
0 0
原创粉丝点击