How to assign a layout to a row

Technically, there is also an unofficial way to get custom views depending on the row. It takes some manual setup, however.