![]() Run one app in one of the display regions.Like tablets and other single screen mobile devices, foldables can: These devices can be folded as well, but they have two different logical display regions. Dual-screen foldable devices, with two screens joined by a hinge.Users can run multiple apps on the same screen at the same time using multi-window mode. ![]() Single-screen foldable devices, with one screen that can be folded.When folded, these devices are often smaller than a common-size tablet, making them more portable and functional.Īt the time of this writing, there are two types of foldable devices: Single screen devices vs foldable devicesįoldable devices offer users a bigger screen and more versatile user interface than previously available in a mobile device. If you use other foldable emulators, you may or may not have to make some changes in the code (mainly Jetpack WindowManager).Ģ. Note: In this codelab we have used the dual screen and the 6.7" Horizontal Fold-in emulators. If you want to use a dual screen emulator, you can download the Microsoft Surface Duo emulator for your platform (Windows, MacOS or GNU/Linux).There are a few foldable emulators you can use, as shown in the image below: The Android Emulator v30.0.6+ includes foldables support with virtual hinge sensor and 3D view. Uses Jetpack WindowManager to work with new form factor devices.Detects when the application is running on a foldable or dual-screen device.Experience with Activities, Fragments, View binding, and xml-layouts.When you're finished, you'll be able to enhance your app to support devices like the Microsoft Surface Duo and the Samsung Galaxy Z Fold3. This practical codelab will teach you the basics of developing for dual-screen and foldable devices.
0 Comments
Leave a Reply. |