Adaptive

Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API. It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as buttons) with varying target sizes, and adaptive layouts (including navigation areas - nav rails and nav bars) using the Compose Grid and FlexBox APIs.

unliftedq 566374a 13 files · 88.9 KB Updated

File contents

unliftedq/agents/tree/main/android-dev/skills/adaptive commit 566374a146

Frequently asked questions

npx skillmds@latest add unliftedq/adaptive