The layout framework allows you to create a complex user interface layout by nesting the rows and columns inside of rows and columns . Let us see an example of a complex user interface by creating the product list. For this purpose, you need first to replace the code of main.