当前位置: 首页>后端>正文

【鸿蒙Harmony】沉浸式设置+透明主题

配置文件config.json的"module"里添加下列代码:

沉浸式:

【鸿蒙Harmony】沉浸式设置+透明主题,第1张

"metaData": {

????"customizeData": [ {

????????????"name": "hwc-theme",

????????????"value": "androidhwext:style/Theme.Emui.NoTitleBar",

????????????"extra": "" } ]

},

透明主题:

【鸿蒙Harmony】沉浸式设置+透明主题,第2张

"metaData": {????

????"customizeData": [ {????????????

????????????"name": "hwc-theme",????????????

????????????"value": "androidhwext:style/Theme.Emui.Translucent.NoTitleBar",????????????

????????????"extra": "" } ]

},


https://www.xamrdz.com/backend/3x21932509.html

相关文章: