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.
The Android N Preview adds Picture-in-picture (PIP) to Android TV.
Picture-in-picture support is available directly on the master
branch of this repo.
- Read more about Android TV introduction
- Android TV Developer Documentation
- Android TV apps in Google Play Store
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
- 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.
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
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.