Leebox#58
Open
muzili0712 wants to merge 3 commits into
Open
Conversation
在保持 TVBox 原有交互、id 与 ViewBinding 不变的前提下,将 mobile 与 leanback 双 flavor 界面重构为「午夜首映」暗色设计。 电视端(leanback) - 首页:功能栏(直播/搜索/收藏/推送/设置)移至顶部、分类改当页展示、 新增 Hero 首页推荐位(Hero/HeroPresenter/adapter_hero/mdl_hero_mask) - 详情页:站源提为顶部面包屑、meta 圆点分隔、操作栏与选集重排 - 搜索页:热搜榜由横向胶囊改竖排排行榜(前四名琥珀序号) - 设置页:两栏式(左分类导航滚动定位 + 右分组卡片) - 直播/播放器 OSD/各列表项:令牌化对齐 手机端(mobile) - 播放器 OSD:顶底渐变遮罩、宋体标题、次要色分辨率、等宽时间 - 首页 Hero、详情、搜索、直播、设置、历史、收藏等页令牌化 设计令牌统一 md_/mdm_/mdl_ 前缀,打包思源宋体,附设计稿 design-preview/。 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
- mobile flavor 接入 AutoSize:390dp 短边基准,横竖屏切换基准轴,与 leanback 同构 getResources hook - 退役 Setting.wrapUiScale 手动密度改写,全项目统一为 AutoSize 单一适配机制 - 界面大小改为五档:跟随系统(原生渲染)/超级大1.2/大1.1/标准1.0/小0.9,跟随系统走 cancelAdapt - ResUtil 无参 getDisplayMetrics 优先取前台 Activity,修正 dp2px 与适配密度脱节 - 附 openspec 变更文档(proposal/design/specs/tasks) Co-Authored-By: Claude Fable 5 <[email protected]>
Add five OpenSpec skill documents (openspec-apply-change, openspec-archive-change, openspec-explore, openspec-propose, openspec-sync-specs) under .codex/skills. Add a new main spec at openspec/specs/screen-adaptation/spec.md describing mobile/TV autosize requirements. Archive the existing autosize change into openspec/changes/archive/2026-07-03-autosize-screen-adaptation. Make a small layout tweak in activity_home.xml (replace marginStart/marginEnd with centerHorizontal). Rename project root in settings.gradle from "TV" to "LeeBox".
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.
No description provided.