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

Commit 4cb241ff authored by Tobias Dubois's avatar Tobias Dubois Committed by android-build-merger
Browse files

Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots" am: c66f5ebd

am: bb57b5bf

Change-Id: I7661ca288a88c23b9458b2a91bfc285b567b13f9
parents a56aa613 bb57b5bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ public class PageIndicatorDots extends View implements PageIndicator {
        float startX = (getWidth() - mNumPages * circleGap + mDotRadius) / 2;

        float x = startX + mDotRadius;
        float y = canvas.getHeight() / 2;
        float y = getHeight() / 2;

        if (mEntryAnimationRadiusFactors != null) {
            // During entry animation, only draw the circles