# Media3 Tv Leanback Ui

> Compact skill for Android TV Media3 playback UI. New TV apps use Compose for TV; Leanback and media3-ui-leanback are maintenance-only for existing Leanback apps. Covers D-pad focus, overscan-safe controls, and TV UX rules.

- **Type:** Skill
- **Install:** `agentstack add skill-sunnat629-android-media-pack-media3-tv-leanback-ui`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sunnat629](https://agentstack.voostack.com/s/sunnat629)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [sunnat629](https://github.com/sunnat629)
- **Source:** https://github.com/sunnat629/android-media-pack/tree/main/.skills/media/ui/media3-tv-leanback-ui

## Install

```sh
agentstack add skill-sunnat629-android-media-pack-media3-tv-leanback-ui
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## Trigger

Use for Android TV playback screens, remote/D-pad interaction, Compose for TV player UI, or maintenance of an existing Leanback app that uses `media3-ui-leanback`.

## Rules

- Start with `streaming-media-architecture` for ownership and telemetry, then specialize for TV.
- Pin Media3 to `1.10.1` through the version catalog.
- `androidx.leanback` is formally deprecated. Its release page states the artifact and its classes are deprecated and points to Compose for TV. `media3-ui-leanback` wraps that deprecated stack.
- New TV apps **MUST** use Compose for TV (`androidx.tv:tv-material`) with the standard Media3 Compose surface (`PlayerSurface`/`ContentFrame` from `media3-ui-compose`).
- Use Leanback plus `media3-ui-leanback` (`LeanbackPlayerAdapter`) only when maintaining an existing Leanback app. **DO NOT** add it to new code.
- When an existing Leanback app is being modernized, follow the official migration guide: https://developer.android.com/training/tv/playback/leanback/migrate-to-compose
- On both stacks, design for D-pad focus, visible selected state, back/menu behavior, and transport keys.
- Keep video controls readable at TV distance and safe from overscan/system UI.
- Use TV-friendly browse/playback flows; avoid phone gestures as required controls.
- Test focus order before claiming the TV UI is done.

## Example

New TV app (Compose for TV):

```toml
tv-material = { module = "androidx.tv:tv-material", version.ref = "tvMaterial" }
media3-ui-compose = { module = "androidx.media3:media3-ui-compose", version.ref = "media3" }
```

Existing Leanback app, maintenance only:

```toml
media3-ui-leanback = { module = "androidx.media3:media3-ui-leanback", version.ref = "media3" }
```

## Do Not

- **DO NOT** start a new TV app on Leanback or `media3-ui-leanback`.
- **DO NOT** ship a TV UI that requires touch.
- **DO NOT** hide focus state.
- **DO NOT** reuse cramped phone controls without TV spacing and focus checks.

## Related

- `media3-compose-ui-material3`
- `media3-view-ui-player`
- `media3-video-playback`
- `media3-background-playback-service`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sunnat629](https://github.com/sunnat629)
- **Source:** [sunnat629/android-media-pack](https://github.com/sunnat629/android-media-pack)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sunnat629-android-media-pack-media3-tv-leanback-ui
- Seller: https://agentstack.voostack.com/s/sunnat629
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
