title: SpannableString not displayed correctly in Landscape mode
body: <p>I have a piece of code which adds some image into an EditText using SpannableString as follow:</p>
  <pre><code>SpannableString ss = new SpannableString(&quot;Some random String in my application.&quot;);
  Drawable d = getResources().getDrawable(R.drawable.emoticon_0001);
  ImageSpan span = new ImageSpan(d, ImageSpan.ALIGN_BOTTOM);
  ss.setSpan(span, startIndex, endIndex, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
  </code></pre>
  <p>There is some index calculation in between that I did not include because they are not important. The code works fine. Here are some image of it:</p>
  <p>Portrait and Landscape in non editing mode:</p>
  <p><img src="https://i.stack.imgur.com/PWNdQ.png" alt="Portrait" />
  <img src="https://i.stack.imgur.com/swory.png" alt="Landscape" /></p>
  <p>However, once I start editing in Landscape mode, the text behind image appears:</p>
  <p><img src="https://i.stack.imgur.com/S9nS7.png" alt="My name is problem, BIG problem" /></p>
  <p>As most people know, the weird String represents the Unicode for the Emoticon in iPhone.
  Has anyone encountered this problem before?</p>
  <p>EDIT: Tested with <code>android:imeOptions=&quot;actionDone|flagNoExtractUi&quot;</code>, does not work, word suggestion will cover up my EditText.</p>