ParallaxTitleConfig

constructor(paddingBottom: Dp, paddingStart: Dp, collapsedPaddingStart: Dp, keepSubtitleAfterCollapse: Boolean, animateSubTitleHiding: Boolean, collapsedScale: Float = ParallaxToolbarDefaults.TitleCollapsedScale, collapsedAlignment: Alignment.Horizontal = Alignment.Start)(source)

Parameters

collapsedScale

Scale of the title block once collapsed, e.g. 0.8f to shrink it into the toolbar. It scales about its start edge.

collapsedAlignment

Where the collapsed title sits in the space between the navigation icon and the actions: Alignment.Start next to the navigation icon at collapsedPaddingStart, Alignment.CenterHorizontally centered as on iOS, or Alignment.End before the actions.