Compose Layout
The FlexBox sample app showcases the FlexBox layout. The app demonstrates column and row directions, flex item sizing (basis, grow, and shrink), wrapping behavior, and alignment configurations.
Compose Layout
The Grid sample app illustrates how to configure grid columns and rows, and how to span items across multiple rows and columns using grid modifiers in Compose.
Compose Adaptive
MediaQuery is a sample app exploring the Media Query APIs in Compose UI. The sample demonstrates adapting layout and UI elements based on window dimensions, device posture (such as tabletop mode), input hardware (keyboards and pointer precision), hardware sensors, and viewing distance.