[Android] Restore fullscreen layout in video player
Geoffrey Métais
git at videolan.org
Fri Dec 19 13:36:47 CET 2014
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Dec 17 15:21:18 2014 +0100| [0a8fe349612cce3011c16b98d46ce00e24d0b654] | committer: Jean-Baptiste Kempf
Restore fullscreen layout in video player
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0a8fe349612cce3011c16b98d46ce00e24d0b654
---
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