# leanback-showcase **Repository Path**: kumei/leanback-showcase ## Basic Information - **Project Name**: leanback-showcase - **Description**: Android Tv leanback 谷歌官方demo. git clone https://github.com/googlesamples/leanback-showcase.git - **Primary Language**: Android - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2017-03-20 - **Last Updated**: 2021-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 谷歌官方 Android TV Leanback demo. # Leanback Support Library Showcase App for Android TV This sample app showcases different components that come with Leanback library. The home screen in this sample app is a BrowseFragment consisting of a set of different cards. Each card represents a component in Leanback. All the cards in this sample app work except the Settings. Settings for now crashes due to some internal issue, and we are working on resolving that in the next few days. We will also add a new music example card soon. This will be a new PlaybackOverlayFragment that comes with a set of new features. ## Introduction - [Read more about Android TV introduction](http://www.android.com/tv/) - [Android TV Developer Documentation](http://developer.android.com/tv) - [Android TV apps in Google Play Store][store-apps] ## 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 ## Getting Started - Clone this repo: ```sh git clone https://github.com/googlesamples/leanback-showcase.git ``` - In the local.properties file add the location to your Android SDK (You need to install Android SDK 'N'). - Open the project in [Android Studio][studio]. - Compile and deploy to your Android TV emulator or device (such as a Nexus Player). ## Screenshots * 一条目录对应一行内容模式(对应leanback-showcase中的Card Examples) * 一条目录对应一个页面模式(对应leanback-showcase中的Custom Fragment) * DetailsFragment - 显示某条Item对应页面详情的Fragment(对应leanback-showcase中的DetailsFragment),可定制化层度不高。 * PlaybackOverlayFragment - 用于显示播放控件及相关内容的 DetailsFragment子类。(Video Example,Music Example) ![Screenshot](screenshots/Showcase-Snapshots.png) Need more information about getting started with Android TV? Check the [official docs][getting-started]. ## Support If you need additional help, our community might be able to help. - Android TV Google+ Community: [https://g.co/androidtvdev](https://g.co/androidtvdev) - Stack Overflow: http://stackoverflow.com/questions/tagged/android-tv ## Contributing We love contributions! :smile: Please follow the steps in the [CONTRIBUTING guide][contributing] to get started. If you found a bug, please file it [here][bugs]. ## License Licensed under the Apache 2.0 license. See the [LICENSE file][license] for details. [store-apps]: https://play.google.com/store/apps/collection/promotion_3000e26_androidtv_apps_all [studio]: https://developer.android.com/tools/studio/index.html [getting-started]: https://developer.android.com/training/tv/start/start.html [bugs]: https://github.com/googlesamples/androidtv-Leanback/issues/new [contributing]: CONTRIBUTING.md [license]: LICENSE