-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback
public class SlideSheetDialog extends Dialog
-
-
Field Summary
Fields Modifier and Type Field Description private BottomSheetBehavior<FrameLayout>behaviorbooleandismissWithAnimationbooleancancelableprivate booleancanceledOnTouchOutside
-
Constructor Summary
Constructors Constructor Description SlideSheetDialog(Context context, boolean isLandscape)SlideSheetDialog(Context context, boolean isLandscape, boolean cancelable, DialogInterface.OnCancelListener cancelListener)
-
Method Summary
Modifier and Type Method Description BottomSheetBehavior<FrameLayout>getBehavior()booleangetDismissWithAnimation()voidsetDismissWithAnimation(boolean dismissWithAnimation)voidsetCancelable(boolean cancelable)voidsetCanceledOnTouchOutside(boolean cancel)voidsetContentView(int layoutResID)voidsetContentView(View view)voidsetContentView(View view, ViewGroup.LayoutParams params)voidshow()voidcancel()-
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
-
SlideSheetDialog
SlideSheetDialog(Context context, boolean isLandscape)
-
SlideSheetDialog
SlideSheetDialog(Context context, boolean isLandscape, boolean cancelable, DialogInterface.OnCancelListener cancelListener)
-
-
Method Detail
-
getBehavior
BottomSheetBehavior<FrameLayout> getBehavior()
-
getDismissWithAnimation
boolean getDismissWithAnimation()
-
setDismissWithAnimation
void setDismissWithAnimation(boolean dismissWithAnimation)
-
setCancelable
void setCancelable(boolean cancelable)
-
setCanceledOnTouchOutside
void setCanceledOnTouchOutside(boolean cancel)
-
setContentView
void setContentView(int layoutResID)
-
setContentView
void setContentView(View view)
-
setContentView
void setContentView(View view, ViewGroup.LayoutParams params)
-
show
void show()
-
cancel
void cancel()
-
-
-
-