Created
August 19, 2018 19:06
-
-
Save RamiJ3mli/5072dd5afedf997565ea9c082f8783c2 to your computer and use it in GitHub Desktop.
ConstraintSet's list of methods related to guidelines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ConstraintSet method | Explanation | |
---|---|---|
create(int guidelineID, int orientation) | Creates a guideline within the layout. | |
setGuidelineBegin(int guidelineID, int margin) | Sets a guideline's distance from parent's left edge (vertical guideline) or top edge (horizontal guideline). | |
setGuidelineEnd(int guidelineID, int margin) | Sets a guideline's distance from parent's right edge (vertical guideline) or bottom edge (horizontal guideline). | |
setGuidelinePercent(int guidelineID, float ratio) | Sets a guideline's position in percentage relative to parent view group. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment