有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"

有A B两个组件 A组件的id为a B组件的id为b 在ConstraintLayout中 要使B组件位于A组件的右边 应如

热搜:单纯性肾病综合征好发年龄为A婴儿B