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

forms app device.openuri system exception in ios

Hi, I want to open a browser in iOS with my app with this line of code: Device.openUri(new Uri("http://www.google.com")); but when that line executes I get this error: Could not initialize an instance...

View Article


Android ListView seperator is always visible (even if set to none)

I have a ListView in Android where all cells have different Colors. When I set the SeparatorVisibility to "None" there is still a seperator between the cells (1px), which has the color of the...

View Article


Load image file using ImageResourceExtension from another assembly

I am trying to load an image file from project A using an ImageResourceExtension in project B from a project C. In project C I am using the image file name as it is saved in project A. Inside the...

View Article

How to identify largest font size for a label, to fit in a specified amount...

I need to fit a Label in the space available to the left of other controls, after those other controls have been positioned. On a phone in portrait mode, there isn't much space available, so I need to...

View Article

Terrible TableView perfomance on Android

I am using XF to create an Android app and I use TableView to create a page with settings. However you scroll the table view, the more you do it, the slower it gets. You can also see GC going crazy in...

View Article


Image may be NSFW.
Clik here to view.

How do I get the Facebook account associated with the iOS device?

How do I get the Facebook account associated with the iOS device? The iOS settings page allows the user to associate a facebook account with the device. This is separate from the Facebook app. I would...

View Article

Is there a way to access a DataTrigger binding inside the TriggerAction?

I'm hunting for a Binding or a BindingContext property within the TriggerAction<T> but there isn't one there. Is there a way to access said binding?

View Article

MR.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


Android Grid Layout Rows too small until keyboard is shown and dismissed

I have a relatively simple grid in a ContentPage. When the view load, the view is "squished" as all the rows are a lot thinner than they should be. When I display the keyboard and dismiss it, the view...

View Article


Problem creating correct layout

Hi, I am busy with an App which needs to show at the bottom of the app one button and a label in the left corner, one label in the middle and one button and a label in the right corner of the screen....

View Article

How to launch a search engine for international market using Xamarin.Forms?

I am using Device.OpenUri and other methods to interact with Text Messaging, Emails, Telephone etc. I also want to be able to open a search engine in a browser on whichever Xamarin.Forms supported...

View Article

Does Xamarin.Forms support custom input methods

Does Xamarin.Forms support custom input methods? Say I want a calculator-like or phone-like keyboard with all the digits 0..9 plus '(' and ')' keys and the letter 'd' and '.'. Can I do that with...

View Article

Restart a Xamarin.Forms activity

Is it possible to restart a Xamarin.forms activity ? I found an answer for just Android in the link below http://stackoverflow.com/questions/1397361/how-do-i-restart-an-android-activity

View Article


Xamarin forms and xamarin native UI mix

Is it possible to mix xamarin forms and native UI into an application. Example use xamarin forms for simple ui and use native ui for complex ui. Thanks

View Article

Has anybody written an AOP Logging Interceptor for a PCL?

I'm looking at adding logging all over my app (for insights), but I really don't want to add all that bloat to the code. A typical method with logging will look like public void SomeMethod() {...

View Article


Hide title bar in Android 4.3 (Api 18) with xlabs

Hello, In the Android part I am trying to hide the title bar. For API 17, 19, 20, 21, 22 and 23 I have a theme with this item : <item name="android:actionBarSize">0dp</item> For API 16,...

View Article

SearchBar.PlaceholderColor

Hello, at https://developer.xamarin.com/api/property/Xamarin.Forms.SearchBar.PlaceholderColor/ is described as public property in SearchBar.PlaceholderColor. I use version 1.5.1.6471 but this propery...

View Article


DatePicker FontSize, etc.

There doesn't seem to be any easy way to change the textview's for DatePicker/TimePicker. Has anyone found a way to either turn a label into a datepicker or write a custom renderer that will customize...

View Article

BindablePicker control from Xlabs.Forms v2.0 cannot see in Android App

Hi, I am trying to use BindablePicker control from Xlabs.Forms v2.0 (download from NuGet package). I could not see it visually appearing in Android app. Could anyone share ideas or locate any missing...

View Article

1-2s delay on page navigation - after page .ctor and before OnAppearing

I'm experiencing a 1-2 second delay navigating to one of my pages: 1) The page's constructor runs. 2) Then there is the delay. 3) Then the page visually changes and some "changed"-Events fire from...

View Article
Browsing all 75885 articles
Browse latest View live