The second Android 11 Developer Preview is now available, test it out and share your feedback.

FabDockedPosition

enum class FabDockedPosition
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.material.BottomAppBar.FabDockedPosition>
   ↳ androidx.ui.material.BottomAppBar.FabDockedPosition

The possible positions for a FloatingActionButton docked to a BottomAppBar.

The layout of icons within the BottomAppBar will depend on the chosen position of the FloatingActionButton.

Summary

Enum values

Positioned in the center of the BottomAppBar.

Positioned at the end of the BottomAppBar.

Enum values

Center

enum val Center : BottomAppBar.FabDockedPosition

Positioned in the center of the BottomAppBar. A minimum of one and a maximum of two additional actions can be placed on the right side of the bar, and navigation icon will be placed on the left side.

End

enum val End : BottomAppBar.FabDockedPosition

Positioned at the end of the BottomAppBar. A maximum of four additional actions will be shown on the left side of the bar and there should be no navigation icon.