private void replaceQuoteSpans(Spannable spannable){
  QuoteSpan[] quoteSpans=spannable.getSpans(0,spannable.length(),QuoteSpan.class);
  for (  QuoteSpan quoteSpan : quoteSpans) {
    final int start=spannable.getSpanStart(quoteSpan);
    final int end=spannable.getSpanEnd(quoteSpan);
    final int flags=spannable.getSpanFlags(quoteSpan);
    spannable.removeSpan(quoteSpan);
    final int barColor=(SettingValues.currentTheme == 1 || SettingValues.currentTheme == 5) ? ContextCompat.getColor(getContext(),R.color.md_blue_600) : ContextCompat.getColor(getContext(),R.color.md_blue_400);
    final int BAR_WIDTH=4;
    final int GAP=5;
    spannable.setSpan(new CustomQuoteSpan(Color.TRANSPARENT,barColor,BAR_WIDTH,GAP),start,end,flags);
  }
}

private void replaceQuoteSpans ( Spannable spannable ) { QuoteSpan [ ] quoteSpans = spannable . getSpans ( 0 , spannable . length ( ) , QuoteSpan . class ) ; for ( QuoteSpan quoteSpan : quoteSpans ) { final int start = spannable . getSpanStart ( quoteSpan ) ; final int end = spannable . getSpanEnd ( quoteSpan ) ; final int flags = spannable . getSpanFlags ( quoteSpan ) ; spannable . removeSpan ( quoteSpan ) ; final int barColor = ( SettingValues . currentTheme == 1 || SettingValues . currentTheme == 5 ) ? ContextCompat . getColor ( getContext ( ) , R . color . md_blue_600 ) : ContextCompat . getColor ( getContext ( ) , R . color . md_blue_400 ) ; final int BAR_WIDTH = 4 ; final int GAP = 5 ; spannable . setSpan ( new CustomQuoteSpan ( Color . TRANSPARENT , barColor , BAR_WIDTH , GAP ) , start , end , flags ) ; } }
replaces the blue line produced by < blockquote > s with something more visible
