Package 

Class AnimatedDialog

  • All Implemented Interfaces:
    android.content.DialogInterface , android.view.KeyEvent.Callback , android.view.View.OnCreateContextMenuListener , android.view.Window.Callback

    
    public class AnimatedDialog
    extends Dialog
                        

    Class for creating a Dialog which open and closes with an animation to the content view

    • Method Summary

      Modifier and Type Method Description
      void show() Opens the dialog with an animation to the content View.
      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.
      • Methods inherited from class android.app.Dialog

        addContentView, 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, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
      • Methods inherited from class android.view.Window.Callback

        onPointerCaptureChanged, onProvideKeyboardShortcuts
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnimatedDialog

        AnimatedDialog(Context context, boolean isFullWidthStyle)
      • AnimatedDialog

        AnimatedDialog(Context context, int theme)
    • Method Detail

      • show

         void show()

        Opens the dialog with an animation to the content View.

      • cancel

         void cancel()

        Cancels the dialog with an animation to the content View.