Im new in android and I want zoom in/ Zoom Out image.
please help me to do it!
Perhap you may consider using the WebView control, as it have the multi-touch zoom in/out implemented. All you need is load your image into the WebView control.
but scroll view sample for ios not android.
please help me.
Implemented. Please refer to the following link.http://pastebin.com/QsG9AYPb
This can be done using the WebView, see this code:
WebView view = FindViewById<WebView>(Resource.Id.myWebView);
if (view != null)
String imageUrl = "file:///android_asset/SomeSampleImage.png";
view.Settings.DefaultZoom = WebSettings.ZoomDensity.Far;
view.Settings.BuiltInZoomControls = true;
'SomeSampleImage.png' is the image you want to show and it should be contained within your Assets folder with a build action of AndroidAsset.
How to enable zoom on a scrollview? i didn't find the Minimum and maximum scale properties in xamarin.forms, where as it is available in xamarin. help me anyone if you are aware of this.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies