[Feature]: Consistent distances between text in lyrics view

Đang mở
#321 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
design, mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Kotlin
Star
284
Fork
31
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
16

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PixelPlayerHQ/PixelPlayerOSS

Tất cả issue của PixelPlayerHQ/PixelPlayerOSS

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.