ConstraintLayout中子控件设置距离底部距离不起作用
一定要设置这两个属性,否则layout_marginBottom不起作用,这就是约束布局,需要有约束属性
app:layout_constraintTop_toBottomOf="@+id/tv_isecurity"
app:layout_constraintBottom_toBottomOf=“parent”
app:layout_constraintLeft_toLeftOf=“parent”

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-11-11
  • 2022-12-23
  • 2021-12-31
  • 2021-08-31
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-01-22
相关资源
相似解决方案