Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12989e4e authored by Rahul Sharma's avatar Rahul Sharma Committed by Arne Coucheron
Browse files

Gallery: fix Pause button position

Pause button was not visible in the center of the screen during
video playback. Fix it using centered view for this.

Change-Id: Ib4992ac544029151691d18ec9fa71fb0b6d4eadb
parent 1da9c8d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -114,7 +114,8 @@ public class MovieControllerOverlayNew extends MovieControllerOverlay {
            if (mStopBtn != null) {
                mStopBtn.setVisibility(View.GONE);
            }
            mPlayPauseReplayView.layout(insets.left, y - barHeight, insets.left + barHeight, y);
            // Put the play/pause/next/previous button in the center of the screen
            layoutCenteredView(mPlayPauseReplayView, 0, 0, w, h);
        }
        mTimeBar.layout(insets.left + barHeight, y - barHeight,
                width - mScreenModeExt.getAddedRightPadding(), y);