HarmonyOS 如何让XComponent的Surface充满全屏?

this.mXComponentController.setXComponentSurfaceRect({
  surfaceWidth: 1080,
  surfaceHeight: 1920
})

我该如何设置为全屏的大小呢

阅读 649
1 个回答