title: Android Textviev singleLine="false" showing 2 lines
body: <p>Whenever I am setting "singleLine" of a "TextView" to "false" it is showing in two lines and when I am setting to "true" it is showing in a single line. Is this default android behaviour???</p>
  
  <p>PS: I want to show whole content of the TextView on clicking the TextView that's why I am setting "singleLine" to "false" on Clicking the TextView.</p>
  
  <p>Is there any other solution??</p>
  
  <p>the code for the xml is big: I cant show image of the layout due to reputation :(</p>
  
  <p>How ever the code is :</p>
  
  <p>--- > On Clicking "layout_header_expand", I want all the TextViews to expand all their contents. So, in java file im setting singleLine to false for these all textViews</p>
  
  <pre><code>            &lt;RelativeLayout
                  android:id="@+id/layout_header_expand"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="2dp"
                  android:padding="6dip" &gt;
  
                  &lt;!-- From --&gt;
  
                  &lt;TextView
                      android:id="@+id/from"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignParentLeft="true"
                      android:layout_alignParentTop="true"
                      android:layout_toLeftOf="@+id/flagged"
                      android:ellipsize="end"
                      android:paddingRight="6dip"
                      android:paddingTop="0dp"
                      android:singleLine="true"
                      android:text="From: "
                      android:textAppearance="?android:attr/textAppearanceMedium"
                      android:textColor="?android:attr/textColorPrimary"
                      android:textStyle="bold" /&gt;
  
                  &lt;!-- To --&gt;
  
                  &lt;TextView
                      android:id="@+id/to_label"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignBaseline="@+id/to"
                      android:layout_alignLeft="@+id/from"
                      android:layout_below="@+id/from"
                      android:paddingRight="4dp"
                      android:paddingTop="2dp"
                      android:text="To: "
                      android:textAppearance="@android:style/TextAppearance.Medium"
                      android:textColor="?android:attr/textColorPrimary"
                      android:textStyle="bold" /&gt;
  
                  &lt;TextView
                      android:id="@+id/to"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_below="@+id/from"
                      android:layout_toLeftOf="@+id/flagged"
                      android:layout_toRightOf="@+id/to_label"
                      android:ellipsize="end"
                      android:singleLine="true"
                      android:paddingTop="2dp"
                      android:textAppearance="@android:style/TextAppearance.Medium"
                      android:textColor="?android:attr/textColorSecondary" /&gt;
  
                  &lt;!-- CC --&gt;
  
                  &lt;TextView
                      android:id="@+id/cc_label"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignTop="@+id/cc"
                      android:layout_alignLeft="@+id/to_label"
                      android:layout_below="@+id/to_label"
                      android:paddingRight="4dp"
                      android:paddingTop="2dp"
                      android:text="Cc: "
                      android:visibility="visible"
                      android:textAppearance="@android:style/TextAppearance.Medium"
                      android:textColor="?android:attr/textColorPrimary"
                      android:textStyle="bold" /&gt;
  
                  &lt;TextView
                      android:id="@+id/cc"
                      android:layout_width="wrap_content"
                      android:layout_below="@+id/to"
                      android:layout_toLeftOf="@+id/flagged"
                      android:layout_toRightOf="@+id/cc_label"
                      android:layout_height="wrap_content"
                      android:ellipsize="end"
                      android:paddingTop="2dp"
                      android:visibility="visible"
                      android:singleLine="true"
                      android:textAppearance="@android:style/TextAppearance.Medium"
                      android:textColor="?android:attr/textColorSecondary" /&gt;
  
                  &lt;!-- Date --&gt;
  
                  &lt;TextView
                      android:id="@+id/date"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignParentRight="true"
                      android:layout_below="@id/cc"
                      android:ellipsize="none"
                      android:paddingTop="8dp"
                      android:singleLine="true"
                      android:textAppearance="?android:attr/textAppearanceSmall"
                      android:textColor="?android:attr/textColorSecondary" /&gt;
  
                  &lt;CheckBox
                      android:id="@+id/flagged"
                      style="?android:attr/starStyle"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignParentRight="true"
                      android:layout_alignTop="@id/from"
                      android:checked="false"
                      android:focusable="false" /&gt;
              &lt;/RelativeLayout&gt;
  </code></pre>