Android Page.DisplayAlert cancel on touch Outside
Hi, When using Page.DisplayAlert with two options expecting a bool result, on Android when the user taps outside the Dialog box, it closes and the the "await" does not return any value, where it should...
View ArticleHow to set Xamarin.Forms.ImageSource from...
I have a Image view in XF ContentPage. In WP project through Dependency calling a method to select a photo using the PhtoChooserTask. As per samples, in the PhotoChoserTask.Completed event...
View ArticleContextMenu in Xamarin.Forms?
Hi, I want to implement a ContextMenu on an Image control is this possible? Ideally I'd like to write the following in my XAML file. <Image.ContextMenu> </Image.ContextMenu> SteveR
View ArticleWhere do I put code that needs to run when a page has been "popped" to?
I have a page that pushes another page. When the second page pops back to the first, I need to run some code. Is there a function I can override?
View Article[Android] What size should an image have?
Hi everyone, I try to figure out what size my images for eg. hdpi should be. I don't need the Google guidelines to this because I already found them. The problem is when I have an image of 320x410 and...
View ArticleUI automation Id's (StyleId) on cell renderers?
I added StyleId to SwitchCell view and expected I could set the automation Id when Forms.ViewInitialized event fires. It turns out the cell renderers do not trigger this event. Is there something else...
View ArticleAbsolute and Relative Layout Mix.
Hi, I have a ContentView, and I want to add an image to the “Center” of the main Parent page (i.e. the main contentView). Then I want to add a bunch of images at absolute positions around the center...
View ArticleSystem.Runtime.Serialization.IExtensibleDataObject
Hi, after importing a web service I get the following message ( I used the principles described here http://developer.xamarin.com/guides/cross-platform/application_fundamentals/web_services/ ) 'The...
View ArticleWhat happens to view when you navigate back?
Is it disposed automatically by the GC? Or do we have to pop it specifically to take it out of the view stack? Or if I don't pop out of the stack, can I save time if I push to it again without creating...
View ArticleMenu, Navigation concepts with MasterDetailPage and MVVM based approach from...
Hi @all, i am really new since a few weeks on CSharp and Xamarin (using Xamarin.Forms) and comes from the PHP, HTML World so its hard for me to understand some things. So please dont get to hard with...
View ArticleAndroid API levels
This may be answered else where but I am having a hard time finding the answer. What API settings should I have for Compile using Android Versions, Minimum Android to target and Target Android version....
View ArticleLabel, setBinding, stringFormat
Hi. I've this situation labelTempoDiStampa.SetBinding (Label.TextProperty, "TempoDiStampa",stringFormat: "Tempo di stampa: {0}"); Binding works well, but the output is 1 and not Tempo di stampa: 1...
View ArticleTextView Height in Android with SetMaxLines
Hi, On Android i have a class that inherits from Label. On the renderer i am setting SetMaxLines to 6, and on a button click i am changing it to int.Max. However the height of the TextView in android,...
View ArticleNavigationController inside tab page
Back in 'old days' when I created a tabbed app in IOS, I used navigation controller inside tab pages. Now I spend my experimenting day in Xamarin forms, I could create tabbed layout, but I could not...
View ArticleHow to determine Height of StackLayout
Hi, I would like to animate the Height of a RowDefinition however the StackLayout that will be appear in that row is dynamically populated so I don't want to hard code a height that is larger than the...
View ArticleWhat is the correct way to implement MainActivity.OnCreate with XF 1.3
Since upgrading to XF 1.3 I use the following pattern for my MainActivity: [Activity (Label = "AppCreateTwice.Android.Android", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize |...
View ArticleXLabs HybridWebView.LoadContent Not Working
Hi everyone, I wrote these code but load content is not worked. I used xamarin.forms version 1.3.4 and XLabs version 2.0.5520 LoginPage.cs public class LoginPage:ContentPage { HybridWebView...
View Articlexlabs 2.0 - Master-detail passing data to detail
I'm using xlabs, and want to pass data from master to detail. I'm using ViewFactory. Can someone point me to a working example of how to do this? The xlabs documentation descripbes behaviour which...
View ArticleGetting Started with Xamarin Labs?
Hi, This question may seem really obvious - I just want to make sure I'm using the XLabs stuff properly...To incorporate functionality from XLabs (I'm primary interested in the ImageButton and...
View ArticleForms and Android.Lollipop
Quick and painless: Does Xamarin.Forms support Android Lollipop material design features like shadows with the elevation property? If not, what would be the suggested solution? Creating custom...
View Article