android-adaptive-layouts

Installation
SKILL.md

Android Adaptive Layouts ๐Ÿ“ฑ๐Ÿ’ป๐Ÿ’ป

Professional strategies for building flexible, responsive Android applications that scale beautifully from phones to tablets and foldables.

โšก When to Use

  • Multi-Device Support: Designing a UI that works on all screen sizes.
  • Foldable Support: Adapting layout based on hinge position (Tabletop mode).
  • Tablet Optimization: Using extra screen space for "List-Detail" or complex dashboards.
  • ChromeOS Support: Adapting for resizable desktop-style windows.
  • Dynamic Orientation: Handling rotations without losing state.

๐Ÿ—๏ธ The 3 Window Size Classes

  1. Compact (Phone): 0-599dp width. Single column.
  2. Medium (Small Tablet/Large Phone): 600-839dp width. Navigation rail or multi-pane.
  3. Expanded (Large Tablet/Desktop): 840dp+ width. Fixed navigation drawer or complex dashboards.

๐Ÿ› ๏ธ Canonical Layouts (Google Standard)

Installs
13
GitHub Stars
11
First Seen
Jun 21, 2026