title: Small EditText have a setError with a lot of lines
body: <p>I have a small EditText and I want to display errors (using editText.setError()) in it. In Android API 10 the message is displayed in a lot of lines and it's unreadable. In Android 15 works relatively fine. I attach screenshots to illustrate the problem at the end of the question.</p>
  <p>How I can display the error messages in a appropriate mode?</p>
  <p>I wrote a little example to reproduce the problem:</p>
  <p>The Activity:</p>
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      
      ((EditText) findViewById(R.id.b)).setError(&quot;A error description and bla bla bla bla bla.&quot;);
  }
  </code></pre>
  <p>The layout:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;fill_parent&quot;
      android:layout_height=&quot;fill_parent&quot;
      android:orientation=&quot;horizontal&quot; &gt;
  
      &lt;EditText
          android:id=&quot;@+id/a&quot;
          android:layout_width=&quot;0dip&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_weight=&quot;1&quot; /&gt;
  
  
      &lt;EditText
          android:id=&quot;@+id/b&quot;
          android:layout_width=&quot;0dip&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_weight=&quot;1&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/c&quot;
          android:layout_width=&quot;0dip&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_weight=&quot;1&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/d&quot;
          android:layout_width=&quot;0dip&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_weight=&quot;1&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/e&quot;
          android:layout_width=&quot;0dip&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_weight=&quot;1&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/f&quot;
          android:layout_width=&quot;0dip&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_weight=&quot;1&quot; /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  <p>Device with Android API 10:</p>
  <p><img src="https://i.stack.imgur.com/Wax4G.png" alt="Device with Android API 10" /></p>
  <p>Tablet with Android API 15:</p>
  <p><img src="https://i.stack.imgur.com/pwkQg.png" alt="Tablet with Android API 15" /></p>
  <p><a href="https://stackoverflow.com/questions/6924576/edittext-seterror-in-single-line">Related question.</a> But the answer doesn't work for me.</p>
  <hr />
  <h2>UPDATE</h2>
  <p>I executed the same code on two equals simulators except the API level. The results can be seen on the screens. The API 15 still does not fix the error completely. The text is legible but the popup is not in the correct position.</p>
  <p><img src="https://i.stack.imgur.com/ROPqN.png" alt="API 10" />
  <img src="https://i.stack.imgur.com/isx0x.png" alt="API 15" /></p>