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

Having different FontSize per platform from XAML

hello I have the following style defined for a label but the font size does not change, is what I am doing possible, if so, what am I doing wrong ? <Style x:Key="NameLabelStyle"...

View Article


Environment.GetFolderPath not exists Cross Plataform

Hello Guys, im creating a SQLIte connection following this example: string documentsPath = Environment.GetFolderPath (Environment.SpecialFolder.Personal); But when i will write the code...

View Article


"Unfortunately [Application Name] has stopped"

I am creating an app and everything is working on the virtual device in both debug and release mode but when I try to install this on my android device I keep receiving the following error...

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

Is there a way to get a better stack trace?

I thought I asked this question earlier, but I don't see it now. Lately it seems when my app crashes on Android I get a fairly worthless stack trace. The current stack trace I have looks like this:...

View Article


Possible bug - Sqlite/DateTime

I have an entity that contains a property of "DateTime" type. I save it to the database, then I load it from the database => the Hour is 3 hours back always!!! The other values (Year, Month, Day,...

View Article

How to config MvvmLight to Xamarin.Forms?

First I must to thanks to @Milk (mike.a@xamarin.com) and @Avery (avery.coleman@xamarin.com). You send to me and help me.But I'm in China. I can not to send to your E-mail. It has a limit. So I want to...

View Article

Listview 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


ScrollView still overlapping its bounds on Android when contents are added to...

So I am still having the same bug with the ScrollView in Android. When I add controls to the content of my ScrollView after its been added to the visual tree, it overflows its bounds. This problem is...

View Article


Label, fontsize and extra top space on android

Hi, I have a label within an absolute layout with a fixed height. I have YAlign="Center". Then I increase the fontsize in order for the text to take the whole space in height. It is working fine with...

View Article

CurrentPageChanged Event in Xamarin Forms Android for an Carosuel Page is not...

I have anCarosuel Page on the swipe of from left to right vice versa the content page is changing ,but it is not hitting the CurrentPageChanged Event as I have something needs to done over there. Does...

View Article

Using Completed event for "ImeAction.Search"

I've successfully created a custom renderer "SearchEntry" to enable the "Search" button on the keyboard for this entry. I'm also using the Completed event on the entry. On iOS this event gets fired,...

View Article

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


Setting the source for MediaPlayer

Please enlighten me in this scenario: I have an interface: public interface ISoundService { void SetSource(string pathToFile); Task<bool> Play(); void Stop(); void Pause(); } I have it simple...

View Article

Listview Height Problems

I have some problems dealing with listview height. I have a listview (and some labels) in my StackLayout and no matters how many items there are in the listview, it have always a fixed height. In this...

View Article


ListView shows an exception

I have ListView in ListView, and when I click in parent ListView item and show child ListView ( IsVisible = true ) I get an exception: System.MissingMethodException: No constructor found for...

View Article

Error: Code signing failed.

I have an older Xamarin.Forms project (created late last year). I'm trying to rebuild the iOS version to run on 9, but no matter what I set for signing options I get "Error: Code signing failed.". I...

View Article


Image may be NSFW.
Clik here to view.

Error creating new Forms project in VS 2013 and Xamarin Studio

Hopefully someone can tell me what I am missing here. I get the following error when I try to create a new Xamarin Forms (Portable) project: "Specified argument was out of the range of valid values....

View Article

WP 8.1: Deploy error: Package could not be registered (after update from 8.0)

Hi all Unfortunately, I have a vital problem. I have updated my app (based on 1.4.4 stable) from WP 8.0 to WP 8.1 Silverlight. After doing that, I had no problems to debug/deploy my app to the...

View Article

[WinPhone RT] TabbedPage header consumes a lot of space

Hi, When using a TabbedPage (included in a NavigationPage) in Windows Phone WinRT project the tab header consumes a lot of space on the page. It seems both the NavigationPage and TabbedPage add some...

View Article
Browsing all 76418 articles
Browse latest View live


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