endless building for Xamarin Forms --> android project
Just added a Blank Xamarin.Forms App Set the .Droid project as startup project Build the .Droid project ---> The building does not finish, seems keep building for ever ---------...
View ArticleHow to change renderers that change with time
Hi Xamarin Experts, Normally, when one creates a custom renderer, BindableProperty is used, and in the custom Renderer, OnElementPropertyChanged is called which alters something in the view. If I want...
View ArticleCouldn't copy SQLite DB to iOS folder
Hello everyone. I'm trying to execute data from some sqlite DB, but i can't since it doesn't copying to app's local folder. Looks like program creates new one, empty, so i get an error that "no such...
View ArticleControl only on one platform - XAML and OnPlatform
I want to add label (or other element) only on one platform, how achieve that using XAML? I tried: <OnPlatform x:TypeArguments="View"> <OnPlatform.WinPhone> <Label Text="Only on...
View ArticleListView inside ScrollView difference between Android and iOS
This is the code: Content = new ScrollView () { VerticalOptions = LayoutOptions.Fill, Content = new StackLayout () { VerticalOptions = LayoutOptions.Fill, Children = { this.ListOfComments, CommentArea...
View ArticleHow to Change the background color in Windows Phone ?
How to Change the background color windows phone ? I tried so many properties but no one is working. I used the properties like that ((App.Current.Resources["PhoneBackgroundBrush"] as...
View ArticleHow to Change the background color in windows phone ?
How to Change the background color in windows phone ? I tried so many properties but no one is working. I used the properties like that ((App.Current.Resources["PhoneBackgroundBrush"] as...
View ArticleGraphic problem, layout with searchbar and listview last cell out of screen
Hi, I create a Page with a SearchBar and a ListView, I also implemented this so I'll load new element when reaching the end of the screen. Now it happens that the last element is out of the screen,...
View ArticleAndroid Video Player using Xamarin.Forms
I am trying to get a video player working in my Xamarin.Forms app on Android. I have implemented the iOS version using a ScrollViewRenderer where I add the MPMoviePlayerController (code at bottom, file...
View ArticleBinding to Picker Items
Hi, I believe it is not possible to Bind in XAML to the Items property of the Picker control. If this is the case, which is the best approach to populate the Items collection from a ViewModel...
View ArticleHow to adjust the spacing between two control ?
How to adjust the spacing between controls in page ?
View ArticleReally slow build speed with iOS
I've been running into this issue since we started testing on an actual iPhone, not a simulator: the build process seems to hang, for up to 5-10 minutes, without any feedback of the process. After some...
View ArticleDraw image at real size
Hi, i've just started with Xamarin but i'm facing a problem i don't understand. I want my app universal, so Xamarin.Forms. I just want to display an image from resource at real size (i mean even if the...
View ArticleRender Local PDF file in Android,IOS
Hi, I have working on render local PDF file using xamarin forms, i have try to render PDF using "ViewRenderer" in IOS its working fine using above code. protected override void OnElementChanged...
View ArticleToolbar Item is getting refreshed while clicking on MasterPage items
Hello I have implemented a masterpage and loading a contentPage as Detail content.while redirecting for the first time from one page to other page it's working fine but next time onwards The Toolbaar...
View ArticleHow to get an original image size?
Hi! I have the very basic case, but can't find elegant solution: need to know original image size for layout. But after loading an image to Image view I get -1 value for its width and height. Here's a...
View ArticleAdd event to native calendar crossplatform
Dear readers, i have a question how do i add a event to the native calendar crossplatform i tried a github project but its not building in my current project....
View ArticleExceeded Retry Count of 10
I have updated to the latest Xamarin.Forms. I am using Visual Studio 2013. Since I updated to the latest Xamarin for Visual Studio this morning, I am getting these issues all of the time in Windows...
View ArticleExplicit interface implementation for DrawerLayout
Heya, I want to get notified on drawer state changes (using Forms 1.5.1 AppCompat on Android). Therefore I need to reimplement the IDrawerListener on my custom renderer and implement the method: class...
View ArticleRollback of Forms versions
I am keen to try out newer versions of forms e.g. 1.5.2-pre1 but I would like to roll back if my app breaks. Is this possible and how would I do it? Thanks
View Article