Problems with ConstraintLayout - vertical margin doesn't work

后端 未结 3 945
轻奢々
轻奢々 2021-01-26 23:25

I want to build this simple layout using ConstraintLayout:

It works as expected when Title and Subtle are just single line tex

3条回答
  •  梦毁少年i
    2021-01-27 00:16

    Your TextView1 doesn't have lower boundaries.

    Simply add

    app:layout_constraintBottom_toTopOf="@+id/textView2"
    

    for your first textView

提交回复
热议问题