package com.growthbeat.message.view;

import android.content.Context;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;

public class UrlImageButton extends UrlImageView {

	public UrlImageButton(Context context, String url, Runnable run) {
		super(context, url, run);
		setOnTouchListener(new View.OnTouchListener() {
			@Override
			public boolean onTouch(View view, MotionEvent event) {
				ImageView imageView = (ImageView) view;
				switch (event.getAction()) {
				case MotionEvent.ACTION_DOWN:
					imageView.setColorFilter(Color.argb(128, 0, 0, 0), PorterDuff.Mode.SRC_ATOP);
					imageView.invalidate();
					break;
				case MotionEvent.ACTION_UP:
				case MotionEvent.ACTION_CANCEL:
					imageView.getDrawable().clearColorFilter();
					imageView.invalidate();
					break;
				}
				return false;
			}
		});
	}

}

@@ -336,17 +336,45 @@
 unnable 
-r
+successRun, Runnable failureR
 un) %7B%0A%09%09
@@ -393,17 +393,36 @@
 t, url, 
-r
+successRun, failureR
 un);%0A%09%09s

Add runnable