title: Android ListView wont scroll
body: <p>I have tried so many things to get my android ListView to scroll. However I have been unsuccessful in my attempt. Here is my xml code below.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" &gt;
  
  
      &lt;ListView
          android:id="@+id/listview"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:fastScrollEnabled="true"
          android:listSelector="@color/theme_colour"
          android:scrollbarStyle="outsideInset"&gt;
          &lt;/ListView&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><br>
  I have also added my java code below. I am not sure how to fix this problem and your help would be greatly appreciated.
  <br></p>
  
  <pre><code>package com.outdeh;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.widget.ListView;
  
  import com.parse.ParseObject;
  import com.parse.ParseQuery;
  import com.parse.ParseQueryAdapter;
  
  /**
   * Created by horacedaley on 2/15/14.
   */
  public class EventsActivity extends Activity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.listview_main);
          populateListView();
  
  
      }
  
      public void populateListView(){
          ParseQueryAdapter&lt;ParseObject&gt; adapter =
                  new ParseQueryAdapter&lt;ParseObject&gt;(this, new ParseQueryAdapter.QueryFactory&lt;ParseObject&gt;() {
                      public ParseQuery&lt;ParseObject&gt; create() {
                          // Here we can configure a ParseQuery to our heart's desire.
                          ParseQuery query = new ParseQuery("Events");
                          query.orderByAscending("eDate");
                          return query;
                      }
                  });
  
  
          adapter.setTextKey("eTitle");
          ListView listView = (ListView) findViewById(R.id.listview);
          listView.setFastScrollEnabled(true);
          listView.setAdapter(adapter);
  
      }
  
  
  }
  </code></pre>