Commit 8b1c5819 authored by Geoffrey Métais's avatar Geoffrey Métais

Hide info on hide...

parent 92596bf2
......@@ -1489,12 +1489,16 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
private void fadeOutInfo() {
if (mPresentation == null) {
if (mOverlayInfo.getVisibility() == View.VISIBLE)
if (mOverlayInfo.getVisibility() == View.VISIBLE) {
mOverlayInfo.startAnimation(AnimationUtils.loadAnimation(
VideoPlayerActivity.this, android.R.anim.fade_out));
} else if (mInfo.getVisibility() == View.VISIBLE)
mInfo.startAnimation(AnimationUtils.loadAnimation(
VideoPlayerActivity.this, android.R.anim.fade_out));
mOverlayInfo.setVisibility(View.INVISIBLE);
}
} else if (mInfo.getVisibility() == View.VISIBLE) {
mInfo.startAnimation(AnimationUtils.loadAnimation(
VideoPlayerActivity.this, android.R.anim.fade_out));
mInfo.setVisibility(View.INVISIBLE);
}
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment