Questions tagged [touchimageview]

Extends Android ImageView to include pinch zooming, panning, fling and double tap zoom.

TouchImageView.java by Michael Ortiz

Adds panning, pinch zoom, double tap zoom, and fling to Android ImageView.

74 questions
0
votes
1 answer

TouchImageView not working smoothly

In the following link (Open ImageView with Zoom and Scroll), in the comments, the TouchImageView from MikeOrtiz is mentioned as a solution for pinchzoom ImageView (and I have seen it mentioned multiple times on different topics);…
Kenny
  • 571
  • 5
  • 18
0
votes
1 answer

Overlay Image and Background Image Zooming with TouchImageView

How to make overlay image and background image zoom in and out at the same time using TouchImageView? thanks
0
votes
1 answer

Height and width of image after zoom

I have to zoom an image and then get height and width of the zoomed image.I can zoom the image using touchimageview library but I can’t get the height and width of zoomed image.
android
  • 441
  • 1
  • 5
  • 17
0
votes
1 answer

OnClickListener in PagerAdapter

I have an Activity that uses a ViewPager, within this ViewPager is a TouchImageView (an ImageView that detects gestures and zooms/moves accordingly). Now I want to change some things in the UI whenever the image is clicked, but because the…
Dennis van Opstal
  • 1,294
  • 1
  • 22
  • 44
0
votes
0 answers

TouchImageView: Scale with custome Polygon

How to draw canvas by coordinate and let them scale with picture together? 1. In image side the colored polygon should scale with background image, but it is not. (It shows on the correct position) 2. polygonList contain coordinate, should change…
0
votes
0 answers

Moving a part of an image in android

I have two images in a relative layout, image 2 is placed on image 1, now I want to move just a specific part of image 2 without moving any other part of image 2. How can I do this? Below is my xml code, I have added image2 dynamically in this…
0
votes
1 answer

Android Text On Image Bitmap with rotate,scale and move feature

I am developing custom camera app, I am looking for some extra feature after capturing image from camera user can add text on image and can rotate,scale and move over screen. Is there some open source library available for this. I am trying my own…
Ravi Bhandari
  • 4,682
  • 8
  • 40
  • 68
0
votes
1 answer

How to zoom/pan image while inside a scrollview

I am using a ViewPager with a TouchImageView inside it and it works great, (I have used this solution in many of my Android apps). However I have an app for which there are many other controls on the same screen so they are all inside a scrollview…
Wayne Fulcher
  • 741
  • 1
  • 11
  • 21
0
votes
2 answers

Android, canScrollVertically never called for ImageView

I am using the TouchImageView by Mike Ortiz. Within it, canScrollHorizontally is overwritten: @Override public boolean canScrollHorizontally(int direction) { matrix.getValues(m); float x = m[Matrix.MTRANS_X]; float y =…
0
votes
1 answer

Android - TouchImageView Full view issue

In my application am able to load all the images from server(using volley library) and showing in grid view. See the Grid view: but when I click on particular item(Image) from gallery it's not able to show in full view but the things are working…
Shailendra Madda
  • 20,649
  • 15
  • 100
  • 138
0
votes
0 answers

Android disable viewpager swipe when touchimageview is zoomed

My app is doing a gallery which uses TouchImageView and Viewpager. The problem is when the imageview is zoomed, it is hard to scroll the imageview to see the rest of the image, because the app seems doing swiping first How can it do. Is it possible…
Jerryc
  • 302
  • 2
  • 5
  • 20
0
votes
1 answer

Automatically scrolling to top left corner in Android TouchImageView

I'm using a TouchImageView in my app in which I have an image which is larger than the screensize. When I start the activity that contains my TouchImageView it currently automatically shows the center of my image in the middle of the screen. I have…
Frank D.
  • 1,306
  • 1
  • 13
  • 23
0
votes
1 answer

PagerAdapter with TouchImageView or GestureImageView not loading images

When i am using simple imageview or AspectRatioImageView I am able to load images fetched from server. But if I am using TouchImageView or GestureImageView it is not able to load images. I see a blank screen. Apart from using UIL,I have tried some…
0
votes
1 answer

How to detect single tap on TouchImageView in ViewPager?

I made an app in which I am displaying images inside a viewpager. I am using the Universal image loader. All images are loading fine, and I can zoom in and out because I have added TouchImagevIew as an imageview. Now when I single tap on the screen…
shivani gupta
  • 235
  • 4
  • 20
0
votes
0 answers

Android: blank image when using TouchImageView with Android-Query

I'm loading several images inside a Fragment using Android-Query library. When I press on an image, a new Activity starts, showing that image in fullscreen mode -> in my case all I see is a blank image... public class FullScreenImage extends…
Alec
  • 347
  • 2
  • 9
  • 29