unable to set height of listView row height in row xml
<p>here is my getView method of my custom adapter:</p>

<pre><code>public View getView(int position, View convertView, ViewGroup viewGroup) {
            SingleEvent entry = listSingleEvent.get(position);
            if (convertView == null) {
                LayoutInflater inflater = (LayoutInflater) context
                        .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
                convertView = inflater.inflate(R.layout.single_event_row, null);
            }
            TextView titleTextView = (TextView) convertView.findViewById(R.id.titleTextView);
            titleTextView.setText(entry.getTitle());

            TextView byTextView = (TextView) convertView.findViewById(R.id.byTextView);
            byTextView.setText(entry.getBy());

            TextView dateTextView= (TextView) convertView.findViewById(R.id.dateTextView);
            dateTextView.setText(entry.getDate());

            TextView descTextView= (TextView) convertView.findViewById(R.id.descTextView);
            descTextView.setText(entry.getDesc());


            return convertView;
        }
</code></pre>

<p>Here is the row xml:</p>

<pre><code>&lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:weightSum="1"&gt;
    &lt;TextView android:layout_height="wrap_content" android:id="@+id/titleTextView" android:text="TextView" android:layout_width="fill_parent"&gt;&lt;/TextView&gt;
    &lt;TextView android:layout_height="wrap_content" android:id="@+id/byTextView" android:text="TextView" android:layout_width="fill_parent"&gt;&lt;/TextView&gt;
    &lt;TextView android:layout_height="wrap_content" android:id="@+id/dateTextView" android:text="TextView" android:layout_width="fill_parent"&gt;&lt;/TextView&gt;
    &lt;TextView android:id="@+id/descTextView" android:text="TextView" android:layout_width="fill_parent" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>Changing the LinearLayout height to 300dp or something doesnt do anything. The row still just hugs the amount of content.</p>

<p>Is there a way to set the row height in the getView method?</p>
