A masonry layout is a layout in which content is stacked like a brick or stone wall, as shown below. It is also called a waterfall layout because the content flows down the page like a waterfall.
Developers often need to create graphical user interfaces (GUIs) that have a matrix-type layout with columns of different widths or rows of different heights. Those layout cells are unequal in order ...