[Android] Add a better confirmation dialog for deletion

Nicolas Pomepuy git at videolan.org
Wed May 5 05:17:26 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue May  4 08:03:45 2021 +0200| [278b77c0648feab817461b6e4ffd8457e380032d] | committer: Nicolas Pomepuy

Add a better confirmation dialog for deletion

Fixes #2003

> https://code.videolan.org/videolan/vlc-android/commit/278b77c0648feab817461b6e4ffd8457e380032d
---

 .../assets/anims/anim_delete.shapeshifter          | 456 +++++++++++++++++++++
 .../src/main/res/drawable/anim_delete.xml          | 392 ++++++++++++++++++
 .../resources/src/main/res/values/strings.xml      |   5 +
 .../res/layout/dialog_confirm_delete.xml           |  98 +++++
 application/vlc-android/res/values/styles.xml      |   4 +-
 .../src/org/videolan/vlc/gui/PlaylistActivity.kt   |  20 +-
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  17 +-
 .../vlc/gui/browser/MediaBrowserFragment.kt        |  48 +--
 .../vlc/gui/dialogs/ConfirmDeleteDialog.kt         | 127 ++++++
 9 files changed, 1121 insertions(+), 46 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/278b77c0648feab817461b6e4ffd8457e380032d


More information about the Android mailing list