[Feature]: Consistent distances between text in lyrics view

未关闭
#321 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
56/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, kotlin
领域
design, mobile

调研方向

Start by locating the synced lyrics view and the code that switches the current sentence to bold, then trace how it detects pauses for the three point or notes animation. Check how text wrapping and spacing behave for current and regular lyrics, and whether pause timing can drive paragraph spacing. Done when the current line stays visually stable as it becomes bold and pauses are clearly reflected with consistent spacing.

由索引模型根据 Issue 内容生成。

描述

enhancement
Is your feature request related to a problem?

When viewing sync'd lyrics, the current sentence is displayed in bold text. That feels quite immersive but the bold text needs more space so when the regular text already fills the whole line, as soon as it becomes bold, it takes two lines. I found that irritating in two ways: 1. The last word of the line jumps to the bottom while reading and 2. the line below stays empty in order to keep space for the last word jumping down. For me, an empty line suggests that there's a pause between two paragraphs. This got me confused a few times when I was passionately singing along :D

Describe the solution you'd like

In order to keep the distances consistent, you could have different margins for the current, bold text and for the regular text, so that the bold text would be allowed to fill quite a bit more space before it's cut into two lines.

Also, now that I thought that there were empty lines whenever there's a longer break between sung text, I think it would be a nice feature to actually have some space between paragraphs whenever there's pauses since you already have code detecting pauses (that starts the dancing three point/notes animation).

Describe alternatives you've considered

No response

主要语言
Kotlin
星标
284
派生
31
平均合并
1 天 1 小时
30 天内合并 PR
16

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PixelPlayerHQ/PixelPlayerOSS 的其他 Issue

查看 PixelPlayerHQ/PixelPlayerOSS 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。