[Android] Improve the Add to playlist dialog UX

Yashraj Singh Jadon git at videolan.org
Tue Feb 13 10:36:01 UTC 2024


vlc-android | branch: master | Yashraj Singh Jadon <yashr7651 at gmail.com> | Sat Feb 10 02:30:13 2024 +0100| [6770e6e0d3d140dafb720a3f82e5702bc6c98771] | committer: Nicolas Pomepuy

Improve the Add to playlist dialog UX

Add a "Create" button in dialog_playlist.xml to create new playlists.
Shift the "Save" button to the bottom of existing playlists.
Move the duplication messages logic from DuplicationWarningDialog.kt
  to SavePlaylistDialog.kt.
Now, multiple duplication messages are shown in a single
  DuplicationWarningDialog.

> https://code.videolan.org/videolan/vlc-android/commit/6770e6e0d3d140dafb720a3f82e5702bc6c98771
---

 .../resources/src/main/res/values/strings.xml      |   8 +-
 .../vlc-android/res/layout/dialog_playlist.xml     | 104 ++++++++++----------
 .../vlc/gui/dialogs/DuplicationWarningDialog.kt    |  56 +++++------
 .../videolan/vlc/gui/dialogs/SavePlaylistDialog.kt | 105 +++++++++++++++------
 4 files changed, 160 insertions(+), 113 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/6770e6e0d3d140dafb720a3f82e5702bc6c98771


More information about the Android mailing list