Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (zoomscale)
Browsing all 12 articles
Browse latest View live

How to center scrollView content???

I have an imageView placed in a scrollView. I am trying to have that image be centered on the screen and have the pinch zoom expand from that center point. Right now, the image is at the top of the...

View Article



>> scrollView zoomScale bug!

The code: for(i=0;i<10;i++) { views[i].zoomScale = 0.5; } only first 5 views scaled without problem, next 5 ignored or zoom was wrong. I tried same files with different file names, it cannot be...

View Article

animating scrollView zoomScale

I'm trying to rebuild the default imageViewer on the iphone for my application.. I got almost everything setup! The only thing i need to right now is get the doubleclick zoom in animation.. Currently...

View Article

Double-tap to zoom Scrollview at point of doubletap

Hi, I have a ScrollView that contains an ImageView. I'm attempting to mimick the feature in the Photos app on iOS devices whereby a photo zooms to the point on the photo where the user double-tapped....

View Article

Scrollview zooming in android.

How does one zoom in and out of a scrollView with android? Does android not use the minZoomScale, maxZoomScale and zoomScale parameters? I have set all the zoom properties mentioned above and it works...

View Article


Set zoomScale on subView of ScrollableView

Hello, I'm coding an application for iPad, using titanium mobile 1.7.5. I have a scrollableView filled with 50+ images. var scrollV = Titanium.UI.createScrollableView({ cacheSize:3,...

View Article

Zoom animation in a ScrollView

I'd like to reset a ScrollView when the user is double tapping. Is there a way to zoom smoothly? Just like scrollTo. Here's my code:function resetZoom() { myScrollView.zoomScale = 1;...

View Article

zoomScale on a ScrollView

I'm trying to zoom into a scroll view, in fact I've a label inside a scrollview that I want to make bigger for the user. I use this code on a button zoom.addEventListener("click", function() {...

View Article


obtaining current scaling of a view

I have a ScrollableView containing several ImageViews. I want the user to close the view by a pinch gesture. Since I can't find any appropriate event, I'm looking for a way to obtain the current...

View Article


Explain ScrollView values....

First, let me explain what I am trying to do. I have a US map which I have put in a scrollView. I want the user to be able to zoom in on the map, so I have made the map rather large (approx...

View Article

Setting Zoom Distance Within a View

I'm having trouble figuring out how to set the zoom level of a view. For instance, let's say I have a view that is 3000x3000px, and I want to display the entire view inside of a window without changing...

View Article

Smoothly zoom and scroll scrollview?

I'm using a scroll view to allow the user to pan and zoom some custom map images, but I can't find anyway to implement a nice 'my location' action. I want to zoom and scroll the view simultaneously to...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images