setAlign

fun setAlign(align: Float)

Sets horizontal alignment of the bottom sheet.

0 means the bottom sheet is flush with the start edge, 1 means it's flush with the end edge. 0.5 means it's centered.

Only used when property@BottomSheet:full-width is set to FALSE.

Since

1.6

Parameters

align

the new alignment