[Android] Hide size button on lock

Geoffrey Métais git at videolan.org
Tue Dec 16 16:23:55 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Oct 29 16:25:20 2014 +0100| [7757a456e32340e82beb72194f2c2088ffe0b52a] | committer: Geoffrey Métais

Hide size button on lock

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

 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 2b33e41..9578a5a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1994,6 +1994,7 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
                     mBackward.setVisibility(View.VISIBLE);
                     mForward.setVisibility(View.VISIBLE);
                 }
+                mSize.setVisibility(View.VISIBLE);
                 dimStatusBar(false);
             }
             mOverlayProgress.setVisibility(View.VISIBLE);
@@ -2030,6 +2031,7 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
             mPlayPause.setVisibility(View.INVISIBLE);
             mBackward.setVisibility(View.INVISIBLE);
             mForward.setVisibility(View.INVISIBLE);
+            mSize.setVisibility(View.INVISIBLE);
             mShowing = false;
             dimStatusBar(true);
         } else if (!fromUser) {



More information about the Android mailing list