有A B两个组件 A组件的id为a B组件的id为b 在ConstraintLayout中 要使B组件位于A组件的右边 应如
已帮助 人
有A、B两个组件,A组件的id为a,B组件的id为b,在ConstraintLayout中,要使B组件位于A组件的右边,应如何设置B组件的属性?()
A.app:layout_constraintRight_toLeftOf = "@id/a"
B.app:layout_constraintLeft_toRightOf ="@id/a"
C.app:layout_constraintTop_toBottomOf ="@id/a"
D.app:layout_constraintBottom_toTopOf ="@id/a"

回答
共1条回复-
×
