如何禁用窗口的全屏显示功能
=============

在module.json5文件中配置abilities的supportWindowMode字段，用于指定窗口显示模式。

fullscreen表示支持全屏显示，split表示支持分屏显示，floating表示支持窗口化显示。

参考代码如下：

"abilities": \[
  {
    "name": "EntryAbility",
    "srcEntry": "./ets/entryability/EntryAbility.ets",
    "description": "$string:EntryAbility\_desc",
    "icon": "$media:icon",
    "label": "$string:EntryAbility\_label",
    "startWindowIcon": "$media:icon",
    "startWindowBackground": "$color:start\_window\_background",
    "exported": true,
    "supportWindowMode": \["split", "floating"\],
    "skills": \[
      {
        "entities": \[
          "entity.system.home"
        \],
        "actions": \[
          "ohos.want.action.home"
        \]
      }
    \]
  }
\],

**参考链接**

[abilities标签](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/module-configuration-file#abilities标签)