62.2 Using a Foldable Emulator
Although at time of writing there are no foldable devices on the market with which to perform app testing, foldable emulators are included with the Android SDK. To create a foldable emulator, select the Android Studio Tools -> AVD Manager menu option, click on the Create Virtual Device button and, from the hardware selection screen, choose one of the Foldable options as highlighted in Figure 62-3 below:
Figure 62-3
After making a foldable selection, continue through the creation process, selecting Android 10 API 29 or newer as the system image.
Once the emulator is up and running, an additional button will appear in the toolbar allowing the emulator to be switched between folded and unfolded configurations:
Figure 62-4