Repository navigation
Add Android TV guides - #137
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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
Adds guides for the experimental
android-ui-tvlibrary, in a new "Android TV" subcategory at the end of Guides (docs/guides/android-tv/_category_.json,position: 4, icon 📺):android-tv/getting-started.md): installation (android-ui-tv:1.+), TV manifest setup,THEOplayerTvTheme { Surface { DefaultUI(...) } }, remote control keys, live/ads, menus, subtitles, theming, using your ownTHEOplayerView, differences from mobile, and the demo app.android-tv/custom-ui.md): TVUIControllerslots, controls, menus (openMenu,Menu), focus management, state holders, and the Nitflex example.Also:
custom-ui.md: links to the TV guide; fixes thePlayer.ktlink (moved toui-common).localization.md: string resources moved toui-common; they also apply toandroid-ui-tv.chromecast.md: notes thatandroid-ui-tvhas no Chromecast support.README.md: new "Works on phones and tablets, with experimental support for Android TV" feature bullet, and an "Android TV" usage section after "Custom UI", linking to the guide and the TV demo app.All Kotlin snippets were compiled in a scratch file in
:app(since removed).Screenshots
Captured on an Android TV emulator in the TV demo app, scaled to 1920×1080:
docs/assets/tv-default-ui.png: Default theme, Bip Bop (HLS), controls visible.docs/assets/tv-default-ui-live.png: Default theme, DASH-IF Livesim, no seek bar, focus on Play.docs/assets/tv-language-menu.png: Default theme, Subtitles side panel open, a subtitle track focused.docs/assets/tv-settings-menu.png: Default theme, Settings side panel open, Quality focused.docs/assets/tv-nitflex-ui.png: Nitflex theme, Sintel (DASH), controls visible, center Play focused.docs/assets/tv-demo-home.png: TV demo home screen, stream carousel and theme chips.Link to Devin session: https://dolby.devinenterprise.com/sessions/edf7b16cd28344f695cd947531a8ad1f
Open in Devin Desktop: https://dolby.devinenterprise.com/desktop/session/edf7b16cd28344f695cd947531a8ad1f?variant=devin
Requested by: @MattiasBuelens