Class MyBottomSheetBehaviour
-
- All Implemented Interfaces:
-
com.google.android.material.motion.MaterialBackHandler
public final class MyBottomSheetBehaviour extends BottomSheetBehavior<View>
s.y.biryukov
-
-
Field Summary
Fields Modifier and Type Field Description private IntegersaveFlagsprivate BooleanfitToContentsprivate IntegersignificantVelocityThresholdprivate IntegerpeekHeightprivate IntegermaxWidthprivate IntegermaxHeightprivate BooleangestureInsetBottomIgnoredprivate BooleanshouldRemoveExpandedCornersprivate IntegerexpandedOffsetprivate FloathalfExpandedRatioprivate Booleanhideableprivate BooleanskipCollapsedprivate Booleandraggableprivate Integerstateprivate final IntegerlastStableStateprivate FloathideFriction
-
Constructor Summary
Constructors Constructor Description MyBottomSheetBehaviour(Context context, AttributeSet attrs)MyBottomSheetBehaviour(Context context)
-
Method Summary
Modifier and Type Method Description FloatgetScrimOpacity(CoordinatorLayout parent, View child)-
Methods inherited from class com.google.android.material.bottomsheet.BottomSheetBehavior
addBottomSheetCallback, calculateSlideOffset, cancelBackProgress, disableShapeAnimations, getExpandedOffset, getHalfExpandedRatio, getHideFriction, getLastStableState, getMaxHeight, getMaxWidth, getPeekHeight, getSaveFlags, getSignificantVelocityThreshold, getSkipCollapsed, getState, handleBackInvoked, isDraggable, isFitToContents, isGestureInsetBottomIgnored, isHideable, isHideableWhenDragging, isNestedScrollingCheckEnabled, isShouldRemoveExpandedCorners, onAttachedToLayoutParams, onDetachedFromLayoutParams, onInterceptTouchEvent, onLayoutChild, onMeasureChild, onNestedPreFling, onNestedPreScroll, onNestedScroll, onRestoreInstanceState, onSaveInstanceState, onStartNestedScroll, onStopNestedScroll, onTouchEvent, removeBottomSheetCallback, setBottomSheetCallback, setDraggable, setExpandedOffset, setFitToContents, setGestureInsetBottomIgnored, setHalfExpandedRatio, setHideFriction, setHideable, setHideableInternal, setMaxHeight, setMaxWidth, setPeekHeight, setPeekHeight, setSaveFlags, setShouldRemoveExpandedCorners, setSignificantVelocityThreshold, setSkipCollapsed, setState, setUpdateImportantForAccessibilityOnSiblings, shouldExpandOnUpwardDrag, shouldSkipHalfExpandedStateWhenDragging, shouldSkipSmoothAnimation, startBackProgress, updateBackProgress -
Methods inherited from class androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior
blocksInteractionBelow, getInsetDodgeRect, getScrimColor, layoutDependsOn, onApplyWindowInsets, onDependentViewChanged, onDependentViewRemoved, onNestedFling, onNestedPreScroll, onNestedScroll, onNestedScroll, onNestedScrollAccepted, onNestedScrollAccepted, onRequestChildRectangleOnScreen, onStartNestedScroll, onStopNestedScroll -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MyBottomSheetBehaviour
MyBottomSheetBehaviour(Context context, AttributeSet attrs)
-
MyBottomSheetBehaviour
MyBottomSheetBehaviour(Context context)
-
-
Method Detail
-
getScrimOpacity
Float getScrimOpacity(CoordinatorLayout parent, View child)
-
-
-
-