Merge \"Fixing page indicator being drawn at wrong position\" into ub-launcher3-calgary
am: 879f3bcef5
Change-Id: Ifca0fea49a29c31b3202e5c0cb076772594a4e79
This commit is contained in:
@@ -167,7 +167,7 @@ public class PageIndicatorLineCaret extends PageIndicator {
|
||||
int lineWidth = (int) (availableWidth / mNumPagesFloat);
|
||||
int lineLeft = (int) (progress * (availableWidth - lineWidth));
|
||||
int lineRight = lineLeft + lineWidth;
|
||||
canvas.drawRect(lineLeft, canvas.getHeight() + mLineHeight, lineRight, canvas.getHeight(),
|
||||
canvas.drawRect(lineLeft, canvas.getHeight() - mLineHeight, lineRight, canvas.getHeight(),
|
||||
mLinePaint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user