Code example for Dialog

Methods: dismiss

0
            public void onClick(View v) {
                if (editor != null) {
                    editor.putBoolean("dontshowagain", true);
                    editor.commit();
                } 
                dialog.dismiss();
            } 
        }); 
        ll.addView(b3);
 
        dialog.setContentView(ll);        
        dialog.show();        
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE