Margins

A margin is a space that exists between two layout elements. When a side margin is set on an element, it is applied to its corresponding layout constraints, if one is available, by adding the margin as a space between the target side and the source side (the side of the element adding the margin):

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.