During the measure phase, the framework measures the size of each composable and determines its position on the screen. During the layout phase, the framework lays out the composables according to their measured sizes and positions.