Chapter     11

Android’s FrameLayout Class: Using Digital Video in Your UI Design

Now that we’ve covered all the foundational Android UI classes such as View (widgets), ViewGroup (layout containers), and ActionBar (System UI), we can commence covering core Android layout container classes for the rest of the book. These provide the foundation for Pro Android UI design.

The most basic layout container in Android is the FrameLayout container class, which is usually used to contain one UI element. This could be a digital image, using the ImageView class, or more likely a digital video, using the VideoView class, which we will be learning about in this chapter.

A FrameLayout can also be used to hold more advanced graphics-related code constructs, ...

Get Pro Android UI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.