Multi-line text on buttons - how to get consistent across platforms?
When the Text property of a Button is set to text that contains more than one line (i.e. has a carriage return/linefeed in the middle), what gets displayed is different on each platform. On iOS, only...
View ArticleInitializeComponent 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 ArticleWorking fine on Windows Phone but crashes when running on Android - Why?
Hi all, I am experiencing problems with the android version of my app. Everything works great when running on WP but as you as I run it on Android it crashes. I have an example here:...
View ArticleObtaining height of cell
Hi I have a small challenge. I have a listview with one item (cell) set in its datasource. I wan't to ensure the height of the listview exactly equals the height of the cell. I haven't yet found any...
View ArticleXamarin.Forms Designer
I've modified the DesignerHost-Sample from Microsoft to create a Designer that works in conjunction with Xamarin.Forms, WinForms and GTK# It's not the swiss army knife and requires a large function...
View ArticleHow do I implement Manatee scanner in a PCL project?
I have a iOS/Android PCL project and want to implement Manatee scanner, but their samples don't cover PCL. The sample provided for iOS: scanButton.TouchUpInside += async (sender, e) => { //Make an...
View Articlecan we create the desktop application for Mac Machine using Xamarin Forms ?
Can we create the desktop application for Mac Machine. means I want to create desktop application for mac machine using Xamarin forms ?
View ArticleAndroid Video Playback in Forms
We use Xamarin.Forms web view to show videos in our app. Our app user captured video(using xLab.MediaPicker) using their phone camera and that one is uploaded to azure blob storage. We used HTML5 Video...
View ArticleXamarin.Forms.Windows 1.4.2-pre2: appbar problem
Hello. I'm just adding Windows projects to my Xamarin.Forms solution to test the Windows Phone 8.1 and Windows 8.1 versions. My solution is actualy running well on iOS, Android and WinPhone 8.0. My...
View ArticleiOS - Restrict Page Orientation
I am working with Xamarin Forms and have an application with a few pages which I want to restrict the allowed orientations. So for example, on my first page (let's call it the home page), I want to...
View ArticleAndroid - Problems with Label text binding in a ViewCell DataTemplate
Hi, here is my xaml code. The list view is ItemSource is bind to UserData which is a notification property that is declared in my view model. The property is being updated when the server returns the...
View ArticleCustomer Renderer View Dimensions
Hi All, I'm currently writing a custom renderer, in order to display a video control on a ContentPage. The basics of the player are working - however, I'm unable to find any documentation/guidance on...
View Article#if __IOS__ seems not working
I used this code in my app, but when it was running, it didn't print the text(both in simulator and my device). #if __IOS__ System.Diagnostics.Debug.WriteLine ("I'm in iOS"); #endif The Define Symbols...
View ArticleTabbedPage & CarouselPage
Hi is it possible to have a CarouselPage in a TabbedPage both synchonized ? Here I think about android app, WP doen't need it and iOS may be... Thank Vincent
View ArticleAdding Pull To Refresh to ListView for iOS :)
I love pull to refresh and I wanted to add it to iOS. Mark's video is awesome showing you how to use custom renderers, so I applied his practices to iOS:...
View ArticleStripeView in Xamarin Forms
I did a little research and it seems braintree and stripe are suitable for app payments. braintree has no official xamarin bindings but there's a Stripe component by Xamarin for Android and iOS. is it...
View ArticleTabbedPage TabBar background color/tint
How would I accomplish tinting the tab bar of a TabbedPage in Xamarin.Forms? The TabbedPage doesn't seem to expose a property or method to set the tint directly. Every child page of my TabbedPage is a...
View ArticleWinPhone customizing of ViewCellRenderer - Example?
I have a FinancialCell which is a ViewCell. This cell has a number of labels in it. I am trying, in WinPhone to add a disclosure indicater in a custom renderer, but can't find any examples on how to...
View ArticleXamarin.form SearchBar Control
Hi, I selected numeric key pad to enter value. After selecting numeric key keyboard automatically switching back to alphabet. I am not able to type numeric value continuously. It is working in iOS. Not...
View Article