[Android] Allow the user to take a video screenshot
Nicolas Pomepuy
git at videolan.org
Wed Jul 27 13:34:21 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jul 18 11:56:54 2022 +0200| [1689991699a60a9c9c5f190e16f620bd72afee4d] | committer: Duncan McNamara
Allow the user to take a video screenshot
With a three fingers tap
Fixes #121
> https://code.videolan.org/videolan/vlc-android/commit/1689991699a60a9c9c5f190e16f620bd72afee4d
---
.../java/org/videolan/resources/AndroidDevices.kt | 2 +
.../resources/src/main/res/drawable/ic_share.xml | 16 +++
.../main/res/drawable/rounded_corners_orange.xml | 31 +++++
.../main/res/drawable/rounded_corners_white.xml | 37 +++++
.../resources/src/main/res/values/strings.xml | 1 +
application/vlc-android/res/layout/player.xml | 7 +
.../vlc-android/res/layout/player_screenshot.xml | 87 ++++++++++++
.../src/org/videolan/vlc/gui/helpers/BitmapUtil.kt | 36 ++++-
.../videolan/vlc/gui/video/VideoPlayerActivity.kt | 53 ++++++-
.../vlc/gui/video/VideoPlayerScreenshotDelegate.kt | 154 +++++++++++++++++++++
.../videolan/vlc/gui/video/VideoTouchDelegate.kt | 6 +
.../org/videolan/vlc/util/ThumbnailsProvider.kt | 25 +---
12 files changed, 423 insertions(+), 32 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/1689991699a60a9c9c5f190e16f620bd72afee4d
More information about the Android
mailing list