Implementing Android apps for all screen sizes
summary
A practical recipe for one app that adapts to phones, foldables, tablets and Chrome OS using Jetpack Compose and a single navigation graph with four top-level destinations (For You, Episodes, Saved, Interests). Breakpoints are concrete: window size classes compact <600 dp, medium 600–840 dp, expanded ≥840 dp, swapping nav bar/rail/drawer and switching layouts (one vs two columns). State uses unidirectional flow in ViewModel, saved with rememberSaveable and verified with stateRestorationTester. Navigation uses Navigation Compose; testing uses emulators, a resizable device and Gradle Managed Devices.
AI-written summary · about
chapters (3)
related talks
33mBuild adaptive apps with Jetpack Compose
28mBuilding an app for the Multi-Device world
40mOptimize your app for large screens
29mAdapting Android Apps for Multiple Screens Compose-First Approach
26mMaking Apps adaptive with Material and Compose
37mBuilding Responsive UIs for tablets, foldables, and other devices
14mNavigation Compose on every screen size
34mResponsive UIs for tablets, foldables, and other devices.
