We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcc889d commit 791b1c8Copy full SHA for 791b1c8
1 file changed
arcprogressstackview/src/main/java/devlight/io/library/ArcProgressStackView.java
@@ -911,7 +911,7 @@ protected void onDraw(final Canvas canvas) {
911
(float) (Math.PI / 180.0F) * progress * model.mBounds.width() * 0.5F;
912
final String title = (String) TextUtils.ellipsize(
913
model.getTitle(), mTextPaint,
914
- progressLength - titleHorizontalOffset * 2, TextUtils.TruncateAt.END
+ progressLength - titleHorizontalOffset * (mIsRounded ? 0 : 2), TextUtils.TruncateAt.END
915
);
916
canvas.drawTextOnPath(
917
title,
0 commit comments