Android TV Leanback Support Library sample - Videos by Google
This sample is a Videos By Google app, designed to run on an Android TV device (such as the Nexus Player), which demonstrates how to use the Leanback Support library which enables you to easily develop beautiful Android TV apps with a user-friendly UI that complies with the UX guidelines of Android TV.
Getting Started
- Clone this repo:
git clone https://github.com/googlesamples/androidtv-Leanback.git
- Open the project in Android Studio.
- Compile and deploy to your Android TV device (such as a Nexus Player).
Need more information about getting started with Android TV? Check the official docs.
Explore the sample
- Choose a layout
- Videos grouped by category (See BrowseFragment in screenshots)
- Freeform vertical grid of videos (See Vertical Grid Fragment in screenshots)
- Customize video cards with a Card Presenter (See Card Views in screenshots)
- Display in-depth details about your video
- Play a video
- Display an error
- Make your app globally searchable
- Review searchable training document
- Creating a content provider
- Defining searchable.xml
- Receive search intent in manifest
- Review searchable training document
- Search within your app
- Onboard new users (explain new features)
- Customize preference and settings
- Add a wizard with guided steps
Additonal Resouroces
Screenshots
Support
If you need additional help, our community might be able to help.
- Android TV Google+ Community: https://g.co/androidtvdev
- Stack Overflow: http://stackoverflow.com/questions/tagged/android-tv
Dependencies
If you use Android Studio as recommended, the following dependencies will automatically be installed by Gradle.
- Android SDK v7 appcompat library
- Android SDK v17 leanback support library
- Android SDK v7 recyclerview library
Contributing
We love contributions! 😄 Please follow the steps in the CONTRIBUTING guide to get started. If you found a bug, please file it here.
License
Licensed under the Apache 2.0 license. See the LICENSE file for details.