EnterpriseAlertDialog

class EnterpriseAlertDialog : MaterialAlertDialogBuilder

EnterpriseAlertDialog using MaterialAlertDialogBuilder

Overrides default material theme R.attr.materialAlertDialogTheme

For overridden material design layouts please reference below: Override layout R.layout.mtrl_alert_dialog_actions from MaterialAlertDialogBuilder Library to change appearance of android.R.id.button1, android.R.id.button2, android.R.id.button3

Uses layout R.layout.enterprise_alert_dialog_stacked_actions & R.layout.enterprise_alert_dialog_actions_stacked for stacked actions

Constructors

EnterpriseAlertDialog
Link copied to clipboard
fun EnterpriseAlertDialog(context: Context)
EnterpriseAlertDialog
Link copied to clipboard
fun EnterpriseAlertDialog(context: Context, overrideThemeResId: Int = R.style.Enterprise_Alert_Dialog_Theme)

Functions

showStackedOptions
Link copied to clipboard
fun showStackedOptions(showStackedActions: Boolean): MaterialAlertDialogBuilder
Set true to show stacked options layout

Inherited functions

create
Link copied to clipboard
open override fun create(): AlertDialog
getBackground
Link copied to clipboard
open fun getBackground(): Drawable?
getContext
Link copied to clipboard
open fun getContext(): Context
setAdapter
Link copied to clipboard
open override fun setAdapter(@Nullable() p0: ListAdapter?, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
setBackground
Link copied to clipboard
open fun setBackground(@Nullable() p0: Drawable?): MaterialAlertDialogBuilder
setBackgroundInsetBottom
Link copied to clipboard
open fun setBackgroundInsetBottom(@Px() p0: Int): MaterialAlertDialogBuilder
setBackgroundInsetEnd
Link copied to clipboard
open fun setBackgroundInsetEnd(@Px() p0: Int): MaterialAlertDialogBuilder
setBackgroundInsetStart
Link copied to clipboard
open fun setBackgroundInsetStart(@Px() p0: Int): MaterialAlertDialogBuilder
setBackgroundInsetTop
Link copied to clipboard
open fun setBackgroundInsetTop(@Px() p0: Int): MaterialAlertDialogBuilder
setCancelable
Link copied to clipboard
open override fun setCancelable(p0: Boolean): MaterialAlertDialogBuilder
setCursor
Link copied to clipboard
open override fun setCursor(@Nullable() p0: Cursor?, @Nullable() p1: DialogInterface.OnClickListener?, @NonNull() p2: String): MaterialAlertDialogBuilder
setCustomTitle
Link copied to clipboard
open override fun setCustomTitle(@Nullable() p0: View?): MaterialAlertDialogBuilder
setIcon
Link copied to clipboard
open override fun setIcon(@Nullable() p0: Drawable?): MaterialAlertDialogBuilder
open override fun setIcon(@DrawableRes() p0: Int): MaterialAlertDialogBuilder
setIconAttribute
Link copied to clipboard
open override fun setIconAttribute(@AttrRes() p0: Int): MaterialAlertDialogBuilder
setInverseBackgroundForced
Link copied to clipboard
open fun setInverseBackgroundForced(p0: Boolean): AlertDialog.Builder
setItems
Link copied to clipboard
open override fun setItems(@Nullable() p0: Array<CharSequence>?, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setItems(@ArrayRes() p0: Int, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
setMessage
Link copied to clipboard
open override fun setMessage(@Nullable() p0: CharSequence?): MaterialAlertDialogBuilder
open override fun setMessage(@StringRes() p0: Int): MaterialAlertDialogBuilder
setMultiChoiceItems
Link copied to clipboard
open override fun setMultiChoiceItems(@Nullable() p0: Array<CharSequence>?, @Nullable() p1: BooleanArray?, @Nullable() p2: DialogInterface.OnMultiChoiceClickListener?): MaterialAlertDialogBuilder
open override fun setMultiChoiceItems(@ArrayRes() p0: Int, @Nullable() p1: BooleanArray?, @Nullable() p2: DialogInterface.OnMultiChoiceClickListener?): MaterialAlertDialogBuilder
open override fun setMultiChoiceItems(@Nullable() p0: Cursor?, @NonNull() p1: String, @NonNull() p2: String, @Nullable() p3: DialogInterface.OnMultiChoiceClickListener?): MaterialAlertDialogBuilder
setNegativeButton
Link copied to clipboard
open override fun setNegativeButton(@Nullable() p0: CharSequence?, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setNegativeButton(@StringRes() p0: Int, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
setNegativeButtonIcon
Link copied to clipboard
open override fun setNegativeButtonIcon(@Nullable() p0: Drawable?): MaterialAlertDialogBuilder
setNeutralButton
Link copied to clipboard
open override fun setNeutralButton(@Nullable() p0: CharSequence?, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setNeutralButton(@StringRes() p0: Int, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
setNeutralButtonIcon
Link copied to clipboard
open override fun setNeutralButtonIcon(@Nullable() p0: Drawable?): MaterialAlertDialogBuilder
setOnCancelListener
Link copied to clipboard
open override fun setOnCancelListener(@Nullable() p0: DialogInterface.OnCancelListener?): MaterialAlertDialogBuilder
setOnDismissListener
Link copied to clipboard
open override fun setOnDismissListener(@Nullable() p0: DialogInterface.OnDismissListener?): MaterialAlertDialogBuilder
setOnItemSelectedListener
Link copied to clipboard
open override fun setOnItemSelectedListener(@Nullable() p0: AdapterView.OnItemSelectedListener?): MaterialAlertDialogBuilder
setOnKeyListener
Link copied to clipboard
open override fun setOnKeyListener(@Nullable() p0: DialogInterface.OnKeyListener?): MaterialAlertDialogBuilder
setPositiveButton
Link copied to clipboard
open override fun setPositiveButton(@Nullable() p0: CharSequence?, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setPositiveButton(@StringRes() p0: Int, @Nullable() p1: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
setPositiveButtonIcon
Link copied to clipboard
open override fun setPositiveButtonIcon(@Nullable() p0: Drawable?): MaterialAlertDialogBuilder
setRecycleOnMeasureEnabled
Link copied to clipboard
open fun setRecycleOnMeasureEnabled(p0: Boolean): AlertDialog.Builder
setSingleChoiceItems
Link copied to clipboard
open override fun setSingleChoiceItems(@Nullable() p0: ListAdapter?, p1: Int, @Nullable() p2: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setSingleChoiceItems(@Nullable() p0: Array<CharSequence>?, p1: Int, @Nullable() p2: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setSingleChoiceItems(@ArrayRes() p0: Int, p1: Int, @Nullable() p2: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
open override fun setSingleChoiceItems(@Nullable() p0: Cursor?, p1: Int, @NonNull() p2: String, @Nullable() p3: DialogInterface.OnClickListener?): MaterialAlertDialogBuilder
setTitle
Link copied to clipboard
open override fun setTitle(@Nullable() p0: CharSequence?): MaterialAlertDialogBuilder
open override fun setTitle(@StringRes() p0: Int): MaterialAlertDialogBuilder
setView
Link copied to clipboard
open override fun setView(@Nullable() p0: View?): MaterialAlertDialogBuilder
open override fun setView(p0: Int): MaterialAlertDialogBuilder
open fun setView(p0: View, p1: Int, p2: Int, p3: Int, p4: Int): AlertDialog.Builder
show
Link copied to clipboard
open fun show(): AlertDialog