title: Android - listview row containing textview that has multiple lines
body: <p>As the title says, I have a listview and the row contains among others a textview that has multiple lines.
  Due to the fact that it has multiple lines it will behave like the pic shows.</p>
  
  <p>Basically it should show only the first line, but what happens is the lines beneath are pushing up.
  This only happens in ice cream sandwich and jelly bean. In ginger bread looks ok.</p>
  
  <p><img src="https://i.stack.imgur.com/Zkaok.jpg" alt="pic"></p>
  
  <p>Here's the XML code of the row:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/main_list_row"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="horizontal" &gt;
          &lt;TextView
              android:focusableInTouchMode="false"
              android:clickable="false"
              android:focusable="false"
              android:id="@+id/item_yyyy"
              android:gravity="center"
              android:textIsSelectable="true"
              android:layout_width="0dp"
              android:layout_height="23dp"
              android:layout_weight=".14"
              android:textSize="15sp" /&gt;
          &lt;TextView
              android:focusableInTouchMode="false"
              android:clickable="false"
              android:focusable="false"
              android:id="@+id/item_dd"
              android:gravity="center"
              android:textIsSelectable="true"
              android:layout_width="0dp"
              android:layout_height="23dp"
              android:layout_weight=".11"
              android:textSize="15sp" /&gt;
          &lt;TextView
              android:focusableInTouchMode="false"
              android:clickable="false"
              android:focusable="false"
              android:id="@+id/item_mm"
              android:gravity="center"
              android:textIsSelectable="true"
              android:layout_width="0dp"
              android:layout_height="23dp"
              android:layout_weight=".11"
              android:textSize="15sp" /&gt;
          &lt;TextView
              android:focusableInTouchMode="false"
              android:clickable="false"
              android:focusable="false"
              android:id="@+id/item_state"
              android:gravity="center"
              android:textIsSelectable="true"
              android:layout_width="0dp"
              android:layout_height="23dp"
              android:layout_weight=".13"
              android:textSize="15sp" /&gt;
          &lt;TextView
              android:focusableInTouchMode="false"
              android:clickable="false"
              android:focusable="false"
              android:id="@+id/item_pu"
              android:gravity="center"
              android:textIsSelectable="true"
              android:layout_width="0dp"
              android:layout_height="23dp"
              android:layout_weight=".11"
              android:textSize="15sp" /&gt;
          &lt;TextView
              android:focusableInTouchMode="false"
              android:clickable="false"
              android:focusable="false"
              android:id="@+id/item_detailes"
              android:paddingLeft="5dp"
              android:textIsSelectable="true"
              android:layout_width="0dp"
              android:layout_height="23dp"
              android:layout_weight=".40"
              android:textSize="15sp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I tried messing with android:padding in the row’s xml but with no result.</p>
  
  <p>What can I do?
  Thanks.</p>