title: Set listview items with a specific height
body: <p>I want to adjust the items in a listview with a specific height. </p>
  
  <p><img src="https://i.stack.imgur.com/IYhF3.png" alt="enter image description here"></p>
  
  <p>The adapter I do: <em>?android:attr/listPreferredItemHeight</em>, which works well when the height of the listview is <em>fill_parent</em>. </p>
  
  <pre><code>&lt;TextView
      android:id="@+id/FirstText"
      android:layout_width="wrap_content" 
      android:layout_height="?android:attr/listPreferredItemHeight"
      android:layout_weight="1"
      android:gravity="center_vertical"
      android:paddingBottom="10dip"
      android:paddingLeft="6dip"
      android:paddingTop="12dip"
      android:textAppearance="?android:attr/textAppearanceLarge"
      android:textSize="18dip"
      android:textColor="#000000" /&gt;
  
  &lt;ListView
      android:id="@+id/android:list"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="#ffffff"
      android:cacheColorHint="#ffffff"
      android:divider="#4436f2"
      android:dividerHeight="1px"
      android:scrollbars="none"
      android:fadingEdge="none"/&gt;
  </code></pre>
  
  <p>But when the height of the listview is a specific size does not fit the items.</p>
  
  <p><img src="https://i.stack.imgur.com/gc5jp.png" alt="enter image description here"></p>
  
  <pre><code>&lt;ListView
      android:id="@+id/android:list"
      android:layout_width="fill_parent"
      android:layout_height="200sp"
      android:background="#ffffff"
      android:cacheColorHint="#ffffff"
      android:divider="#4436f2"
      android:dividerHeight="1px"
      android:scrollbars="none"
      android:fadingEdge="none"/&gt;
  </code></pre>
  
  <p>How I can adjust the height of items with a specific listview?</p>