This is my problem...:
In my activity I have an ImageView and a Button. I want the Button to perform an action ONLY when the ImageVie
ImageView
Button
ImageVie
Try if (acertaindrawable.equals(variabledrawable)) ...
if (acertaindrawable.equals(variabledrawable)) ...