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

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


[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

PCLStorage failing on Visual Studio for Xamarin.Forms project

I've created a Xamarin.Forms project that uses PCLStorage. I've added PCLStorage from Nuget to all projects in the solution (iOS, Android, Win Phone and shared). When I run the app in the iOS simulator...

View Article

Problem with Master/Detail view in Xamarin.Forms 1.5.0

Hello! We use a master-detail view in Xamarin Forms and so far it worked on Android and iOS. Since the last update (Xamarin.Forms 1.5.0) the iOS version throws an exception when changing the MainPage...

View Article

Can't get context menu working

Hi, I can't seem to get my context MenuItems to fire either the edit or the delete commands indicated below. The menu comes up just fine, but nothing happens. Hopefully someone can help me out....

View Article


Image may be NSFW.
Clik here to view.

How to make a Tiled Background for iOS and Android?

Hi, How to make a Tiled Background for iOS and Android? If anyone has something ready? else I will do it with custom renderering

View Article

Image may be NSFW.
Clik here to view.

Memory leak in Xamarin Forms ListView with Custom Cells

I've been doing some research on a memory leak our enterprise app has. Thsi app is developed with Xamarin Forms. After several tests i've found that ListViews with custom cell causes memory leak. I've...

View Article


iPad PopToRootAsync() results in System.NullReferenceException

Forms : 1.4.0.6341 I'm working on an app in which the user navigates through a number of ContentPages before reaching a MasterDetailPage. In order to navigate back to the start I'm invoking...

View Article

InitializeComponent does not exist

Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...

View Article


WinPhone: Exception on StreamImagesourceHandler LoadImageAsync

In one of my Dependency Services on WinPhone I'm trying to convert a StreamImageSource to an image using the StreamImagesourceHandler. I'm stuck as it results in an exception. When I run the following...

View Article

MasterDetailPage with TabbedPage in master page, bug ?

I'm not sure if i'm doing something wrong or if this is a bug but in certain condition, the tabbedpage don't draw the tab in the master page. (Ipad, iOS 9.0, seems to work fine on the 8.4 images of the...

View Article

How can I use ApplicationResources with an MvvmCross Xamarin Forms Application

I am trying to add some ApplicationResources to my Xamarin application that uses MvvmCross I currently have an App.cs file like so: public class App : MvxApplication { /// <summary> ///...

View Article
Browsing all 91519 articles
Browse latest View live


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