Android TV support #155#157
Open
IgorDuino wants to merge 4 commits intonsh07:mainfrom
Open
Conversation
Co-authored-by: IgorDuino <74809945+IgorDuino@users.noreply.github.com>
Co-authored-by: IgorDuino <74809945+IgorDuino@users.noreply.github.com>
Add Android TV support with Leanback launcher integration
Owner
|
I cannot merge this PR in the current state of the app because the app does not have a proper adaptive UI right now. #115 has to be completed first, then I'll work on this. Keep it open, I'll get back to this later when the UI is ready. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds Android TV support to the project, enabling the app to be launched from TV devices using the Leanback Launcher and providing a custom TV banner. The changes include updates to the manifest for TV compatibility, integration of the Leanback library, and resource additions for TV presentation.
Android TV support and integration:
AndroidManifest.xmlto declare TV compatibility (android.software.leanbackandandroid.hardware.touchscreenas optional features), added a banner for TV, and registered intent filters for Leanback Launcher support. ([[1]](https://github.com/nsh07/Tomato/pull/157/files#diff-7fa6aef292187a049f7a4d6060d8df3ba212d838789c78940bd363344b1c38cdR28-R35),[[2]](https://github.com/nsh07/Tomato/pull/157/files#diff-7fa6aef292187a049f7a4d6060d8df3ba212d838789c78940bd363344b1c38cdL42-R62))app/src/main/res/drawable/tv_banner.xmlfor display on Android TV launchers. ([app/src/main/res/drawable/tv_banner.xmlR1-R43](https://github.com/nsh07/Tomato/pull/157/files#diff-f0fe733abda9d8b227b4721e92e501d8f4cd8c10bcf65a9725a9c1876bf6d03bR1-R43))README.mdto mention Android TV support and Leanback Launcher integration. ([README.mdR82](https://github.com/nsh07/Tomato/pull/157/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R82))Dependency management:
gradle/libs.versions.tomland included it in the app dependencies inapp/build.gradle.kts. ([[1]](https://github.com/nsh07/Tomato/pull/157/files#diff-697f70cdd88ba88fe77eebda60c7e143f6ad1286bca75017421e93ad84fb87dfR12),[[2]](https://github.com/nsh07/Tomato/pull/157/files#diff-697f70cdd88ba88fe77eebda60c7e143f6ad1286bca75017421e93ad84fb87dfR27),[[3]](https://github.com/nsh07/Tomato/pull/157/files#diff-8cff73265af19c059547b76aca8882cbaa3209291406f52df1dafbbc78e80c46R129-R131))