feat: improve playlist chooser dialog UI (#439)

* fix: lock buttons at dialog bottom

The previous implementation appended the buttons to the RecyclerView programmatically
this disabled the scroll and pushed the buttons outside the visible dialog area
if too there were too many playlists.

To fix this now the XML defines a fixed location for the buttons, enabling
the scroll of the RecyclerView and preventing the buttons to become unreachable

* feat: improve playlist chooser dialog UI

Implement it in the XML layout and not programmatically.

* fix: detached listeners from XML layout

* fix: missing dialog title
This commit is contained in:
Tom 2026-02-15 14:42:07 -03:00 committed by GitHub
parent 661346ca3a
commit 9adaf8c013
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 101 additions and 59 deletions

View file

@ -172,8 +172,8 @@
<string name="playlist_catalogue_title">플레이리스트 카탈로그</string>
<string name="playlist_catalogue_title_expanded">플레이리스트 찾아보기</string>
<string name="playlist_chooser_dialog_empty">플레이리스트가 없습니다.</string>
<string name="playlist_chooser_dialog_negative_button">취소</string>
<string name="playlist_chooser_dialog_neutral_button">생성</string>
<string name="playlist_chooser_dialog_cancel_button">취소</string>
<string name="playlist_chooser_dialog_create_button">생성</string>
<string name="playlist_chooser_dialog_title">플레이리스트 추가</string>
<string name="playlist_chooser_dialog_toast_add_success">재생 목록에 음악 추가</string>
<string name="playlist_chooser_dialog_toast_add_failure">재생 목록에 음악을 추가하지 못했습니다.</string>