[Android] Restore fullscreen layout in video player

Geoffrey Métais git at videolan.org
Wed Dec 17 15:22:19 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Dec 17 15:21:18 2014 +0100| [05a893f7c0ea8ac6ecec8cfc05b1618581042470] | committer: Geoffrey Métais

Restore fullscreen layout in video player

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=05a893f7c0ea8ac6ecec8cfc05b1618581042470
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 4cd07c4..1911a4b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2074,7 +2074,9 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
 
         if (!AndroidDevices.hasCombBar() && LibVlcUtil.isJellyBeanOrLater()) {
             visibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE;
+            navbar = View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;
         }
+        visibility |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;
         if (dim) {
             navbar |= View.SYSTEM_UI_FLAG_LOW_PROFILE;
             if (!AndroidDevices.hasCombBar()) {



More information about the Android mailing list