Adds the custom layout view, most probably a Panel, to the custom dialog. Although named AddView to match Basic4androd syntax only one view can be added. Adding a view replaces any existing view previously added to the dialog.
ResponseAsInt [read only]
Returns the response code that the dialog returned when it last closed.
Show (TitleAsCharSequence, PositiveAsString, CancelAsString, NegativeAsString, IconAsandroid.graphics.Bitmap) AsInt
Shows a modal custom dialog with the specified title. Title - The dialog title. Positive - The text to show for the "positive" button. Pass "" if you don't want to show the button. Cancel - The text to show for the "cancel" button. Pass "" if you don't want to show the button. Negative - The text to show for the "negative" button. Pass "" if you don't want to show the button. Icon - A bitmap that will be drawn near the title. Pass Null if you don't want to show an icon. Returns one of the DialogResponse values.
Show (MessageAsCharSequence, TitleAsCharSequence, PositiveAsString, CancelAsString, NegativeAsString, IconAsandroid.graphics.Bitmap) AsInt
Shows a modal MessageBox dialog with the specified message and title. Message - The dialog message. Title - The dialog title. Positive - The text to show for the "positive" button. Pass "" if you don't want to show the button. Cancel - The text to show for the "cancel" button. Pass "" if you don't want to show the button. Negative - The text to show for the "negative" button. Pass "" if you don't want to show the button. Icon - A bitmap that will be drawn near the title. Pass Null if you don't want to show an icon. Returns one of the DialogResponse values.
Show (MessageAsCharSequence, TitleAsCharSequence, PositiveAsString, CancelAsString, NegativeAsString, IconAsandroid.graphics.Bitmap) AsInt
Shows a modal MessageBox dialog with the specified message and title. The background is NOT dimmed when the MessageBox is shown. Message - The dialog message. Title - The dialog title. Positive - The text to show for the "positive" button. Pass "" if you don't want to show the button. Cancel - The text to show for the "cancel" button. Pass "" if you don't want to show the button. Negative - The text to show for the "negative" button. Pass "" if you don't want to show the button. Icon - A bitmap that will be drawn near the title. Pass Null if you don't want to show an icon. Returns one of the DialogResponse values.