Edittext.setError() in single line
<p>I have a question about   EditText.setError()
I have Edit Text As</p>

<pre><code>      &lt;TextView android:id="@+id/sc_num"
                style="@style/textLabel"
                android:text="@string/scnum"
                android:layout_below="@+id/creditCard"/&gt;
   &lt;EditText android:id="@+id/credit"               
android:background="@android:drawable/editbox_background"
android:layout_below="@+id/sc_num"
android:layout_alignRight="@+id/state"/&gt;
</code></pre>

<p>I want to dispaly an error message "please enter a valid secutriy code"
using setSetError()  method.</p>

<p>When i run the app i am getting error in multiple lines as shown in the picture<img src="http://i.stack.imgur.com/Gbtmc.png" alt="security code Edit text">
what  would I do to display this error in single line?</p>
