title: ReplacementSpan in multiautocomplete textview overlap
body: <p>Hi i have multiple autocomplete text view with space tokenizer and use ReplacementSpan for background color change in each contacts </p>
  
  <p>my custom replacement code is </p>
  
  <pre><code>public class MyForgroudSpan : ReplacementSpan
  {
      public override void Draw(Canvas canvas, ICharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
      {
  
          var rect = new RectF(x , top, x + paint.MeasureText(text, start, end)+8, bottom);
          paint.Color = Android.Graphics.Color.ParseColor("#E5E5E6");
          canvas.DrawRect(rect, paint);
          paint.Color = Android.Graphics.Color.Black;
          int xPos = Java.Lang.Math.Round(x + (8 / 2));
          int yPos = (int)((canvas.Height / 2) - ((paint.Descent() + paint.Ascent()) / 2));
  
          canvas.DrawText(text, start, end, xPos, yPos, paint);
  
      }
      public override int GetSize(Paint paint, ICharSequence text, int start, int end, Paint.FontMetricsInt fm)
      {
          return Java.Lang.Math.Round(paint.MeasureText(text, start, end))+8;
      }
  }
  </code></pre>
  
  <p>i set spannable string here </p>
  
  <pre><code>SpannableStringBuilder ssb = new SpannableStringBuilder(Text.trim());
  ssb.SetSpan(new MyForgroudSpan(), x, x + c.Length, SpanTypes.ExclusiveExclusive);
  </code></pre>
  
  <p>its ok when multiple auto complete textview have single line but it come to multiple line means it overlap each text </p>
  
  <p>please see the screens</p>
  
  <p>1.single line</p>
  
  <p><img src="https://i.stack.imgur.com/jKyJH.png" alt="single line image"></p>
  
  <p>2.multiline image</p>
  
  <p><img src="https://i.stack.imgur.com/jEf7R.png" alt="Multiline image"></p>
  
  <p>When i use y value like this</p>
  
  <pre><code>canvas.DrawText(text, start, end, xPos, y, paint);
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/lBgIn.png" alt="lyout like this no vertical space between line"></p>