Home | History | Annotate | Download | only in app

Lines Matching defs:dialog

29  * <h3>Secure Dialog Activity</h3>
32 * This activity demonstrates how to create a dialog whose window is backed by
70 // Handle click events on the button to show the dialog.
76 * Called when the button to show the dialog is clicked.
80 // Create a dialog.
81 AlertDialog dialog = new AlertDialog.Builder(this)
86 // Make the dialog secure. This must be done at the time the dialog is
87 // created. It cannot be changed after the dialog has been shown.
88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
91 // Show the dialog.
92 dialog.show();