ProgressDialog Class
Definition
Caution
This class is obsoleted in this android platform
[Android.Runtime.Register("android/app/ProgressDialog", ApiSince=1, DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class ProgressDialog : Android.App.AlertDialog
type ProgressDialog = class
inherit AlertDialog
- Inheritance
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the
Constructors
ProgressDialog(Context) | |
ProgressDialog(Context, Int32) | |
ProgressDialog(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
ThemeDeviceDefaultDark |
Obsolete.
Special theme constant for THEME_DEVICE_DEFAULT_DARK: use the device's default alert theme with a dark background. (Inherited from AlertDialog) |
ThemeDeviceDefaultLight |
Obsolete.
Special theme constant for THEME_DEVICE_DEFAULT_LIGHT: use the device's default alert theme with a light background. (Inherited from AlertDialog) |
ThemeHoloDark |
Obsolete.
Special theme constant for THEME_HOLO_WORK: use the holographic alert theme with a dark background. (Inherited from AlertDialog) |
ThemeHoloLight |
Obsolete.
Special theme constant for THEME_HOLO_LIGHT: use the holographic alert theme with a light background. (Inherited from AlertDialog) |
ThemeTraditional |
Obsolete.
Special theme constant for THEME_TRADITIONAL: use the traditional (pre-Holo) alert dialog theme. (Inherited from AlertDialog) |
Properties
ActionBar |
Retrieve the ActionBar attached to this dialog, if present. (Inherited from Dialog) |
Class |
Returns the unique instance of Class that represents this object's class. (Inherited from Object) |
Context |
Retrieve the Context this Dialog is running in. (Inherited from Dialog) |
CurrentFocus |
Call CurrentFocus on the Window if this Activity to return the currently focused view. (Inherited from Dialog) |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
Indeterminate | |
IsShowing | (Inherited from Dialog) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
LayoutInflater | (Inherited from Dialog) |
ListView |
Gets the list view used in the dialog. (Inherited from AlertDialog) |
Max | |
OwnerActivity |
Returns the Activity that owns this Dialog. (Inherited from Dialog) |
PeerReference | (Inherited from Object) |
Progress | |
SearchEvent | (Inherited from Dialog) |
SecondaryProgress | |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
VolumeControlStream | (Inherited from Dialog) |
Window |
Retrieve the current Window for the activity. (Inherited from Dialog) |
Methods
AddContentView(View, ViewGroup+LayoutParams) |
Add an additional content view to the screen. (Inherited from Dialog) |
Cancel() |
Cancel the dialog. (Inherited from Dialog) |
Clone() |
Creates and returns a copy of this |
CloseOptionsMenu() | (Inherited from Dialog) |
Create() |
Forces immediate creation of the dialog. (Inherited from Dialog) |
Dismiss() |
Dismiss this dialog, removing it from the screen. (Inherited from Dialog) |
DispatchGenericMotionEvent(MotionEvent) |
Called to process generic motion events. (Inherited from Dialog) |
DispatchKeyEvent(KeyEvent) |
Called to process key events. (Inherited from Dialog) |
DispatchKeyShortcutEvent(KeyEvent) |
Called to process a key shortcut event. (Inherited from Dialog) |
DispatchPopulateAccessibilityEvent(AccessibilityEvent) |
Called to process population of AccessibilityEvents. (Inherited from Dialog) |
DispatchTouchEvent(MotionEvent) |
Called to process touch screen events. (Inherited from Dialog) |
DispatchTrackballEvent(MotionEvent) |
Called to process trackball events. (Inherited from Dialog) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Compares this instance with the specified object and indicates if they are equal. (Inherited from Object) |
FindViewById(Int32) |
Finds a child view with the given identifier. (Inherited from Dialog) |
FindViewById<T>(Int32) | (Inherited from Dialog) |
GetButton(Int32) |
Gets one of the buttons used in the dialog. (Inherited from AlertDialog) |
GetHashCode() |
Returns an integer hash code for this object. (Inherited from Object) |
Hide() |
Hide the dialog, but do not dismiss it. (Inherited from Dialog) |
IncrementProgressBy(Int32) | |
IncrementSecondaryProgressBy(Int32) | |
InvalidateOptionsMenu() | (Inherited from Dialog) |
JavaFinalize() |
Invoked when the garbage collector has detected that this instance is no longer reachable. (Inherited from Object) |
Notify() |
Causes a thread which is waiting on this object's monitor (by means of
calling one of the |
NotifyAll() |
Causes all threads which are waiting on this object's monitor (by means
of calling one of the |
OnActionModeFinished(ActionMode) |
Called when an action mode has been finished. (Inherited from Dialog) |
OnActionModeStarted(ActionMode) |
Called when an action mode has been started. (Inherited from Dialog) |
OnAttachedToWindow() |
Called when the window has been attached to the window manager. (Inherited from Dialog) |
OnBackPressed() |
Called when the dialog has detected the user's press of the back key. (Inherited from Dialog) |
OnContentChanged() |
This hook is called whenever the content view of the screen changes
(due to a call to
|
OnContextItemSelected(IMenuItem) | (Inherited from Dialog) |
OnContextMenuClosed(IMenu) | (Inherited from Dialog) |
OnCreate(Bundle) |
Similar to OnCreate(Bundle), you should initialize your dialog in this method, including calling SetContentView(View). (Inherited from Dialog) |
OnCreateContextMenu(IContextMenu, View, IContextMenuContextMenuInfo) |
Called when the context menu for this view is being built. (Inherited from Dialog) |
OnCreateOptionsMenu(IMenu) |
It is usually safe to proxy this call to the owner activity's OnCreateOptionsMenu(IMenu) if the client desires the same menu for this Dialog. (Inherited from Dialog) |
OnCreatePanelMenu(Int32, IMenu) |
Initialize the contents of the menu for panel 'featureId'. (Inherited from Dialog) |
OnCreatePanelView(Int32) |
Instantiate the view to display in the panel for 'featureId'. (Inherited from Dialog) |
OnDetachedFromWindow() |
Called when the window has been attached to the window manager. (Inherited from Dialog) |
OnGenericMotionEvent(MotionEvent) |
Called when a generic motion event was not handled by any of the views inside of the dialog. (Inherited from Dialog) |
OnKeyDown(Keycode, KeyEvent) |
A key was pressed down. (Inherited from Dialog) |
OnKeyLongPress(Keycode, KeyEvent) |
Default implementation of OnKeyLongPress(Keycode, KeyEvent): always returns false (doesn't handle the event). (Inherited from Dialog) |
OnKeyMultiple(Keycode, Int32, KeyEvent) |
Default implementation of OnKeyMultiple(Keycode, Int32, KeyEvent): always returns false (doesn't handle the event). (Inherited from Dialog) |
OnKeyShortcut(Keycode, KeyEvent) |
Called when a key shortcut event is not handled by any of the views in the Dialog. (Inherited from Dialog) |
OnKeyUp(Keycode, KeyEvent) |
A key was released. (Inherited from Dialog) |
OnMenuItemSelected(Int32, IMenuItem) |
Called when a panel's menu item has been selected by the user. (Inherited from Dialog) |
OnMenuOpened(Int32, IMenu) |
Called when a panel's menu is opened by the user. (Inherited from Dialog) |
OnOptionsItemSelected(IMenuItem) | (Inherited from Dialog) |
OnOptionsMenuClosed(IMenu) | (Inherited from Dialog) |
OnPanelClosed(Int32, IMenu) |
Called when a panel is being closed. (Inherited from Dialog) |
OnPrepareOptionsMenu(IMenu) |
It is usually safe to proxy this call to the owner activity's OnPrepareOptionsMenu(IMenu) if the client desires the same menu for this Dialog. (Inherited from Dialog) |
OnPreparePanel(Int32, View, IMenu) |
Prepare a panel to be displayed. (Inherited from Dialog) |
OnRestoreInstanceState(Bundle) |
Restore the state of the dialog from a previously saved bundle. (Inherited from Dialog) |
OnSaveInstanceState() |
Saves the state of the dialog into a bundle. (Inherited from Dialog) |
OnSearchRequested() |
This hook is called when the user signals the desire to start a search. (Inherited from Dialog) |
OnSearchRequested(SearchEvent) | (Inherited from Dialog) |
OnStart() |
Called when the dialog is starting. |
OnStop() |
Called to tell you that you're stopping. (Inherited from Dialog) |
OnTouchEvent(MotionEvent) |
Called when a touch screen event was not handled by any of the views under it. (Inherited from Dialog) |
OnTrackballEvent(MotionEvent) |
Called when the trackball was moved and not handled by any of the views inside of the activity. (Inherited from Dialog) |
OnWindowAttributesChanged(WindowManagerLayoutParams) |
This is called whenever the current window attributes change. (Inherited from Dialog) |
OnWindowFocusChanged(Boolean) |
This hook is called whenever the window focus changes. (Inherited from Dialog) |
OnWindowStartingActionMode(ActionMode+ICallback) |
Called when an action mode is being started for this window. (Inherited from Dialog) |
OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType) | (Inherited from Dialog) |
OpenContextMenu(View) | (Inherited from Dialog) |
OpenOptionsMenu() | (Inherited from Dialog) |
RegisterForContextMenu(View) | (Inherited from Dialog) |
RequestWindowFeature(Int32) |
Enable extended window features. (Inherited from Dialog) |
SetButton(ICharSequence, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton(ICharSequence, IDialogInterfaceOnClickListener) |
Obsolete.
Set a listener to be invoked when button 1 of the dialog is pressed. (Inherited from AlertDialog) |
SetButton(ICharSequence, Message) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton(Int32, ICharSequence, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton(Int32, ICharSequence, IDialogInterfaceOnClickListener) |
Set a listener to be invoked when the positive button of the dialog is pressed. (Inherited from AlertDialog) |
SetButton(Int32, ICharSequence, Message) |
Set a message to be sent when a button is pressed. (Inherited from AlertDialog) |
SetButton(Int32, String, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton(Int32, String, IDialogInterfaceOnClickListener) | (Inherited from AlertDialog) |
SetButton(Int32, String, Message) | (Inherited from AlertDialog) |
SetButton(String, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton(String, IDialogInterfaceOnClickListener) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton(String, Message) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton2(ICharSequence, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton2(ICharSequence, IDialogInterfaceOnClickListener) |
Obsolete.
Set a listener to be invoked when button 2 of the dialog is pressed. (Inherited from AlertDialog) |
SetButton2(ICharSequence, Message) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton2(String, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton2(String, IDialogInterfaceOnClickListener) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton2(String, Message) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton3(ICharSequence, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton3(ICharSequence, IDialogInterfaceOnClickListener) |
Obsolete.
Set a listener to be invoked when button 3 of the dialog is pressed. (Inherited from AlertDialog) |
SetButton3(ICharSequence, Message) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton3(String, EventHandler<DialogClickEventArgs>) | (Inherited from AlertDialog) |
SetButton3(String, IDialogInterfaceOnClickListener) |
Obsolete.
(Inherited from AlertDialog)
|
SetButton3(String, Message) |
Obsolete.
(Inherited from AlertDialog)
|
SetCancelable(Boolean) |
Sets whether this dialog is cancelable with the Back key. (Inherited from Dialog) |
SetCanceledOnTouchOutside(Boolean) |
Sets whether this dialog is canceled when touched outside the window's bounds. (Inherited from Dialog) |
SetCancelMessage(Message) |
Set a message to be sent when the dialog is canceled. (Inherited from Dialog) |
SetContentView(Int32) |
Set the screen content from a layout resource. (Inherited from Dialog) |
SetContentView(View) |
Set the screen content to an explicit view. (Inherited from Dialog) |
SetContentView(View, ViewGroup+LayoutParams) |
Set the screen content to an explicit view. (Inherited from Dialog) |
SetCustomTitle(View) | (Inherited from AlertDialog) |
SetDismissMessage(Message) |
Set a message to be sent when the dialog is dismissed. (Inherited from Dialog) |
SetFeatureDrawable(Int32, Drawable) |
Convenience for calling SetFeatureDrawable(WindowFeatures, Drawable). (Inherited from Dialog) |
SetFeatureDrawableAlpha(Int32, Int32) |
Convenience for calling SetFeatureDrawableAlpha(WindowFeatures, Int32). (Inherited from Dialog) |
SetFeatureDrawableResource(Int32, Int32) |
Convenience for calling SetFeatureDrawableResource(WindowFeatures, Int32). (Inherited from Dialog) |
SetFeatureDrawableUri(Int32, Uri) |
Convenience for calling SetFeatureDrawableUri(WindowFeatures, Uri). (Inherited from Dialog) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
SetIcon(Drawable) | (Inherited from AlertDialog) |
SetIcon(Int32) |
Set resId to 0 if you don't want an icon. (Inherited from AlertDialog) |
SetIconAttribute(Int32) |
Set an icon as supplied by a theme attribute. e.g. android. (Inherited from AlertDialog) |
SetIndeterminateDrawable(Drawable) | |
SetInverseBackgroundForced(Boolean) | (Inherited from AlertDialog) |
SetMessage(ICharSequence) | (Inherited from AlertDialog) |
SetMessage(String) | (Inherited from AlertDialog) |
SetOnCancelListener(IDialogInterfaceOnCancelListener) |
Set a listener to be invoked when the dialog is canceled. (Inherited from Dialog) |
SetOnDismissListener(IDialogInterfaceOnDismissListener) |
Set a listener to be invoked when the dialog is dismissed. (Inherited from Dialog) |
SetOnKeyListener(IDialogInterfaceOnKeyListener) |
Sets the callback that will be called if a key is dispatched to the dialog. (Inherited from Dialog) |
SetOnShowListener(IDialogInterfaceOnShowListener) |
Sets a listener to be invoked when the dialog is shown. (Inherited from Dialog) |
SetProgressDrawable(Drawable) | |
SetProgressNumberFormat(String) |
Change the format of the small text showing current and maximum units of progress. |
SetProgressPercentFormat(NumberFormat) |
Change the format of the small text showing the percentage of progress. |
SetProgressStyle(ProgressDialogStyle) | |
SetTitle(ICharSequence) |
Set the title text for this dialog's window. (Inherited from Dialog) |
SetTitle(Int32) |
Set the title text for this dialog's window. (Inherited from Dialog) |
SetTitle(String) | (Inherited from Dialog) |
SetView(View) |
Set the view to display in that dialog. (Inherited from AlertDialog) |
SetView(View, Int32, Int32, Int32, Int32) |
Set the view to display in that dialog, specifying the spacing to appear around that view. (Inherited from AlertDialog) |
Show() |
Start the dialog and display it on screen. (Inherited from Dialog) |
Show(Context, ICharSequence, ICharSequence) | |
Show(Context, ICharSequence, ICharSequence, Boolean) | |
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean) | |
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, EventHandler) | |
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener) | |
Show(Context, String, String) | |
Show(Context, String, String, Boolean) | |
Show(Context, String, String, Boolean, Boolean) | |
Show(Context, String, String, Boolean, Boolean, EventHandler) | |
Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener) | |
TakeKeyEvents(Boolean) |
Request that key events come to this dialog. (Inherited from Dialog) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string containing a concise, human-readable description of this object. (Inherited from Object) |
UnregisterForContextMenu(View) | (Inherited from Dialog) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the calling thread to wait until another thread calls the |
Wait(Int64) |
Causes the calling thread to wait until another thread calls the |
Wait(Int64, Int32) |
Causes the calling thread to wait until another thread calls the |
Events
CancelEvent | (Inherited from Dialog) |
DismissEvent | (Inherited from Dialog) |
KeyPress | (Inherited from Dialog) |
ShowEvent | (Inherited from Dialog) |
Explicit Interface Implementations
IJavaObjectEx.IsProxy | (Inherited from Object) |
IJavaObjectEx.KeyHandle | (Inherited from Object) |
IJavaObjectEx.NeedsActivation | (Inherited from Object) |
IJavaObjectEx.ToLocalJniHandle() | (Inherited from Object) |
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |