Книги автора: Beginning Android
Книга: Beginning Android
The Pieces
The Pieces
There are a few widgets and containers you need to use in order to set up a tabbed portion of a view:
• TabHost
is the overarching container for the tab buttons and tab contents.
• TabWidget
implements the row of tab buttons, which contain text labels and optionally contain icons.
• FrameLayout
is the container for the tab contents; each tab content is a child of the FrameLayout
.
This is similar to the approach that Mozilla’s XUL takes. In XUL’s case, the tabbox
element corresponds to Android’s TabHost
, the tabs element corresponds to TabWdget
, and tabpanels
corresponds to the FrameLayout
.
Оглавление статьи/книги
Похожие страницы
- Pieces of Intents
- Pieces of Me
- CHAPTER NINE: The Pieces of the Puzzle Fall into Place
- 4.4.4 The Dispatcher
- About the author
- Chapter 7. The state machine
- Appendix E. Other resources and links
- Example NAT machine in theory
- The final stage of our NAT machine
- Compiling the user-land applications
- The conntrack entries
- Untracked connections and the raw table