Text justifying is not supported by Android

This commit is contained in:
M66B 2021-07-04 08:40:24 +02:00
parent f9eff3b5d6
commit e6deeb4ea6
1 changed files with 3 additions and 0 deletions

View File

@ -2389,6 +2389,9 @@ public class HtmlHelper {
case "end":
alignment = (rtl ? Layout.Alignment.ALIGN_NORMAL : Layout.Alignment.ALIGN_OPPOSITE);
break;
case "justify":
// Not supported by Android
break;
}
if (alignment != null)
setSpan(ssb, new AlignmentSpan.Standard(alignment), start, ssb.length());