AnchorBottomSheetBehavior

class AnchorBottomSheetBehavior<V : View>(context: Context, attrs: AttributeSet?) : BottomSheetBehavior<V>

This BottomSheetBehavior sets half expanded height as a fixed value on tablets rather than as a ratio.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:FloatRange(from = 0.0, to = 1.0)
var halfExpandedRatio: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Int

Functions

Link copied to clipboard
open fun addBottomSheetCallback(@NonNull p0: BottomSheetBehavior.BottomSheetCallback)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@FloatRange(from = 0.0, to = 1.0)
open fun getScrimOpacity(@NonNull p0: CoordinatorLayout, @NonNull p1: V): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onDetachedFromLayoutParams()
Link copied to clipboard
Link copied to clipboard
open override fun onLayoutChild(parent: CoordinatorLayout, child: V, layoutDirection: Int): Boolean
Link copied to clipboard
open fun onMeasureChild(@NonNull p0: CoordinatorLayout, @NonNull p1: V, p2: Int, p3: Int, p4: Int, p5: Int): Boolean
Link copied to clipboard
open fun onNestedFling(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Float, p4: Float, p5: Boolean): Boolean
Link copied to clipboard
open override fun onNestedPreFling(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Float, p4: Float): Boolean
Link copied to clipboard
open fun onNestedPreScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Int, p4: Int, @NonNull p5: IntArray)
open override fun onNestedPreScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Int, p4: Int, @NonNull p5: IntArray, p6: Int)
Link copied to clipboard
open fun onNestedScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Int, p4: Int, p5: Int, p6: Int)
open fun onNestedScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Int, p4: Int, p5: Int, p6: Int, p7: Int)
open override fun onNestedScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Int, p4: Int, p5: Int, p6: Int, p7: Int, @NonNull p8: IntArray)
Link copied to clipboard
open fun onNestedScrollAccepted(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, @NonNull p3: View, p4: Int, p5: Int)
Link copied to clipboard
open override fun onRestoreInstanceState(parent: CoordinatorLayout, child: V, state: Parcelable)
Link copied to clipboard
Link copied to clipboard
open override fun onStartNestedScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, @NonNull p3: View, p4: Int, p5: Int): Boolean
Link copied to clipboard
open override fun onStopNestedScroll(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: View, p3: Int)
Link copied to clipboard
open override fun onTouchEvent(@NonNull p0: CoordinatorLayout, @NonNull p1: V, @NonNull p2: MotionEvent): Boolean
Link copied to clipboard
open fun removeBottomSheetCallback(@NonNull p0: BottomSheetBehavior.BottomSheetCallback)
Link copied to clipboard
open fun setBottomSheetCallback(p0: BottomSheetBehavior.BottomSheetCallback)
Link copied to clipboard
fun setPeekHeight(p0: Int, p1: Boolean)
Link copied to clipboard
open override fun setState(state: Int)