-
-
Notifications
You must be signed in to change notification settings - Fork 18
SimpleCheckDialog
Philipp Niedermayer edited this page Feb 13, 2017
·
20 revisions
extends CustomViewDialog
A dialog with a checkbox.
SimpleCheckDialog.build()
.title(R.string.terms_and_conditions)
.msgHtml(R.string.terms_text_html)
.label(R.string.read_and_accepted)
.checkRequired(true)
.pos(R.string.accept)
.neut()
.cancelable(false)
.show(Activity.this);
-
Checkbox label
java .label(String title)
,.label(int resId)
-
Checkbox initial state
.check(boolean checked)
-
Required flag
.checkRequired(boolean required)
If set to true, the positive button will be disabled as long as the checkbox is not checked.
The Bundle returned from this dialog will contain the following extras
boolean CHECKED // Weather the checkbox was finally checked
Javadoc API
Screenshot gallery
Styling dialogs with themes
Fullscreen dialogs
SimpleDialog
CustomViewDialog
CustomListDialog
SimpleCheckDialog
SimpleColorDialog
SimpleColorWheelDialog
SimpleDateDialog
SimpleEMailDialog
SimpleFormDialog
SimpleImageDialog
SimpleInputDialog
SimpleListDialog
SimplePinDialog
SimpleProgressDialog
SimpleTimeDialog