Using the Leanback UI toolkit
Stay organized with collections
Save and categorize content based on your preferences.
Build better with Compose
Create beautiful UIs with minimal code using Jetpack Compose for Android TV OS.
The Leanback UI toolkit provides classes for building user interfaces with the
androidx.leanback library. The library provides a framework of classes using views and fragments
based on the deprecated Material 1 design language.
For a modern, declarative UI, use Compose for TV to build
your TV apps instead.
Topics
- Leanback UI toolkit libraries
- Get started with the AndroidX libraries for the now deprecated
Leanback UI toolkit.
- Create a catalog browser
- Use the now deprecated Leanback UI toolkit to build a browsing
interface for media catalogs.
- Provide a card view
- Use the now deprecated Leanback UI toolkit to build a card view for
content items.
- Build a details view
- Use the now deprecated Leanback UI toolkit to build a details page for
media items.
- Add transport controls
- Use the now deprecated Leanback UI toolkit to build transport controls
for your video player.
- Add a guided step
- Use the now deprecated Leanback UI toolkit to guide a user through a
series of decisions.
- Introduce first-time users to your app
- Use the now deprecated Leanback UI toolkit to show first-time users how
to get the most out of your app.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.
[null,null,["Last updated 2025-04-17 UTC."],[],[],null,["# Using the Leanback UI toolkit\n\nBuild better with Compose \nCreate beautiful UIs with minimal code using Jetpack Compose for Android TV OS. \n[Compose for TV →](/training/tv/playback/compose) \n\n\nThe Leanback UI toolkit provides classes for building user interfaces with the\n[androidx.leanback library](/training/tv/get-started/create#leanback). The library provides a framework of classes using views and fragments\nbased on the deprecated Material 1 design language.\n\n\nFor a modern, declarative UI, use [Compose for TV](../compose) to build\nyour TV apps instead.\n\nTopics\n------\n\n**[Leanback UI toolkit libraries](/training/tv/playback/leanback/leanback-libraries)**\n: Get started with the AndroidX libraries for the now deprecated\n Leanback UI toolkit.\n\n**[Create a catalog browser](/training/tv/playback/leanback/browse)**\n: Use the now deprecated Leanback UI toolkit to build a browsing\n interface for media catalogs.\n\n**[Provide a card view](/training/tv/playback/leanback/card)**\n: Use the now deprecated Leanback UI toolkit to build a card view for\n content items.\n\n**[Build a details view](/training/tv/playback/leanback/details)**\n: Use the now deprecated Leanback UI toolkit to build a details page for\n media items.\n\n**[Add transport controls](/training/tv/playback/leanback/transport-controls)**\n: Use the now deprecated Leanback UI toolkit to build transport controls\n for your video player.\n\n**[Add a guided step](/training/tv/playback/leanback/guided-step)**\n: Use the now deprecated Leanback UI toolkit to guide a user through a\n series of decisions.\n\n**[Introduce first-time users to your app](/training/tv/playback/leanback/onboarding)**\n: Use the now deprecated Leanback UI toolkit to show first-time users how\n to get the most out of your app."]]