Label LineBreakMode WordWrap behaves as CharacterWrap when using Bindings
I have a Label in which the Text or FormattedText property is populated with a binding towards a property on my ViewModel. The LineBreakMode has been set to WordWrap, but it behaves as a CharacterWrap....
View ArticlelistView ViewCell not adjusting it's size to content on iOS
I have a custom ViewCell that i use to populate a listView. It works like a charm on android, on iOS however i'm having issues. The cell has a Horizontal stackLayout with a box and a 2nd stackLayout,...
View ArticlePadding in Button
I've searched and found similar questions but no real answers. I have a Button. When the button appears in iOS there is no padding around the text. Look at the button labeled "Forgot Password". iOS...
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 ArticleXamarin Maps - Location Services pop up
Hi, I am using the Xamarin.Forms.Maps.dll to display a map of a location for a meeting. I don't use the location of the device at any point and have no need to in the app at all. There is no code that...
View Articleimagecell set image size/aspect?
I'm having a hard time believing that this can't be done. am I doing somethign wrong? how do I specify the size for the image in the imagecell?
View ArticleHide the Master page of a MasterDetailPage in Landscape mode.
Hi, I created an app with a MasterDetailPage. My App work only in Landscape mode. On iPad when the App start, the Master Page is always visible. I try to set IsPresented = false but nothing change. It...
View Articleendless 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 ArticleIs there any documentation no how to build a custom GridView?
I'm trying to use the Grid like an MvxGridView whereby I can Bind to a Collection, and set a Template. Ideally, this can all be done in Xaml. Here's my pseudo code example. <GridView x:Name="MyGrid"...
View ArticleWhite Padding when using Forms in iOS
i've used this article to create an image cropper for my application. My platform is iOS and i'm using a Tabbar, now i got a white padding above the Forms view (Same hight as the Tabbar). How can i...
View ArticleCall method on custom renderer?
Hello, I'd like to call a method on my custom renderer, what do you think is the best way to achieve that? public class MyLabelRenderer : LabelRenderer { public void DoStuff(){} } public class MyLabel...
View ArticleCan't target Android 6.0
I have a Xamarin Forms app with a Droid project. I have Android 6.0 (API 23) installed via SDK Manager. But Xamarin Studio only shows up to 5.1 in Options / General / Target Framework. I reinstalled...
View Article[Android] Enabling scrolling for a WebView inside a ScrollView
I had this problem a while ago and I didn't found a complete solution for this here in the forum so I'm posting a solution using a Custom Renderer that is very simple and worked very well for me and I...
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 Article1456 Errors in Xamarin.Forms Android Project After updating nuget
My project was working beautifully before updating the Xamarin.Forms nugets both on iOS and Android. I've posted in another threat that seems to be having problems with iOS. I've tried the beta and...
View ArticleXAML Layout moves when I press a button?
I am building a xaml layout in Xamarin for my mobile app. I have written the following code. The layout, as you can see from the following images, is aligning the labels off the page and there are...
View ArticleWhat are the limitations of Xamarin.Forms?
Is there anything we should be aware of before start to a project with Xamarin.Forms?
View ArticleAbsolute Layout Sizing
Using Absolute Layouts allows for positioning objects onto a definite spot within that layout. It does this based off of coordinates within the layout. You put in those coordinates, the object sets...
View ArticleHow to block UI after tap gesture is tapped
Hi all, my question is this. In forms, how do I get it so that a tap gesture recognizer will only allow itself to be tapped once? The specific problem i'm having is this; I have a couple of images that...
View ArticleCould not install package 'Xamarin.Forms 1.3.3.6323'.
Dear All, newbie with Xamarin, When adding 'Xamarin.Forms' package, I am facing with below: Could not install package 'Xamarin.Forms 1.3.3.6323'. You are trying to install this package into a project...
View Article