media3-adaptive-compose-ui
Compact skill for adaptive Media3 Compose UI across phones, tablets, foldables, large screens, orientation changes, and system insets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compact skill for adaptive Media3 Compose UI across phones, tablets, foldables, large screens, orientation changes, and system insets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | media3-adaptive-compose-ui |
| description | Compact skill for adaptive Media3 Compose UI across phones, tablets, foldables, large screens, orientation changes, and system insets. |
| license | Apache-2.0 |
| metadata | {"author":"Shunnek Labs","version":"1.1","target_media3_version":"1.10.1","last_reviewed":"2026-07-23","keywords":["android","media3","compose","adaptive","tablet","foldable","large-screen"]} |
Use for responsive player UI across mobile, tablet, foldable, landscape, split-screen, and large-screen layouts.
media3-compose-ui-material3 for player surface and controls.1.10.1 through the version catalog.currentWindowAdaptiveInfo().windowSizeClass (material3-adaptive) and branch with isWidthAtLeastBreakpoint checks against the WindowSizeClass bound constants, not fixed phone breakpoints.WindowWidthSizeClass/WindowHeightSizeClass bucket enums are deprecated in androidx.window 1.4; DO NOT add new code that switches on them.val windowSizeClass = currentWindowAdaptiveInfo().windowSizeClass
when {
windowSizeClass.isWidthAtLeastBreakpoint(
WindowSizeClass.WIDTH_DP_EXPANDED_LOWER_BOUND
) -> ExpandedPlayerScaffold()
windowSizeClass.isWidthAtLeastBreakpoint(
WindowSizeClass.WIDTH_DP_MEDIUM_LOWER_BOUND
) -> MediumPlayerScaffold()
else -> CompactPlayerScaffold()
}
media3-compose-ui-material3media3-video-playbackmigrate-xml-ui-to-composeCompact skill for Media3 Google IMA CSAI/SSAI ad insertion, AdViewProvider, companions, and ad telemetry.
Compact skill for Media3 MediaSessionService, MediaController, notification, media buttons, and service lifetime.
Compact skill for Media3 offline downloads with DownloadService, DownloadManager, Requirements, and the WorkManagerScheduler role of media3-exoplayer-workmanager.
Compact skill for Media3 bandwidth estimation, ABR limits, load control, network constraints, and preload contention.
Compact skill for Media3 CastPlayer.Builder, automatic local/remote handoff, MediaRouteButton, and Cast session lifecycle.
Compact skill for Media3 HTTP DataSource, OkHttp/Cronet/HttpEngine, cache, headers, auth, and custom DataSource decisions.