seslSetCustomHeightProportion

open fun seslSetCustomHeightProportion(enabled: Boolean, @FloatRange(from = 0, to = 1) proportion: Float)

Sets custom height proportion for the expanded app bar relative to screen height.

Parameters

enabled

whether custom height proportion is enabled

proportion

target proportion ratio between 0.0 and 1.0