title: onItemClick in ListView doesn't work
body: <p>I am unable to get Toast message as <strong>onItemClick</strong> is never called. Log-cat doesn't show any error. Please check out my code and correct me, if I am going wrong anywhere. I have used array adapter.</p>
  
  <pre><code>public class Open extends ListActivity {
      DbAdapter mDb = new DbAdapter(this);
  
      @Override
      protected void onDestroy() {
          // TODO Auto-generated method stub
          mDb.close();
          super.onDestroy();
      }
  
      /** Called when the activity is first created. */
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.open);
  
          ListView listContent = (ListView) findViewById(android.R.id.list);
  
          mDb.open();
          Cursor cursor =mDb.fetchAllPrograms();
          startManagingCursor(cursor);
  
          String[] from = new String[] { DbAdapter.KEY_TITLE };
          int[] to = new int[] { R.id.textViewName };
  
          SimpleCursorAdapter cursorAdapter = new SimpleCursorAdapter(this, 
      R.layout.row, cursor, from, to);
          listContent.setAdapter(cursorAdapter);
  
          //Onclick ListView setlistener
          listContent.setTextFilterEnabled(true);
          listContent=getListView();
  
  
              listContent.setOnItemClickListener(new OnItemClickListener() {
                  public void onItemClick(AdapterView&lt;?&gt; parent, View 
  
      view,int position, long id) {
                      Toast.makeText(getApplicationContext(),
     "Working!", 
                      Toast.LENGTH_LONG).show();    
                  }
              });
  
      }
  }
  </code></pre>
  
  <p>Row.xml is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TextView
      android:id="@+id/textViewName"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_marginTop="10dp"
       android:layout_marginBottom="10dp"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textSize="25sp"
      android:textColor="#0000FF"
      android:textIsSelectable="true"
       /&gt;
  </code></pre>