Skip to main content

Google pushes for Android apps to better support ‘ultra-wide foldables’ like Galaxy Z Fold 8

Android is a platform of variety, and that’s even more true now with the launch of Samsung’s new Galaxy Z Fold 8 series, which includes what Google refers to as an “ultra-wide foldable.”

In a developer-focused blog post, Google encourages Android app makers to build for the latest foldables by “dropping assumptions about display orientation and size.” Google calls the new Galaxy Z Fold 8 an “ultra-wide foldable,” which hasn’t been a particularly common canvas for Android apps. Only a few devices, including Google’s original Pixel Fold, fit into this category.

Google encourages developers to build with adaptive layouts, track the actual space being used by an app on these foldable displays, and take advantage of new features, like fold awareness which can help apps split wherever a foldable device’s hinge is found.

  • Build fluid, adaptive layouts: Wide aspect ratios and compact vertical heights require fluid UIs that scale responsively. Our updated adaptive design guidance advises considering the window class width first to determine layout changes, then adjusting for height. To let individual components fluidly adapt to the grid, structure your layout using flexible containers that allow your content to automatically wrap, span, and reflow. For design inspiration browse our adaptive sample app and dual-screen design galleries.
  • Track actual app space: Your app’s display space rarely matches the physical device size, especially on an ultra-wide screen during multi-window, split-screen, or multitasking states. Sometimes even the orientations differ. Leverage Window Size Classes using the Jetpack Window Manager library to calculate the exact space your app occupies.

Another area Google mentions is how apps handle the camera on foldable devices, such as accounting for the camera’s position when a device is folded or unfolded. Apps that assume a fixed portrait orientation for unfolded devices “will likely suffer from sideways, stretched, or cropped previews during these folding transitions,” Google says. CameraX can account for this.

Advertisement - scroll for more content

This post also confirms Galaxy Z Fold 8 and its accompanying releases are the first devices with Gemini Nano 4 support, as well as reiterating changes in Wear OS in acknowledgment of the Galaxy Watch 9 launch, which comes pre-installed with that latest version.

Galaxy Z Fold 8 is available for pre-order now.

More on Samsung:

Follow Ben: Twitter/XThreads, Bluesky, and Instagram

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Ben Schoon Ben Schoon

Ben is a Senior Editor for 9to5Google.

Find him on Twitter @NexusBen. Send tips to schoon@9to5g.com or encrypted to benschoon@protonmail.com.