Modify src/main/config.json
, add the following content abilities
below
"metaData": {
"customizeData": [
{
"extra": "",
"name": "hwc-theme",
"value": "androidhwext:style/Theme.Emui.Light.NoTitleBar"
}
]
}
The detailed location is as follows (other configuration items have been hidden)
{
"module": {
...
"abilities": [
{
// 新增以下内容
"metaData": {
"customizeData": [
{
"extra": "",
"name": "hwc-theme",
"value": "androidhwext:style/Theme.Emui.Light.NoTitleBar"
}
]
}
// 新增以上内容
}
...
]
}
}
Rendering:
The emulator Weasel Weasel Weasel has collapsed and cannot be seen for the time being.
ps:
This method can only hide the TitileBar, and the color of the taskbar is still the same as Android, and the color of the taskbar is still white.