title: How can I make my listview rows different heights
body: <p>Right now if there is a list item that is 2 lines in height then all the rows are two lines in height</p>
  
  <p>How can I make the rows' height independent on other rows.</p>
  
  <p><strong>ListView</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical" &gt;
  
      &lt;ListView
          android:id="@+id/user_list"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:divider="@null" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>Row</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal"
      android:paddingBottom="1dp"
      android:paddingTop="1dp"
      android:paddingLeft="8dp"
      android:paddingRight="8dp" &gt;
  
      &lt;TextView
          android:id="@+id/user_name"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="0"
          android:maxLines="2"
          android:ellipsize="middle"
          android:textColor="@android:color/holo_blue_dark"
          android:textStyle="bold" /&gt;
  
      &lt;TextView
          android:id="@+id/points"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="right"
          android:layout_weight="1"
          android:gravity="right"
          android:textStyle="bold" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I am using a custom adapter extending BaseAdapter. the getView there is nothing special, just a viewholder patern I don't change height or anything</p>