Testing
To get your app ready for Foldables, you should test how your app reacts to:
- Optimized UI layout
- App continuity
- Multi-Active Window
- Flex mode (available in Android Studio Canary release)
How to check my app
RTL (Remote Test Lab)
Use the Remote Test Lab service to test your applications on a real device.
Foldable emulators
You may test foldable devices with Android Emulator version 30.1.1+, which can be found in the Android Studio Canary release channel. Test with the emulators similar to Samsung foldables.
Z Flip vs 6.7" Horizontal Fold-in Emulator
Z Flip | 6.7" Horizontal Fold-in | |
---|---|---|
API | 29 | 30 |
Screen Size | 1080 X 2636 | 1080 X 2636 |
Screen Density | 480 dpi | 420 dpi |
Type | Clam shell | Clam shell |
Flex mode | Supported | Supported |
Z Fold2 vs 7.3" Fold-in with outer display Emulator
Z Fold2 | 7.3" Fold-in with outer display | |
---|---|---|
API | 29 | 30 |
Main Screen Size | 1768 X 2208 | 1768 X 2208 |
Main Screen Density | 480 dpi | 480 dpi |
Cover Screen Size | 960 X 2658 | 884 X 2208 |
Cover Screen Density | 480 dpi | 480 dpi |
Type | Book | Book |
Flex mode | Supported | Supported |
Check Point
Optimized UI layout
Q1. Is the app to be shown responsively by the screen width, ratio, and size?
Q2. Is the app using right template by screens? (Cover screen, Main screen)
Q3. Is the app fully filled up on the screen?
App coninuity
Q1. Is the app fully filled up on the newly activated screen?
Q2. Is the tab in the same position between the two screens?
Q3. Is the scroll in the same position between the two screens?
Q4. Is the on-screen-keyboard status and text being written the same between two screens?
Q5. If the app is restarted, essential data is saved and restored when restarting?
Multi-Active Window
Q1. Does the app support multi-window and resizable activity properly by the screen size change?
Flex mode
Q1. Is your app considering to show responsively based upon device posture? Opened vs Half-Opened.