RTL list fixes

This commit is contained in:
M66B
2021-05-06 10:35:56 +02:00
parent 9278fa2eef
commit 9c4d7b0312
2 changed files with 7 additions and 4 deletions

View File

@@ -63,6 +63,6 @@ public class BulletSpanEx extends BulletSpan {
@Override
public void drawLeadingMargin(@NonNull Canvas canvas, @NonNull Paint paint, int x, int dir, int top, int baseline, int bottom, @NonNull CharSequence text, int start, int end, boolean first, @Nullable Layout layout) {
super.drawLeadingMargin(canvas, paint, x + indentWidth * level, dir, top, baseline, bottom, text, start, end, first, layout);
super.drawLeadingMargin(canvas, paint, x + indentWidth * level * dir, dir, top, baseline, bottom, text, start, end, first, layout);
}
}