[Android] Allow changing the orientation lock and state by long taping the orientation icon

Nicolas Pomepuy git at videolan.org
Mon Apr 3 13:23:37 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Mar 21 10:20:18 2023 +0100| [f6a955ed78f4085ad1dc20027c37a8d0922cc08c] | committer: Duncan McNamara

Allow changing the orientation lock and state by long taping the orientation icon

Fixes #2693

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

 .../resources/src/main/res/values/strings.xml      |   2 +
 application/vlc-android/res/layout/player.xml      |   5 +
 .../vlc-android/res/layout/player_orientation.xml  |  64 ++++++++
 .../res/layout/player_remote_control.xml           |   5 +
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  27 +++-
 .../gui/video/VideoPlayerOrientationDelegate.kt    | 180 +++++++++++++++++++++
 .../vlc/gui/video/VideoPlayerOverlayDelegate.kt    |   4 +-
 7 files changed, 280 insertions(+), 7 deletions(-)

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


More information about the Android mailing list