CustomRenderer on iOS - sizing to the bounds of the custom control
I've got a custom ViewRenderer, which I'm using to play a video (so far on iOS). This is working, but the MPMoviePlayerController is being cut off at the bottom of the screen - attached screenshot. I'm...
View ArticleCentered Fixed Marker on Xamarin.Forms.Maps
I'm trying to integrate a map on Xamarin.Forms that when opened, a fixed marker is placed on the center of the map. By fixed, I mean it does not move when the map is dragged and the marker itself is...
View Articlelistview SetSelection not works in xamarin forms android
if (gurbaniPothiViewModel.IsFromSearch) { var res = gurbaniPothiViewModel.PothiDisplayList.Where (x => x.PothiText.Equals (gurbaniPothiViewModel.SearchText)).FirstOrDefault (); if (res != null) {...
View ArticleResXFileCodeGenerator can only be used with .NET projects
I started a Xamarin.Forms project a few months ago, and then the Unified changes came. So, it appeared to be easier to simply recreate the project from scratch using the new app templates than porting...
View ArticleHow to open camera embedded in a url inside a webview..
How to open camera embedded in a url inside a webview?
View ArticleHow to thread itemsSource loading of a listView
Hello, I have an app (Xamarin.Forms portable) with MVVMLight with a navigation service. The BindingContext have a list of object which are some observableCollection. I launch the app, go to the...
View ArticleHow to disable zoom in WebView
In my app (Android, iOS and Windows Phone) I have a Page with a WebView that loads content from a URL (an html page). The WebView takes all the space in my page and it's all working perfectly except...
View ArticleAfter Updating packages Xamarin.forms app getting crash on Android M.
Hi All, In my Xamarin.Forms App I have updated all packages of PCL and android specific but it's giving following exception in LoadApplication(new App) method. Specifically occurring on android M only....
View ArticleIs it possible to inflate a View from XAML?
I would like to create the XAML file for a View and use it in different pages. In native Android I'd do it this way: LayoutInflater inflater =...
View ArticleAccordion ListView
Hi all, I need an accordion list view for a project I am working on, I've heard that you can achieve this by using observable collection as the item source, but yet I'm not sure how that could be...
View ArticleListView inside StackLayout: a height problem
In a ContentPage I have a ListView inside a StackLayout inside a ScrollView. The ListView is populated (ItemSource is set) in the ContentPage when OnAppearing gets called and I can see that the list is...
View ArticleUsing Google Maps for iOS on Xamarin Forms
Okay, I have this app that I need to render Google Maps on both iOS and Android. Xamarin.Forms.Maps renders its native maps based on the OS used by the device e.g. Google Maps for Android and MapKit...
View ArticleHow do I trigger an update of CanExecute in a custom implementation of ICommand
I've created an AsyncCommand that returns false for CanExecute while the command is running, which is great except I can't seem to update the CanExecute so it never gets disabled. In this article it...
View ArticleXamarin Registration Form Material design placeholders
Hi is there a way (plugin or otherwise) how one can create a registration form where the placeholders would float up on focus and float back down on blur again? Thanks Shaun
View ArticleNot able to add Newsoft Json package in the Xamarin Studio
Hi, I am working on Json file.I need to convert the json file in my code like below var example=JsonConvert.DeserializeObject<List>(json); to convert I need to add the package called newtonsoft...
View ArticleAndroid custom TabbedPage renderer with Material Design compat
Hello, everyone! I'm trying fix tabs broke texts but, since I'm using Material Design AppCompat, I'm having problems to create a custom TabbedPage renderer. Anyway, I'm just search for a way to fix...
View ArticleTabbedPage in MasterDetailPage not producing scrollable tabs
Hey everyone, I'm having an issue where I have a TabbedPage in a MasterDetailPage and the tabs are not scrollable. Instead they're getting squished to fit the screen. Any ideas what's going on? Page...
View ArticleListView ItemSelected Bug
Hi there! I checked a bug when I click in a LisView item, then If I click twice or more, it opens as many pages I clicked. Anyone has the idea how to fix it? ListIdeas.ItemSelected += (sender, e) =>...
View ArticleHow to use Android Material theme with no action bar
I am trying to use the Android Material theme without an title/action bar using the values-v21 folder. I can't seem to get the title/action bar to be hidden via the theme though. Anyone get this to...
View ArticleMisbehavior MasterDetailPage on Android Tablet
Hello, I used with success the MasterDetailPage in my app for smartphone iOS and Android. The app is always in portrait mode and everything works fine: it start with the left menu closed and I can...
View Article