Chapter 18
Android’s PagerTitleStrip and PagerTabStrip: ViewPager Navigation UI
Android has two additional classes that can be used to enhance ViewPager UI designs. These are PagerTitleStripand PagerTabStrip, which are used to provide Tab or Title UI elements to the Viewpager, as you may have guessed from the names of these classes.
I will cover both of these classes in this chapter, so that you will have a full understanding of what is available for use with your ViewPager apps UI design. I will discuss the PagerTitleStrip class first, as it is fairly straightforward to add to your existing ViewPager application you created in the previous Chapter 17. We will look at the PagerTitleStrip class, and then add the PagerTitleStrip functionality ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access