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.
- 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.
- 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
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
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
We love contributions! 😄 Please follow the steps in the CONTRIBUTING guide to get started. If you found a bug, please file it here.
Licensed under the Apache 2.0 license. See the LICENSE file for details.