Introduction to dual-screen and foldables development
summary
Overview of concrete results and tools: Jetpack Window Manager (beta2) exposes window metrics, folding feature boundaries and posture changes (flat vs half‑open), including occlusion and a 1px hinge example; emulators include Android Studio foldables plus a Surface Duo 2 image. Components built include a foldable‑aware layout that splits into two containers, a bottom navigation that shifts away from the hinge, a RecyclerView layout manager that places odd/even items left/right, a sliding pane layout that auto‑aligns panes, and a testing artifact to mock folding features for UI tests.
AI-written summary · about
chapters (19)
- 0:00Introduction to foldables
- 1:47Understanding foldable postures
- 2:50Surface Duo 2 overview
- 3:32Development resources for foldables
- 4:56Key tips for foldable apps
- 5:59Using foldable emulators
- 6:21Jetpack Window Manager basics
- 10:49Window metrics and display features
- 14:19Getting window metrics in code
- 15:23Folding feature info with coroutines
- 17:13Java and RxJava support
- 17:56Testing foldable UIs
- 18:58Jetpack SlidingPaneLayout
- 22:49Microsoft's foldable libraries
- 23:33Foldable Layout component
- 25:00Bottom Navigation View updates
- 26:06RecyclerView for foldables
- 27:30Learning with codelabs
- 30:40Additional resources and community
related talks
41mWhat can my foldable do?
25mIntroduction to dual-screen and foldables development
29mFoldable, Meet Compose
35mDesigning for foldables in 2023
34mMore Than Foldables: Android App for Foldables and Larger Screens
47mThe age of large screen & foldables
47mDual-Screen & Multi-Posture: Let’s Rethink Mobile Apps
14mWhat’s new in foldables, tablets, and large screens
