[Feature]: Consistent distances between text in lyrics view

Abierto
#321 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
56/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin
Área
design, mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Kotlin
Estrellas
284
Forks
31
Merge medio
1 d 1 h
PR fusionados (30 d)
16

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PixelPlayerHQ/PixelPlayerOSS

Todos los issues de PixelPlayerHQ/PixelPlayerOSS

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.