public class SimpleProgressDialog extends ProgressDialog
AlertDialog.BuilderDialogInterface.OnCancelListener, DialogInterface.OnClickListener, DialogInterface.OnDismissListener, DialogInterface.OnKeyListener, DialogInterface.OnMultiChoiceClickListener, DialogInterface.OnShowListenerSTYLE_HORIZONTAL, STYLE_SPINNERTHEME_DEVICE_DEFAULT_DARK, THEME_DEVICE_DEFAULT_LIGHT, THEME_HOLO_DARK, THEME_HOLO_LIGHT, THEME_TRADITIONALBUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3| Constructor and Description |
|---|
SimpleProgressDialog(Context context)
Constructs a new dialog.
|
| Modifier and Type | Method and Description |
|---|---|
void |
incrementProgressBy(int amount)
Increases progress by the given amount.
|
boolean |
isFinished()
Returns true if the dialog's progress has reached its max.
|
boolean |
isInProgress()
Returns true if the dialog's progress has not yet reached its max,
or true if the dialog is indeterminate.
|
void |
setProgress(int value)
Sets progress to the given value.
|
getMax, getProgress, getSecondaryProgress, incrementSecondaryProgressBy, isIndeterminate, onCreate, onStart, onStop, setIndeterminate, setIndeterminateDrawable, setMax, setMessage, setProgressDrawable, setProgressNumberFormat, setProgressPercentFormat, setProgressStyle, setSecondaryProgress, show, show, show, showgetButton, getListView, onKeyDown, onKeyUp, setButton, setButton, setButton, setButton, setButton2, setButton2, setButton3, setButton3, setCustomTitle, setIcon, setIcon, setIconAttribute, setInverseBackgroundForced, setTitle, setView, setViewaddContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenuclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, dismisspublic SimpleProgressDialog(Context context)
public void incrementProgressBy(int amount)
incrementProgressBy in class ProgressDialogpublic boolean isFinished()
public boolean isInProgress()
public void setProgress(int value)
setProgress in class ProgressDialog