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

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 Article


How 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 Article


Couldn'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 Article

Control 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 Article

Image may be NSFW.
Clik here to view.

ListView 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 Article


How 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 Article

How 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 Article

Graphic 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 Article


Android 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 Article


Binding 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 Article

How to adjust the spacing between two control ?

How to adjust the spacing between controls in page ?

View Article

Really 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 Article

Draw 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 Article


Render 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 Article

Toolbar 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 Article


How 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 Article

Add 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 Article


Exceeded 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 Article

Explicit 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 Article

Rollback 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
Browsing all 75885 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>