feat: Add Android TV D-pad navigation support with tvOptions#2173
Open
TheNoumanDev wants to merge 61 commits into
Open
feat: Add Android TV D-pad navigation support with tvOptions#2173TheNoumanDev wants to merge 61 commits into
TheNoumanDev wants to merge 61 commits into
Conversation
- ensemble@1.2.35-beta.1
- ensemble@1.2.38-beta.1
- ensemble@1.2.38-beta.2
TheNoumanDev
force-pushed
the
android_TV_implementation
branch
from
April 6, 2026 08:46
0ec7c68 to
30b28fa
Compare
TheNoumanDev
force-pushed
the
android_TV_implementation
branch
from
April 6, 2026 09:35
9761dfb to
59a05bc
Compare
TheNoumanDev
force-pushed
the
android_TV_implementation
branch
from
April 6, 2026 09:43
93bef64 to
7fd5f77
Compare
- ensemble@1.2.38-beta.3
- ensemble@1.2.38-beta.4
- ensemble@1.2.38-beta.5
- ensemble@1.2.38-beta.6
- ensemble@1.2.38-beta.7
When a TabItem has a tabWidget defined, _TVTabButton now renders it instead of the default icon+label, consistent with the non-TV TabBar behavior.
…bility Replace MediaQuery screen size with scrollable viewport bounds when calculating whether a focused item is above/below the visible area. This correctly handles scrollables that don't span the full screen. Also fixes verticalPadding usage: it's now a positioning inset within the viewport rather than a threshold relative to screen edges, preventing horizontal navigation jitter.
- ensemble@1.2.48-beta.1
- ensemble@1.2.48-beta.2
- ensemble@1.2.49-beta.1
…dated developer docs
…architecture, and examples
- Removed an empty line in the camera module's pubspec.yaml. - Refactored the ensemble changelog by removing outdated beta versions and consolidating entries for clarity.
Android tv edges implementation
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.
Summary
Add D-pad focus navigation system for Android TV with coordinate-based
tvOptionsin YAML. All TV code gated behindDevice().isTVcheck.Key Changes
Core TV Framework
row,order,isRowEntryPoint)Widget Support
TVOptionsCompositewith focus stylingLayout Support
scrollbarOptions.autoFocusdelegateHorizontalNavigation,interceptHorizontalNavtabWidgetsupportTheme Integration
Tokens.TV.*for focus stylingisTVgetter for Android TV detectionFocus Styling Properties
row,order,isRowEntryPoint,focusBorderColor,focusBorderWidth,focusBorderRadius,focusBackgroundColor,focusScale,focusOpacity,focusElevationExample
Developer docs
Comprehensive developer guide:
modules/ensemble/doc/tv_developer_guide.mdVide Demo:
Link: https://drive.google.com/file/d/1mZfg8hNFv9m0QkUy0S3P1C4Xkt287tfc/view?usp=sharing