更新时间:2023-10-20 23:48:52
要在模拟器中添加槽口,请选择具有Android Pie系统映像(9.0)的任何设备.进行构建,然后在模拟器上转到设置">系统">展开高级">开发人员"选项>图形"部分>用切口模拟显示".
To add a notch in the emulator, choose any device with Android Pie system image (9.0). Build it, then go to Settings > System > expand 'Advanced' > Developer options > 'Drawing' section > 'Simulate a display with a cutout' on the emulator.
您可以使用它,直到他们添加正式皮肤
You can use it until they add the official skin
*注意:默认情况下,Android手机上不显示开发人员"选项.请参阅 Android文档了解如何启用它.
*NOTE: The 'Developer' option is not shown by default on Android phones. Please see the Android Documentation to learn out how to enable it.