AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using Compose in Layout Modifiers
There is a thing called intrinsic in compose. And it allows you to figure out like certain dimensions based on the opposite dimensions. It kind of provides this escape hatch in a ways when layout actually needs second pass measure, so you kind of measure without actually measuring and stuff like that. So there are a set of layout modifiers that allow you to specify the width or the height of your parent depending on the min or max, intrinsic width or height of the children.