[Android] Display notch and aspect ratio preferences when long taping the icon

Nicolas Pomepuy git at videolan.org
Thu Feb 24 11:14:28 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Feb 21 10:23:12 2022 +0100| [7778c0271dba04292a882586fa4f618b8a4bbe86] | committer: Nicolas Pomepuy

Display notch and aspect ratio preferences when long taping the icon

Fixes #2392
Fixes #1486

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

 .../resources/src/main/res/values/strings.xml      |   2 +
 .../src/main/java/org/videolan/tools/Settings.kt   |   1 +
 application/vlc-android/res/layout/player.xml      |   6 +
 application/vlc-android/res/layout/player_hud.xml  |   1 +
 .../vlc-android/res/layout/player_resize.xml       |  81 +++++++
 .../vlc-android/res/layout/video_scale_item.xml    |  61 ++++++
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  36 ++--
 .../vlc/gui/video/VideoPlayerOverlayDelegate.kt    |  10 +-
 .../vlc/gui/video/VideoPlayerResizeDelegate.kt     | 236 +++++++++++++++++++++
 .../videolan/vlc/gui/video/VideoTouchDelegate.kt   |   8 +-
 .../src/org/videolan/vlc/util/Kextensions.kt       |   7 +
 11 files changed, 423 insertions(+), 26 deletions(-)

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


More information about the Android mailing list