I just integrated Robert Foss's TouchImageView: it worked perfectly out of the box! Thanks!
I just modified a bit the code so I could be able to instantiate it from my layout.xml.
Just add two constructors
public TouchImageView(Context context, AttributeSet attrs) {
super(context, attrs);
init(context);
}
public TouchImageView(Context context) {
super(context);
init(context);
}
and transform the old constructor into an init method:
private void init(Context context){
//...old code ofconstructor of Robert Moss's code
}