Skip to content

Conversation

@IgorDuino
Copy link

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:

  • Updated AndroidManifest.xml to declare TV compatibility (android.software.leanback and android.hardware.touchscreen as 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))
  • Added a custom TV banner vector drawable in app/src/main/res/drawable/tv_banner.xml for 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))
  • Updated README.md to mention Android TV support and Leanback Launcher integration. ([README.mdR82](https://github.com/nsh07/Tomato/pull/157/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R82))

Dependency management:

  • Added the AndroidX Leanback library to gradle/libs.versions.toml and included it in the app dependencies in app/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))
Copilot AI and others added 4 commits November 24, 2025 19:56
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
@nsh07
Copy link
Owner

nsh07 commented Nov 27, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants