public class BottomSheet
extends android.app.Dialog
| Modifier and Type | Class and Description |
|---|---|
static class |
BottomSheet.Builder |
static interface |
BottomSheet.FabBehavior |
static interface |
BottomSheet.Theme |
static interface |
BottomSheet.Type |
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| Modifier and Type | Field and Description |
|---|---|
static int |
DARK_THEME |
static int |
FAB_SHOW_HIDE |
static int |
FAB_SLIDE_UP |
static int |
GRID |
static int |
LIGHT_THEME |
static int |
LIST |
| Modifier and Type | Method and Description |
|---|---|
void |
dismiss() |
void |
onContainerDraw(android.graphics.Canvas canvas) |
protected void |
onContainerTranslationYChanged(float translationY) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected boolean |
onCustomLayout(android.view.View view,
int left,
int top,
int right,
int bottom) |
protected boolean |
onCustomMeasure(android.view.View view,
int width,
int height) |
protected boolean |
onCustomOpenAnimation() |
void |
setAllowDrawContent(boolean value) |
void |
show() |
addContentView, cancel, closeOptionsMenu, create, 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, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenupublic static final int LIST
public static final int GRID
public static final int LIGHT_THEME
public static final int DARK_THEME
public static final int FAB_SLIDE_UP
public static final int FAB_SHOW_HIDE
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class android.app.Dialogpublic void show()
show in class android.app.Dialogpublic void dismiss()
dismiss in interface android.content.DialogInterfacedismiss in class android.app.Dialogprotected void onContainerTranslationYChanged(float translationY)
public void setAllowDrawContent(boolean value)
protected boolean onCustomMeasure(android.view.View view,
int width,
int height)
protected boolean onCustomLayout(android.view.View view,
int left,
int top,
int right,
int bottom)
public void onContainerDraw(android.graphics.Canvas canvas)
protected boolean onCustomOpenAnimation()