@@ -449,6 +449,8 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
449449 quoteStyle = BlockFormatter .QuoteStyle (
450450 styles.getColor(R .styleable.AztecText_quoteBackground , 0 ),
451451 styles.getColor(R .styleable.AztecText_quoteColor , 0 ),
452+ styles.getColor(R .styleable.AztecText_quoteTextColor ,
453+ ContextCompat .getColor(context, R .color.text)),
452454 styles.getFraction(R .styleable.AztecText_quoteBackgroundAlpha , 1 , 1 , 0f ),
453455 styles.getDimensionPixelSize(R .styleable.AztecText_quoteMargin , 0 ),
454456 styles.getDimensionPixelSize(R .styleable.AztecText_quotePadding , 0 ),
@@ -484,7 +486,13 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
484486 styles.getColor(R .styleable.AztecText_preformatBackground , 0 ),
485487 getPreformatBackgroundAlpha(styles),
486488 styles.getColor(R .styleable.AztecText_preformatColor , 0 ),
487- verticalParagraphPadding),
489+ verticalParagraphPadding,
490+ styles.getDimensionPixelSize(R .styleable.AztecText_preformatLeadingMargin ,
491+ resources.getDimensionPixelSize(R .dimen.preformat_leading_margin)),
492+ styles.getColor(R .styleable.AztecText_preformatBorderColor , 0 ),
493+ styles.getDimensionPixelSize(R .styleable.AztecText_preformatBorderRadius , 0 ),
494+ styles.getDimensionPixelSize(R .styleable.AztecText_preformatBorderThickness , 0 ),
495+ ),
488496 alignmentRendering = alignmentRendering,
489497 exclusiveBlockStyles = BlockFormatter .ExclusiveBlockStyles (styles.getBoolean(R .styleable.AztecText_exclusiveBlocks , false ), verticalParagraphPadding),
490498 paragraphStyle = BlockFormatter .ParagraphStyle (verticalParagraphMargin)
0 commit comments