I would like to add some constraints to a TextView
within a ConstraintLayout
programmatically. I know that I had to use ConstraintSet
, but I have no idea how to add the xml attribute: layout_constraintRight_toLeftOf
(and its equivalencies) on that textView
in Java in android.
Any help is appreciated!!