Clickable WebImageView
<p>I need to make a droid-fu WebImageView "clickable".</p>

<p>I tried something like:</p>

<p>xml:</p>

<pre><code>&lt;com.github.droidfu.widgets.WebImageView
android:id="@+id/image1"
android:layout_width="134dp"
android:layout_height="100dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="30dp"
android:clickable="true"
android:onClick="clickImage" /&gt; 
</code></pre>

<p>java:</p>

<pre><code>public void clickImage(View v) {
Log.v("My app", "Image clicked!");
}
</code></pre>

<p>But when I click on the image in the emulator nothing happens.
Thanks for any help!</p>

<p>EDIT: I tried with setOnClickListener as suggested by akkilis, still no log :/</p>

<p>java:</p>

<pre><code>image1 = (WebImageView) findViewById(R.id.image1);
image1.setImageUrl(photos[0]);
image1.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
        Log.v("App log", "Image clicked!");
        }
});
image1.loadImage();
</code></pre>

<p>xml:</p>

<pre><code>&lt;com.github.droidfu.widgets.WebImageView
android:id="@+id/image1"
android:layout_width="134dp"
android:layout_height="100dp"
android:clickable="true" /&gt; 
</code></pre>
