The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
Before we had the action bar and
ViewPager, we had
TabWidget as our means
of displaying tabs. Nowadays, in most cases, using
tabs with a
ViewPager is the preferred option.
However, there may be cases where the classic tabs are a better solution, or you may
have inherited legacy code that still uses
ListActivity helps one use a
TabActivity helps one use a
TabActivity is marked as deprecated. That is largely because
its parent class,
ActivityGroup, is deprecated. While you can still use
it is no longer recommended. It also is not necessary, as there are ways to use
TabWidget without using
TabActivity, as will be demonstrated later
in this chapter.
The preview of this section is in the process of being translated from its native Klingon.
The preview of this section will not appear here for a while, due to a time machine mishap.
The preview of this section was abducted by space aliens.