In our last application, we used buttons and a
card layout to create an application that switched between different child items. While it is often desirable for your application to do this programmatically (with your own buttons and code), you can also choose to have Sencha Touch set this up automatically, using a
TabPanel component is useful when you have a number of views the user needs to switch between, such as contacts, tasks, and settings. The
TabPanel component auto-generates the navigation for the layout, which makes it very useful as the main container for an application.
One of our early example applications in Chapter 2, Creating a Simple Application ...