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

am: c66f5ebd63

Change-Id: I248336bdb569519ecf8b17657344bc154373f197
This commit is contained in:
Tobias Dubois
2018-08-23 12:08:07 -07:00
committed by android-build-merger
@@ -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