Problem
The Composable androidx.compose.material.NavigationRail
has in some documention an optional "centered" alignment. I cannot achieve this using Jetpack Compose.
The "old" XML attribute is app:menuGravity="center"
CodePudding user response: