[Android] Migrate the video screenshot setting to a choice between gesture and button

Nicolas Pomepuy git at videolan.org
Fri Sep 2 07:48:33 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Sep  1 13:28:34 2022 +0200| [8c889349097b1dc7e94705a2271ae5e4e380006f] | committer: Nicolas Pomepuy

Migrate the video screenshot setting to a choice between gesture and button

New setting values: disabled, gesture only, button only, both
Fixes #2650

> https://code.videolan.org/videolan/vlc-android/commit/8c889349097b1dc7e94705a2271ae5e4e380006f
---

 .../src/main/res/drawable/ic_player_screenshot.xml   |  9 +++++++++
 application/resources/src/main/res/values/arrays.xml | 13 +++++++++++++
 .../resources/src/main/res/values/strings.xml        |  5 ++++-
 .../src/main/java/org/videolan/tools/Settings.kt     |  2 +-
 .../vlc-android/res/layout/player_hud_right.xml      | 14 ++++++++++++++
 .../res/xml/preferences_video_controls.xml           | 10 ++++++----
 .../vlc/gui/preferences/PreferencesVideoControls.kt  |  1 -
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt    | 12 ++++++++++--
 .../vlc/gui/video/VideoPlayerOverlayDelegate.kt      |  6 ++++++
 .../src/org/videolan/vlc/util/VersionMigration.kt    | 20 +++++++++++++++++++-
 10 files changed, 82 insertions(+), 10 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/8c889349097b1dc7e94705a2271ae5e4e380006f


More information about the Android mailing list