[Android] Make the app cover the whole screen by using window insets

Nicolas Pomepuy git at videolan.org
Tue Mar 15 10:56:57 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Mar 11 11:39:56 2022 +0100| [8f9d43a2d9cecc932e249a2aabb7cba7acac319b] | committer: Duncan McNamara

Make the app cover the whole screen by using window insets

Fixes #2176

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

 .../resources/src/main/res/values-v29/styles.xml   | 43 ++++++++++++++
 .../vlc/gui/AudioPlayerContainerActivity.kt        | 38 ++++++++-----
 .../src/org/videolan/vlc/gui/InfoActivity.kt       |  2 +-
 .../src/org/videolan/vlc/gui/PlaylistActivity.kt   |  2 +-
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |  2 +
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  | 15 ++++-
 .../videolan/vlc/gui/audio/AudioPlayerAnimator.kt  |  1 +
 .../vlc/gui/helpers/BottomNavigationBehavior.kt    | 66 ----------------------
 8 files changed, 85 insertions(+), 84 deletions(-)

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


More information about the Android mailing list