Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 89864 articles
Browse latest View live

Crash 'NaN is not a valid value for height' on physical device after pull to...

After testing my Xamarin.Forms app in IOS simulator for a while, I started to do so on a physical device. On simulator it works without any problem, but on my IPhone 6 a very strange exception crashes...

View Article


Add TapGestureRecognizer to Custom Frame

Hi there. I have a problem when working with TapGestureRecognizer. I have a custom of Frame. Inside custom Frame i add a StackLayout ( inside this StackLayout have few controls ). My code as bellow :...

View Article


Consume external WCF service into Xamarin forms

Hi, I'm new to xamarin and i need to consume WCF service on xamarin forms and it should be cross platform (android, IOS, Win Phone). how can i consume through the endpoint directly like consuming the...

View Article

Will Xamarin consider supporting ScrollView that scroll in both directions?

ScrollView in Xamarin.Forms does not scroll in both directions. I could see that, iOS has a UIScrollView which can scroll in both horizontal and vertical directions and similarly the WindowsPhone and...

View Article

Image Zooming

I am working on Image Zooming and Pinching from Xamarin Forms to IOS i got the desired result but first time when image load it does not fit inside screen as you can see on attachment, So any guidance...

View Article


Image may be NSFW.
Clik here to view.

Can we use another project to store image resources ?

Hi, is it possible to have the images resources in another project than the XFormsNameApp.Droid ? and then use images from XFormsSharedLibrary.Android/Resource/drawable ? I can't find how to target...

View Article

MR.Gestures handles ALL touch gestures

With MR.Gestures you can handle the Tapping, Tapped, DoupleTapped, LongPressing, LongPressed, Panning, Panned, Swiped, Pinching, Pinched, Rotating and Rotated gestures on all layouts, cells, views and...

View Article

Image may be NSFW.
Clik here to view.

CachedImage FFImageLoading for Xamarin.Forms

https://github.com/molinch/FFImageLoading or https://github.com/daniel-luberda/FFImageLoading/ (new Forms features) DEMO:...

View Article


Binding Command int Causes InvalidCastException

I am attempting to use a Command to invoke an operation but always get an invalid cast exception. I am clearly passing a valid number (55) as shown in my XAML: <Image Source="mybutton.png"...

View Article


Unable to find a version of XF compatible with...

I have 5 packages (Xamarin.Android.Support....) that can be updated, but I have this error (for all packages...) Attempting to resolve dependency 'Xamarin.Android.Support.v7.AppCompat (= 23.1.1.0)'....

View Article

ImageCell Description Multiline

Hi there, How can i set ImageCell's Description Field to Multiline? Secondly, can i see the source code of ImageCell itself to learn how to make custom Cells? Regards

View Article

Twitter Like ViewCell Best Practices

Hi there, I'm making a twitter like application and as twitter ViewCell has lot of stuff including author name, author picture, description, attached image (which appear sometime/sometime not),...

View Article

InitializeComponent

My Mobile PCL project lists "The name 'InitializeComponent' does not exist in the current context" in the Error List but the output windows indicates that build was successful. How is this issue...

View Article


How to get expected length in RelativeLayout

I am on developing something like a tag view in Xamarin.Forms, using the RelativeLayout. I have multiple elements that I want to put side-by-side until an element is not completely fitting to the...

View Article

How do I get navigation bar height for iOS?

I managed to get the Status Bar height using the following code. I placed the code in AppDelegate.cs and it works. It returns 20pt as expected. App.StatusBarHeight =...

View Article


Image may be NSFW.
Clik here to view.

UserInteractionEnabled and IsHitTestVisible

I'm building an application where I need to lay a reticle (cross-hairs) over a map to show the center of the map in the display. The overlay is a PNG file. I have created a custom image renderer to set...

View Article

WebView: Make Call and Send Email

Hello, i need to make call and send email by WebView. I used Platform Renderer to take link and then I send link to my Shared Project with static method in App.cs. public static void...

View Article


Image may be NSFW.
Clik here to view.

Xamarin Forms 2.0 and Visual Studio

I have a project that I am trying to upgrade to the newest version of Xamarin Forms (2.0). After upgrading I loose all Xamarin.Forms functionality in my app. For instance, DependencyService is not...

View Article

Xamarin Forms 2.0 intellisense issue with VS 2015 update 1

I'm having issues with Xamarin Forms 2.0 and VS 2015 Update1 with Resharper: New properties like CachingStrategy are not recognized and also types exposed by a PCL references by Form's project PCL too...

View Article

Xamarin.Forms Image Loading Issue

Hello! I am trying to load an image in Xamarin Forms from the file system. Currently I am encountering the following issues: - Images above 4096 pixels in length or width do not display (too big for...

View Article
Browsing all 89864 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>