title: Text view clipping of in android
body: <p>I am using a custom Toast and sometimes the text view  gets clipped off if the field is too long:</p>
  
  <p>XML:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:background="@drawable/toast" &gt;
  
     &lt;TextView
                  android:id="@+id/textView"
                  android:layout_width="wrap_content"
                  android:layout_gravity="fill_horizontal"
                  android:layout_height="wrap_content"
                  android:layout_alignBaseline="@+id/someotherview"
                  android:layout_alignBottom="@+id/someotherview"
                  android:layout_alignLeft="@+id/someotherview"
                  android:text=""
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textStyle="bold" /&gt;
  
          &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I have tried virtually everything starting from android:gravity="fill" to android:ellipsize="marquee". Nothing seems to work. Does anyone know why?</p>