How to add existing XAML file with code behind in Xamarin Studio
I am trying to add existing files to a project. The files are XAML files with a code behind. If I select Add Existing Files it will import them, but they are separated and not nested together like they...
View ArticleSend email from Shared code in Xamarin.Forms
Hi! How can I open the default email app (passing Recipients, Subject and body) from shared code in Xamarin.Forms? Thank you
View ArticleQuerying for device background colour
I have two basic UI designs for my app, one for light backgrounds, and one for dark backgrounds. Basically, The icons change from white to black depending on the background colour. I ahve approximated...
View ArticleChange ActionBar font on customrenderer
I'm trying to change the font of navigationbar on my application using custom renderers. So far I was able to achieve this on IOS using it like `public class NavigationRenderer :...
View Articleuse DisplayAlert in a TapGesture
Hi. I have a ViewCell with a Image. The Image Has a TapGesture. In the TapGesture.Tapped event I would like to do a question with a DisplayAlert, but I don't know how to do it. Something like var ret =...
View ArticleAndroid GoogleMap resets camera to Rome
I have a MapRenderer that I'm editing directly: ` protected override void OnElementChanged(ElementChangedEventArgs e) { base.OnElementChanged(e); var gptMap = (GPTMap)e.NewElement; if (gptMap != null)...
View ArticleTabbed page on winrt and windows phone
I'm trying to run the sample code I found at https://developer.xamarin.com/samples/xamarin-forms/FormsGallery/ It runs fine on Android and iOS, however I have issues with tabbed page running it using...
View ArticleIssue with Master Detail Navigation in Xamarin.Forms after upgrade to the...
Hi I got 100% reproducible crash of the app after upgrade of Xamarin (I have never seen that kind of error before), it happens only on iPad (both real one and simulator) only in Portrait view when I...
View ArticleVideoView Renderer In Android
Hi, Can some one share the complete code for videoview render in android to play video from assets folder and a working media controller to play,pause and seektoo .or a solution file. Thanks in...
View ArticleNot able to find good code snippet for getting current device location using...
Hi I am searching for small code snippet demo for getting current device location . I tried follwoing code . using PerpetualEngine.Location; //add package Button btn = new Button () { Text="SHow Loc",...
View ArticleAndroid Keyboard to display all caps
Hi, Need some help on xamarin forms android. I have an entry and when I focus on entry it will show keyboard will all caps only. (Capslock) Thanks
View ArticleUrgent: Xamarin.Forms.Maps does not build -> COMPILETODALVIK : UNEXPECTED...
Hi Xamarin Masters, I have been banging my head the whole day trying to figure out why can't i build my android project (windows phone project works in this case, android project is the only problem)....
View ArticleHow are people handling in-app purchases in their XF apps?
If you are handling in-app purchases in XF apps, how are you doing it? I'd like to only have to code up one method, that would then work across all XF platforms (Android, iOS, WinPhone, Windows), as...
View ArticleXAML Binding within a resource dictionary (ContentPage.Resources) does not work
I am creating a form using MVVM. In general it works, however I want to bind the Command property of each item in a ListView control to an ICommand on the view model, shown below (the property I need...
View ArticleWhich MVVM Frame is best in Xamarin.Forms?
I don't come here more than six months. So I don't know what happened during this time. I want to know which MVVM Frame is best in Xamarin.Forms now. May Caliburn.Micro isn't come here. I use this in...
View ArticleXamarin.Forms.Maps nuget won't let me add it Same with Xamarin Forms
I'm starting to thing that VS 2015 is not terribly compatible with Xamarin. I've had a number of issues crop up since I installed it. Currently I'm trying to install Xamarin.Forms.Maps into the PCL...
View ArticleXamarin WCF IClientMessageInspector / Custom Headers
Hi, I’m trying to port over some existing WCF extension code into a Xamarin app that is targeting iOs, WinPhone and Android. The code currently lives in a windows desktop app without any problems....
View ArticleVery High Memory Usage with Simple App
As I began UI Testing my Xamarin.Forms application I noticed Peak memory usage of > 220MB. This seems high to me. So I created a blank Xamarin.Forms app from the template. i.e. the app that says...
View ArticleXLabs Binding
Hello, I am using the XLabs library for forms and all look good. But I have a simple question. If I have a simple binding from a string in the view model to a label and I set the view model string var...
View ArticleListview on iOS 9 not filling screen width - issue with custom ViewCell
In iOS8 a simple Listview would have separator lines that filled the width (especially in landscape mode) In iOS9 the Listview separator lines no longer fill the full width on a landscape iPad mini....
View Article