Android: how to detect when user clicks on GridView?
<p>I would like to detect when users click the background area of the <code>GridView</code> (not on a <code>GridView</code> cell) - possibly they click the margin between the cells, or area to the right of the last cell (if the last row is shorter than the others).</p>

<p><code>GridView.setOnClickListener</code> throws a Runtime exception which suggests that I probably want to use <code>setOnItemClickListener</code>.  Any suggestions on how to get click events on the grid background?</p>
