布局组件代码编写方法/代码编写布局属性/java代码编写布局
原创
文档不存在的配置讲解DependentLayoutDependentLayout.LayoutConfignumslayoutConfignewDependentLayout.LayoutConfig();numslayoutConfig.addRule(DependentLayout.LayoutConfig.ALIGNPARENTLEFT);父级左边StackLayoutStackLayout.LayoutConfigtoptextlayoutConfignewStackLayout.LayoutConfig((int)RpxUtil.rpx(336,abilitySlice.getContext()),StackLayout.LayoutConfig.MATCHCONTENT,LayoutAlignment.BOTTOM);定位底部topText.setLayoutConfig(toptextlayoutConfig);