方法一:在config.json的aiblities下新增主题样式
"metaData": {
"customizeData": [
{
"extra": "",
"name": "hwc-theme",
"value": "androidhwext:style/Theme.Emui.Black"
}
]
}
附样式集:
androidhwext:style/Theme.Emui.NoTitleBar 无Title
androidhwext:style/Theme.Emui.NoDisplay 无界面
androidhwext:style/Theme.Emui.Light.NoTitleBar.Fullscreen 全屏无状态栏栏/TitleBar
androidhwext:style/Theme.Emui.Dialog 将一个Activity显示为对话框模式
androidhwext:style/Theme.Emui.NoTitleBar 不显示应用程序标题栏
androidhwext:style/Theme.Emui.NoTitleBar.Fullscreen 不显示应用程序标题栏,并全屏
androidhwext:style/Theme.Emui.Light 背景为白色
androidhwext:style/Theme.Emui.Light.NoTitleBar 白色背景并无标题栏
androidhwext:style/Theme.Emui.Light.NoTitleBar.Fullscreen 白色背景,无