Java android.support.v4.app AlertDialog.Builder fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.app AlertDialog.Builder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.app AlertDialog.Builder.

The text is from its open source code.

Constructor

Builder(Context context)
Constructor using a context for this builder and the AlertDialog it creates.

Method

voiddismiss()
Dismisses the dialog, invoking the OnDismissListener .
voidsetIcon(int resId)
Set resId to 0 if you don't want an icon.
voidsetIcon(Drawable icon)
voidsetIconAttribute(int attrId)
Set an icon as supplied by a theme attribute.
voidsetMessage(CharSequence message)
voidsetTitle(CharSequence title)
voidsetView(View view)
Set the view to display in that dialog.