gesture-imageview
gesture-imageview copied to clipboard
Implements pinch-zoom, rotate, pan as an ImageView for Android 2.1+
@jasonpolites ``` b1 = (Button) findViewById(R.id.b1); b2 = (Button) findViewById(R.id.b2); giv = (GestureImageView) findViewById(R.id.image); b1.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { giv.setImageResource(R.drawable.portrait); } }); b2.setOnClickListener(new OnClickListener() { @Override...
onLongClick not working in ViewPager. onClick() is working.
The GestureImageViewTouchListener keeps tabs on how scaled the image was on the last scale event. This allows it to correctly adjust to the new value when a scaling gesture is...
Hello! Everything is working charmly but i intend to extend the functionality. I want to implement a function where the image is draggable and zoomable in a viewpager, viewpager is...
Hi sir! Your library so heplful! i like it :+1: Now, i need display image download from url! Can you hepl me display and zoom this image with GestureImageView? Thanks...
can not use many times ,this is a bug。 to used this view for next imag ,must set var first 。 private void resetFornextImg() { layout = false;//lxf add startingScale...
My project has a web gallery where you can swipe through photos. It would be nice to have zooming and panning. I tried setting the ViewPager's ontouchlistener, to the GestureImageView's...
I have a default GestureImageView . when I load pic from cloud.I want pic to replace the default, it changed,but I still can see the old one.When I click, It...
Added setTo(...) to set scale and position and sync touch listener for #50 And... - .gitignore exclusion of local environment files - @keppelcao's fix for changing image #21 - Example...