Work with tabs

How to implement tabs in a layout.