if statement on images
<p>I have an image that is a tick. At the moment i know how to set visibilty using GONE/VISIBLE.</p>

<pre><code>    tick.setVisibility(View.VISIBLE);
</code></pre>

<p>I want to be able to detect whether an image is visible using an if statement.</p>

<pre><code>if (tick is visible){
i++
}
</code></pre>

<p>Thanks</p>
