Android - if statement not executing
<p>I'm following the Mr. Nom tutorial from Beginning Android Game e-book,
and in the part which recognizes where a touch was made, the if statement doesn't execute even though the condition in true.</p>

<p>I ran the debugger and checked the values. the if is something like</p>

<pre><code>if(event.x &gt;0 &amp;&amp; event.x &lt;64 &amp;&amp; event.y&gt;416 &amp;&amp; event.y&lt;480)
</code></pre>

<p>but even with values like
event.x = 15
event.y = 450
(got from the debugger)
it won't get within the curly brackets of the if statement.
the requested image is in the bottom left corner of the portrait screen.</p>

<p>any thoughts?</p>

<p>Thanks!</p>
