mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Paragraph alignment
This commit is contained in:
@@ -232,7 +232,8 @@ public class StyleHelper {
|
||||
}
|
||||
|
||||
if (alignment != null)
|
||||
t.setSpan(new AlignmentSpan.Standard(alignment), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
t.setSpan(new AlignmentSpan.Standard(alignment),
|
||||
start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_PARAGRAPH);
|
||||
|
||||
etBody.setText(t);
|
||||
etBody.setSelection(start, end);
|
||||
|
||||
Reference in New Issue
Block a user