Last active
August 29, 2019 14:38
-
-
Save wajahatkarim3/c8216f5e1de4394d31e705c1dd54c78b to your computer and use it in GitHub Desktop.
A table for ConstraintLayout live templates
This file contains hidden or 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
Abbrevation | Description | |
---|---|---|
center | Centers any view in the parent horizontally and vertically | |
centerh | Centers any view horizontally in the parent | |
centerv | Centers any view vertically in the parent | |
vertical | Centers any view vertically in any other view | |
horizontal | Centers any view horizontally in any other view | |
fill | Fills any view on all edges to parent | |
over | Puts any view over an other view by setting same constrains as the original view. Works like fill but for any other view | |
above | Puts any view above another view | |
below | Puts any view below another view | |
tostart | Puts any view at start of another view | |
toend | Puts any view at end of another view | |
tt | Sets the Top to Top of constraint | |
tb | Sets the Top to Bottom Of constraint | |
bb | Sets the Bottom to Bottom Of constraint | |
bt | Sets the Bottom to Top Of constraint | |
ss | Sets the Start to Start of constraint | |
ee | Sets the End to End of constraint | |
se | Sets the Start to End of constraint | |
es | Sets the End to Start of constraint | |
ttp | Sets the Top to Top of Parent constraint | |
bbp | Sets the Bottom to Bottom of Parent constraint | |
eep | Sets the End to End of Parent constraint | |
ssp | Sets the Start to Start of Parent constraint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment