Support classes for building Leanback user experiences.
Many apps intended for a 10-foot, or 'Leanback', experience are centered around media and games. Games tend to have custom user interfaces, but media applications may benefit from a common set of user interface components that work well in a Leanback environment. Following is an overview of the Leanback Support Library.
Leanback provides a model-view-presenter approach to building applications:
android.viewpackage. Developers may continue to use their existing knowledge and experience to create visually compelling applications with Leanback.
Presenterfor more details.
Leanback contains a mixture of higher level building blocks such as Fragments in the
android.support.v17.leanback.app package. Notable examples are the
BrowseFragment and the
GuidedStepFragment. Helper classes are also provided
that work with the leanback fragments, for example the
Many lower level building blocks are also provided in the
These allow applications to easily incorporate Leanback look and feel while allowing for a
high degree of customization. Primary examples include the UI widget
VerticalGridView. Helper classes also exist at this level
which do not depend on the leanback fragments, for example the