The Android development world has changed, and devices no longer fit into specific buckets like they used to - where mobile devices were phones or tablets. It is now possible for the same device to look like both, especially with the onset of foldable devices. We now have many other form factors like watches, TVs, and even car entertainment systems supporting Android. Now is the time to build smarter and increase productivity.
In this talk, we will go through how to support multiple form factors using powerful APIs introduced by Google. APIs like window size class and Jetpack Compose. We will examine how Jetpack Compose simplifies building adaptive layouts that improve user experience across Android devices.
From tablets to foldable devices to TVs, we will also talk about canonical patterns for supporting adaptive layouts and examples from the Accompanyist library that we can use to achieve them.
At the end of the talk, you will learn practical steps you can take to support adaptive layouts in your app and ultimately deliver a top-class experience for your users.
Links used in the presentation:
1. https://m3.material.io/foundations/layout/canonical-layouts/list-detail
2. https://developer.android.com/reference/androidx/window/layout/DisplayFeature
3. https://developer.android.com/guide/topics/large-screens/large-screen-canonical-layouts
4. https://developer.android.com/jetpack/compose/layouts/adaptive
5. https://android-developers.googleblog.com/2023/05/optimizing-your-android-app-for-large-screens.html
6. https://developer.android.com/develop/ui/views/layout/twopane
7. https://developer.android.com/develop/ui/views/layout/responsive-adaptive-design-with-views
8. https://developer.android.com/docs/quality-guidelines/large-screen-app-quality