Home > Enterprise >  GuideLine relative to another object
GuideLine relative to another object

Time:03-24

You need to make GuideLine relative to another object, and not relative to the screen. While I am using this:

app:layout_constraintGuide_percent="0.875"

CodePudding user response:

layout_constraintGuide_percent is always a percentage of the parent ConstraintLayout's height or width. You can continue to use a GuideLine, but you will have to manipulate the percentage programmatically either enter image description here

  • Related