#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 ArticleActivityIndicator does not show from the async function
I am trying to display an activity indication on button click. When I click the button the indicator does not show: Please Help Thanks... I am creating the activity indicator as shown below: var...
View ArticleHas anyone figured out how to play sound in Xamarin forms? Preferably Android?
I am looking to make an app that uses sounds, but Xamarin.Forms does not have support for sound, and I tried using the tutorial for the media player in Xamarin.Android, but it seems google changed the...
View ArticleTabbed Page Action Bar Rendering
The follow is a way to overwhelm the issues when setup the action bar of a tabbed page project. But before showing the rendered let make a short intro for the guys who is using this for first time....
View ArticleMaster Detail Page on the right side using Xamarin.Forms
Try to create custom page with behavior similar to existing master detail page, with only one difference - opening from right side. Custom class has two properties: Content and Menu - both Page type....
View ArticleAdd spacing between title bar logo and the back-arrow?
How can I provide spacing between the app's title bar logo and the back-arrow? I am preparing to deploy an app and the app's title bar requires some formatting.
View ArticleForce Keyboard to show on Android
Hi, I'm trying to popup the keyboard on android when a control gets focused. The .Focus() method does produce the wanted effect in IOS - the controls gets the focus and thereby the keyboard is showed....
View ArticleProblem with loading PCL in XAML
Good afternoon, I am working through Xamarin.Forms examples in the Petzold book (Preview 2), and having trouble loading an external PCL. I have created a PCL library with one class in it. I am able to...
View ArticleEditor IsEnabled property is of no effect in iOS
@CraigDunn I try to add Editor and set IsEnabled, is work for Android and Winphone, but not for iOS.
View ArticleHow to register device in SMP Server in Xamarin.Forms
I am using Xamarin.Forms. I want to register my device to SMP Server for login authentication.
View ArticleAccess WebClient in MasterApplication
Hey, is there any way of accessing the WebClient() Class in the Master Application? Not in the iOS or Android one, instead in the Sharedcode-PCL Lib? Or do I need to use a DependencyService? Sorry for...
View ArticleHow to scale webview to device's screen size
I have searched everywhere and just cannot figure out how to scale my webview content to my device's screen size. I have to use the horizontal scrollbar to view the web content. Is there any guidance...
View ArticleXLabs errors on Windows Phone project
So I've got an empty xamarin.forms project which works fine on iOS, Android and WinPhone, but I need XLabs HybridWebView,, and after only adding XLabs.Forms from Nuget on WinPhone project these errors...
View ArticleAnyone know how to remove the blue line under Android ListView Group Headers?
Hi, has anyone successfully managed to remove the thin blue line under the Android Listview Group Headers? I've tried a number of approaches, nothing appears to work, any help would really be...
View ArticleHeight = 0 in OnSizeChanged method
protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); global::Xamarin.Forms.Forms.Init (this, bundle); LoadApplication (new App ()); SetContentView(Resource.Layout.Main);...
View ArticleXamarin.Forms creating an Android Native Listview with pull to refresh
I've pulled down the "Working with ListView Native Layouts" projects (https://developer.xamarin.com/samples/xamarin-forms/WorkingWithListviewNative/) and I'm building an app that has a similar...
View ArticleScrollView doesn't have property Padding
I read book Xamarin Forms and there is example. ScrollView scrollView = new ScrollView { Content = textStack, VerticalOptions = LayoutOptions.FillAndExpand, Padding = new Thickness(5, 0), }; But...
View ArticleXamarin.Forms sample launch Winphone proj is not loaded
I read book about Xamarin.Forms and try samples related to it. When I launch any of this solutions I get error (look image) Then if I press Install there is no winphone project. It's "unloaded"....
View ArticleUnable to use WCF within Android app
I receive the following exception when attempting to invoke a WCF service within my Droid project: "Operation is not valid due to the current state of the object" I am not sure what I am doing wrong....
View ArticleMR.Gestures handles ALL touch gestures
With MR.Gestures you can handle the Tapping, Tapped, DoupleTapped, LongPressing, LongPressed, Panning, Panned, Swiped, Pinching, Pinched, Rotating and Rotated gestures on all layouts, cells, views and...
View Article