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

Animating HeightRequest extremely choppy

Is there a way to animate the Height of a VisualElement that is buttery smooth? I have the following that I thought would work, but it is extremely jerky: void collapseExpandHeightAnimation(string...

View Article


Autosize font label

I have seen a custom approach to autosize the font of a label, but I am missing such a built-in feature. How do you others handle different font size on different systems / resolutions, please?

View Article


Android Exception in Xamarin Shared App

I am getting the following error and am unable to figure out why... 1-02 00:55:16.255 4218 4218 I MonoDroid: UNHANDLED EXCEPTION: 11-02 00:55:16.258 4218 4218 I MonoDroid:...

View Article

Different Editor control styling on iOS

Hi I have Visual Studio 2015 on Windows 10. I have a Xamarin multiplatform project for Androd, iOS, WinPhone 8.0 Silverlight. On one page I have the following xaml code: <StackLayout...

View Article

How can i draw route on map for xamarin Forms ?

Hi, I have source(current location) and destination locations, Here need to show the Route map between the locations. And How can i implement the current location changed event in Xamarin Forms.....

View Article


How to navigate from a UIViewController to a Forms ContentPage (with...

Hi, I need to navigate from a UIViewControllerPage to a Content page (with custom PageRenderer). I found this - https://github.com/xamarin/xamarin-forms-samples/tree/master/Native2Forms and it is...

View Article

How to write a unittest with Device.OnPlatform()

Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?

View Article

Listview Paging in xamarin forms

Hi, I want to implement paging in xamarin forms app. I want this paging to work across all the platforms. Can anybody show some light on how to implement it. Thanks, Shri

View Article


What will be the best MVVM framework in Xamarin.Form

Hi Folks, What will be the best framework for Xamarin.Form? Can I use MVVMLight in Xamarin.Form? Please advise. Cheers

View Article


Image may be NSFW.
Clik here to view.

[Material] TextInputLayout Renderer (Floating Labels)

Just thought I'd throw this out there. If you want floating labels on your Entry (as found here (by JamesMontemagno)), I've thrown together a custom renderer that extends Entry. note: this requires the...

View Article

Push Notifications and Calendar - Cross Platform

I am trying to ensure that Xamarin.Forms will do all that we need for cross platform App development, before we purchase licenses. Two separate requirements we have, are to be able to : Generate a...

View Article

IOS screens now look streched

Hi all, Not sure what I have done, but my forms app screen now looks stretched and all the fonts are massive on iphones, yesterday it was all fine. I upgraded by windows machine and mac to the latest...

View Article

Bug with Image Control on Android?

I have an Image control that I'm using on Android and iOS. In iOS the image appears with the correct orientation. On Android is displays sideways. The Image's source is bound to a property that returns...

View Article


Help for error : android no resource identifier found for attribute

Hello, I'm developing an application with Xamarin studio. After an upgrade of Xamarin (currently I have the version 5.9.8) I found this error in my code when I Build it: android no resource identifier...

View Article

connectivity plugin

@JamesMontemagno Hi! I've a problem with your connectivity plugin. I write this code: if(CrossConnectivity.Current.IsConnected == false){ await DisplayAlert("Connessione", "Connessione non presente",...

View Article


Image may be NSFW.
Clik here to view.

How to find an element using the REPL if it has no id?

I'm trying to do some UI Tests and I have an element on a view defined using XAML (no code behind is allowed on this project). When I launch the REPL and ask for the tree of elements I get this:...

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


Xamarin.InAppBilling, how to get Activity not Context in Xamarin.Forms

When a user clicks a button, I want the Google popup to show (if on Android platform of course). I can do it, but only in my regular ProjectName.Droid project. I cannot do it with DependencyService...

View Article

Set ContentPage Background Color via Xaml & Converter

Hi, I have a simple contentpage where I would like to change the background color based on a boolean value (false => background color red, true => green). <?xml version="1.0" encoding="utf-8"...

View Article

Xamarin.Auth and iOS9 SSL issue

When running the sample code after changing to my FB creds I get an authentication error. "An SSL error has occurred and a secure connection to the server cannot be made" This issue exists on GitHub...

View Article
Browsing all 89864 articles
Browse latest View live