
These buttons will set a specific hinge angle. The Surface Duo 2 can be placed in a number of different modes, some of which will affect your app (such as if the app is spanned but the device is folded into tent or flip mode, and one screen is turned off).Īccess the device posture buttons in the Extended controls window, Virtual sensors section, by choosing the Fold radio button: When the hinge angle exceeds 235 degrees the device will enter Flip mode and one screen will be turned off. This shows the Device Pose tab which has a Fold radio button and hinge angle slider: Open the the Extended controls window from the emulator toolbar and the select Virtual sensors item. You can also use the Rotation buttons to center the device and set the rotation to 0, 90, 180, or 270 degrees. Use the Rotate and Move radio buttons to show sliders to adjust the device's position, or click and drag in the preview window: Move, rotate, and preview the device posture You can use Settings > Display > Auto-rotate screen or pull down from the status bar and ensure the Auto-rotate option is enabled (blue): If the screen elements don't rotate, check that Auto-rotate is enabled. You can rotate the emulator using these buttons in the emulator toolbox, or use Control+Left arrow and Control+Right arrow keyboard shortcuts: When the background turns white across both screens, release the app. To span your app in the emulator, drag the app from the white bar at the bottom of the app screen towards the middle of the device. Make sure your project compiles with API 30 or higher.
#Mac extended display emulator android
The Surface Duo 2 emulator runs Android 11 (also known as Android R or API 30). Visual Studio users should refer to the Xamarin instructions for the emulator.
#Mac extended display emulator install
There is a Start menu icon available on Windows, or use the run script in the install location. The Surface Duo 2 emulator will not automatically appear in the Android Studio device list nor in AVD Manager, you should start it manually. See Get the Surface Duo 2 emulator if you don't yet have the tools installed.
/cdn.vox-cdn.com/uploads/chorus_image/image/65373681/Shot1.0.png)
The emulator simulates postures, gestures, hinge angle, pen pressure, multi-touch, mimicking the seam between the two screens, and more. With the Surface Duo 2 image and the Android Emulator you can test your app without access to a physical device. Get started with the Surface Duo 2 emulator
