About adaptive layouts

Android apps run on a wide variety of devices—from foldable flip phones to wall‑mounted TVs. To provide a great user experience on all types of devices, adapt your app's UI to different display sizes and configurations. The best Android apps use the screen space they occupy effectively and handle changes to that space at runtime, including orientation changes and window resizing in split‑screen and free‑form windowing modes.

Topics

The adaptive layouts documentation provides guidance on the following topics, how to:

  • Design and implement adaptive layouts
  • Adjust your app's primary navigation based on window size
  • Use window size classes to adapt your app's UI
  • Simplify implementation of canonical layouts, such as list‑detail, using the Jetpack APIs

Prerequisites

The adaptive layouts guidance assumes you understand the following concepts: