title: How can I span multiple strings in a TextView?
body: <p>I tried this code to create a TextView with the string "abcde"  where 'b' and 'd' have spanning:</p>
  
  <pre><code>private void testStringSpanning(TextView tv)
  {
      // blue
      ForegroundColorSpan fcs = new ForegroundColorSpan( Color.BLUE );
  
      SpannableString  a = new SpannableString( "a" );
      SpannableString  b = new SpannableString( "b" );    
      b.setSpan( fcs, 0, 1, Spannable.SPAN_INCLUSIVE_INCLUSIVE );
      SpannableString  c = new SpannableString( "c" );
      SpannableString  d = new SpannableString( "d" );    
      d.setSpan( fcs, 0, 1, Spannable.SPAN_INCLUSIVE_INCLUSIVE );
      SpannableString  e = new SpannableString( "e" );
  
      SpannableStringBuilder builder = new SpannableStringBuilder();
      builder.append(a);
      builder.append(b);
      builder.append(c);
      builder.append(d);
      builder.append(e);
  
      tv.setText( builder, BufferType.SPANNABLE);
  }
  </code></pre>
  
  <p>The result is not as I want. a, c and e should be plain white and b d should be blue.</p>
  
  <p>What am I doing wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/5vUsn.png" alt="result string with &#39;a&#39; in plain white and &#39;bdce&#39; in blue"></p>