2min chapter

Android Developers Backstage cover image

Episode 191: Compose Lazy Layouts

Android Developers Backstage

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode