public class AnimatedDialog
extends android.app.Dialog
Class for creating a Dialog which open and closes with an animation to the content view
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| Constructor and Description |
|---|
AnimatedDialog(android.content.Context context) |
AnimatedDialog(android.content.Context context,
boolean cancelable,
android.content.DialogInterface.OnCancelListener cancelListener) |
AnimatedDialog(android.content.Context context,
int theme) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the dialog with an animation to the content View.
|
void |
setContentView(int layoutResID) |
void |
setDialogWindowAttributes()
Set the window attributes for the invite dialog.
|
void |
show()
Opens the dialog with an animation to the content View.
|
addContentView, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreate, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenupublic AnimatedDialog(android.content.Context context)
public AnimatedDialog(android.content.Context context,
int theme)
public AnimatedDialog(android.content.Context context,
boolean cancelable,
android.content.DialogInterface.OnCancelListener cancelListener)
public void show()
Opens the dialog with an animation to the content View.
show in class android.app.Dialogpublic void cancel()
Cancels the dialog with an animation to the content View.
cancel in interface android.content.DialogInterfacecancel in class android.app.Dialogpublic void setContentView(int layoutResID)
setContentView in class android.app.Dialogpublic void setDialogWindowAttributes()