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,
boolean isFullWidthStyle) |
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.
|
protected void |
onCreate(android.os.Bundle savedInstanceState) |
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, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, 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,
boolean isFullWidthStyle)
public AnimatedDialog(android.content.Context context,
int theme)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class android.app.Dialogpublic 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()