鸿蒙OS基础,相对布局DependentLayout 2020-12-18 本文已影响0人 迷失在你de流年 image.png image.png 布局文件初始化方法: DependentLayout layout = new DependentLayout(this); 设置布局文件的基础属性如上截图,跟安卓类似!