Here I have 2 guidelines in order to have a view scaled in relation to the screen size. But how set the view in order to the constraints depends on the size of the screen ?
Asked
Active
Viewed 50 times
1 Answers
2
give an id to the guidelines, and set the constraints Start -> StartOf @id/guidelines1 hope i've answered your question.

Isam maskey
- 36
- 1
- 3
-
Thank you. It works. Another question. Is possible to set the offset (margin) in percentage ? – jujuf1 Dec 27 '20 at 08:15
-
1yes you can set a margin of a view in percentage but you can't set offset of a guideline – Isam maskey Dec 27 '20 at 08:28