[Android] Move the video controls settings in the video player

Nicolas Pomepuy git at videolan.org
Tue Nov 2 13:00:50 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Sep 10 12:18:54 2021 +0200| [493a8e358dcd68fa08eb0ee722ce5c5adf7ecb6f] | committer: Nicolas Pomepuy

Move the video controls settings in the video player

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

 .../assets/images/svg/ic_video_controls.svg        | 83 ++++++++++++++++++++++
 .../src/main/res/drawable/ic_video_controls.xml    | 15 ++++
 .../resources/src/main/res/values/attrs.xml        |  1 +
 .../resources/src/main/res/values/strings.xml      |  1 +
 .../television/ui/preferences/PreferencesVideo.kt  |  8 +--
 .../src/main/java/org/videolan/tools/Settings.kt   |  1 +
 .../res/layout/dialog_video_controls_settings.xml  | 34 +++++++++
 application/vlc-android/res/values/styles.xml      |  3 +
 .../vlc-android/res/xml/preferences_video.xml      | 60 ++--------------
 .../res/xml/preferences_video_controls.xml         | 56 +++++++++++++++
 .../src/org/videolan/vlc/gui/MainActivity.kt       |  3 -
 .../vlc/gui/dialogs/VideoControlsSettingsDialog.kt | 26 +++++++
 .../vlc/gui/helpers/PlayerOptionsDelegate.kt       |  7 ++
 .../vlc/gui/preferences/BasePreferenceFragment.kt  |  9 ++-
 .../vlc/gui/preferences/PreferencesVideo.kt        |  4 --
 .../gui/preferences/PreferencesVideoControls.kt    | 73 +++++++++++++++++++
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  | 32 ++++++---
 .../vlc/gui/video/VideoPlayerOverlayDelegate.kt    |  2 +-
 .../videolan/vlc/gui/video/VideoTouchDelegate.kt   |  2 +-
 19 files changed, 337 insertions(+), 83 deletions(-)

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


More information about the Android mailing list