[Android] Fix glitch with resize button

Geoffrey Métais git at videolan.org
Mon Jan 19 16:42:25 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jan 19 10:28:24 2015 +0100| [169eaeddb6d43108d2fa8b2743eba99b9eaca824] | committer: Geoffrey Métais

Fix glitch with resize button

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

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

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 dd56f57..17ff9c2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2085,7 +2085,8 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
                     mTracks.startAnimation(AnimationUtils.loadAnimation(this, android.R.anim.fade_out));
                 if (mAdvOptions !=null)
                     mAdvOptions.startAnimation(AnimationUtils.loadAnimation(this, android.R.anim.fade_out));
-            }
+            } else
+                mSize.setVisibility(View.INVISIBLE);
             if (mPresentation != null) {
                 mOverlayBackground.startAnimation(AnimationUtils.loadAnimation(this, android.R.anim.fade_out));
                 mOverlayBackground.setVisibility(View.INVISIBLE);
@@ -2093,7 +2094,6 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
             setActionBarVisibility(false);
             mOverlayProgress.setVisibility(View.INVISIBLE);
             mPlayPause.setVisibility(View.INVISIBLE);
-            mSize.setVisibility(View.INVISIBLE);
             if (mTracks != null)
                 mTracks.setVisibility(View.INVISIBLE);
             if (mAdvOptions !=null)



More information about the Android mailing list