相关问题
PolarDB for PostgreSQ L的PITR恢复流程是什么?
3202浏览 • 1回复 待解决
应用上架的指导流程、安全合规要求是什么
1620浏览 • 1回复 待解决
物联网应用开发的NOOBS是什么?
6524浏览 • 1回复 待解决
应用创建了多个子窗口,是否可以给这些子窗口设置层级
469浏览 • 1回复 待解决
DevEco Studio是什么?是不是开发HarmonyOS应用的ide
11888浏览 • 1回复 待解决
基于子窗口实现应用内悬浮窗
502浏览 • 1回复 待解决
如何打开/关闭闪光灯,captureSession的使用流程是什么
1621浏览 • 0回复 待解决
各位认为开发鸿蒙应用与Web前端开发最大的差距是什么?
2536浏览 • 1回复 已解决
子窗口的页面能通过router跳转主窗口的页面
853浏览 • 0回复 待解决
createSubWindow 创建子窗口router新页面是子窗口承接?
250浏览 • 1回复 待解决
HarmonyOS 应用arkguard混淆执行流程
234浏览 • 1回复 待解决
如何设置子窗口的背景颜色?
227浏览 • 1回复 待解决
如何设置应用子窗口,并对其进行属性设置等操作
641浏览 • 1回复 待解决
在Deveco Studio的应用开发中Java和eTS是什么关系?
6771浏览 • 2回复 已解决
鸿蒙应用开发语言是什么呢?啥时候有框架预览
11676浏览 • 3回复 待解决
子窗口加载的页面是否可以带参数
213浏览 • 1回复 待解决
#鸿蒙学习大百科#手机号快速验证的流程是什么样的?
79浏览 • 1回复 待解决
求告知子窗口如何添加动画
258浏览 • 1回复 待解决
如何通过代码关闭子窗口?
227浏览 • 1回复 待解决
HarmonyOS应用市场的应用升级机制是什么样的
206浏览 • 1回复 待解决
设置子窗口透明度未生效
1521浏览 • 1回复 待解决
HarmonyOS window.findWindow获取子窗口错误
120浏览 • 1回复 待解决
#鸿蒙学习大百科#动画在应用开发中的作用是什么?
34浏览 • 1回复 待解决
鸿蒙开发现在最缺的是什么?
6914浏览 • 2回复 待解决
应用内Context是什么含义
378浏览 • 1回复 待解决
1. 通过createSubWindow接口创建应用子窗口。
2. 子窗口创建成功后,可以设置子窗口属性,改变其大小、位置等,还可以根据应用需要设置窗口背景色、亮度等属性。
3. 通过setUIContent和showWindow接口加载显示子窗口的具体内容。
4. 当不再需要某些子窗口时,可根据具体实现逻辑,使用destroyWindow接口销毁子窗口。
示例代码如下: