You can either create a layout and load it, add the views in the code or have a mixture of both.
The advantage of creating a layout is that you can easily set the different properties, without code, and see how it looks on a device or an Emulator. In the Designer you can add code in the DesignerScripts to manage different screen sizes.