[Feature]: Consistent distances between text in lyrics view

Aperta
#321 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
design, mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Kotlin
Stelle
284
Fork
31
Merge medio
1g 1h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PixelPlayerHQ/PixelPlayerOSS

Tutte le issue di PixelPlayerHQ/PixelPlayerOSS

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.