.png)
With devices like the Galaxy Z Fold8, the ecosystem is expanding to include hardware with a landscape-first natural orientation and a wider aspect ratio in its main display state. Whether a user is unfolding a large display, flipping open a cover screen, or glancing at their wrist, users expect a flawless experience. To help you meet this moment, we’re sharing actionable guidance and new tooling updates to enable you to build adaptively proactively.
Rethink layout architecture for dynamic displays, including ultra-wide foldables
Building for the latest foldables means dropping assumptions about display orientation and size. This is especially true for the Galaxy Z Fold8, which adopts an ultra-wide display, adding to the variety of aspect ratios to account for. Devices with this landscape-first natural orientation show the limitations of hardcoded layout rules when users unfold the device. That’s why we’ve introduced
To build a responsive UI that handles these physics seamlessly, focus on the following core pillars:
- Build fluid, adaptive layouts: Wide aspect ratios and compact vertical heights require fluid UIs that scale responsively. Our updated and using the ( API allows you to define dynamic tracks and column spans without the performance overhead of a lazy list. Pair Grid with the new API to adapt your UI to its environment, using conditions to detect signals like device posture, window size, and keyboard types.
- Make your app fold aware: Use the Jetpack WindowManager library, which provides an API surface for foldable device window features such as folds and hinges. When your app is to ensure smooth transitions when a user folds or unfolds their device.
SOCIAL SHARE CARD GENERATOR