title: Item not clicked on a GridView
body: <p>I have a GridView whose items are ToggleButtons, and I defined an event listener for clicks on items, but nothing happens when I click on them. Here's the listener:</p>
  
  <pre><code>    paintActionsGrid.setOnItemClickListener(new AdapterView.OnItemClickListener() 
      {
          public void onItemClick(AdapterView&lt;?&gt; parent,View view,int position,
                  long id)
          { 
              ((ToggleButton)view).setChecked(true);
              paintBoardView.setPaintAction(paintActions[position]); 
          }
      });
  </code></pre>
  
  <p>I put a break point in the listener, but it's not reached, which means the listener is not called at all!
  Can somebody please tell me what's wrong? Is it related to the fact that the items are ToggleButtons? I can attach the adapter code if needed.
  Thanks.</p>