YTe*_*rle 6 android android-layout android-constraintlayout
当我们通过设计器为视图创建约束时,它会自动为此约束创建边距 - 8dp。在很多情况下我不需要那个边距,所以我必须手动删除它(或更改为0dp)。
8dp
0dp
有没有办法可以为 中的约束自定义默认边距ConstraintLayout?
ConstraintLayout
BVa*_*tur 7
对于 ConstraintLayout 子项,您可以设置默认边距,如图像上所示。
归档时间:
8 年,4 月 前
查看次数:
3540 次
最近记录: