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

controls widths and heights based on device capabilities

I am developing simple survey form that should display well on iPhone and iPad, i.e. layout mus be responsive. I am using Xamarin.Forms. What is the right way to do it? Thanks in advance, Sanjin

View Article


Grid Row item use

How can we optimize grid in Xamarin forms, so it can resuse view item? Currently I'm getting Outofmemory error when adding 500 items in Grid. or How can we show data like grid with proper memory...

View Article


Image may be NSFW.
Clik here to view.

Push and pop NavigtionPage using dependency service.

I have a button created on PageRenderer: HomeLayout home = new HomeLayout(); protected override void OnElementChanged (VisualElementChangedEventArgs e) { base.OnElementChanged (e); var page =...

View Article

Droid Sans Mono missing on Android?

I've updated to the latest Xamarin.Forms release, and figured I'd try out the new features. I wrote a simple class that inherits from ContentPage, and has a constructor like this, which takes in an...

View Article

Image may be NSFW.
Clik here to view.

Xamarin.Forms ... for Desktops?

OK, I realize that I am opening up pandora's box here, but really, Xamarin.Forms is such a spectacular achievement, I can't help but to wonder its possibilities. I am wondering if thought has been...

View Article


Sending SMS with number and body Windows Phone

I have found info on sending with ios as seen here http://forums.xamarin.com/discussion/4418/cant-pass-phonenumber-and-initial-text-for-sms-message-when-using-mfmessagecomposeviewcontroller I have...

View Article

Get phone number and carrier name

Is there a way to get the phone number and carrier name with Xamarin.Forms? If not, is there a way I can interface with Xamarin.Android or Xamarin.IOS code to do so (see these threads:...

View Article

Cross platform Barcode Reader

Hello guys, I am developing a prototype of an app that will have the ability to read barcodes in app. I have decided to use the ZXing component. In the PCL I have created an Interface which should...

View Article


Including a Xamarin.Forms PCL in native apps

We're implementing our business logic in a Xamarin.Forms PCL. There is no UI whatsoever, it's just a set of interfaces exposing async methods, with the implementation inside. We're effectively using...

View Article


Can I get the height of the Android on-screen navigation bar?

I'm having trouble fitting content for Android devices with an on-screen navigation bar. I'm kind of at a loss thinking of a way to deal with the content for these devices. The advertisement just gets...

View Article

Tap not detected on Android Tablet

Hi, We found something weird recently. On Android tablet (and only there), the tap is not detected everywhere. For example we have a ListView with a row template composed of an image and some text....

View Article

XAML VS C# - Performance differences

In my current project I experienced performance issues when navigating to a page with a ListView. The ListView has generally 30 entries (or more). The navigation to the page took 1.5 seconds or longer...

View Article

Application.Current.Properties what security/protection does it have?

Now that we can save the Xamarin.Forms.Application.Current.Properties to disk when we want I'm considering using it again. Question: what protection if any does it have? Is it a plain text file any app...

View Article


Image may be NSFW.
Clik here to view.

Icon in AndroidManifest not used

Hello, It would be great if someone could clearify this for me If I wan't to set the Icon, in Android, that is displayed when I go through my installed Apps I have to set the Icon in the...

View Article

Send an email

How to send an email to a specified email address using xamarin.forms pcl?

View Article


Carousel View Custom Renderer Alternative?

Since there is not a Carousel View just yet (and Xamarin doesn't sound convinced to make one), has anyone made a custom renderer that can share some code on how to make a swipable carousel?

View Article

Label YAlign property does not work when changing font size in iOS

The YAlign property does not work when I change the font size of a label in iOS. In Android it works fine. Is this a known bug? Does someone know a workaround for this issue? Used setting:...

View Article


XLabs HybridWebView Issue

Hi everybody, I've a problem with hybridwebview. I've login page and navigate to home page than the code first run is ok but when i logout and again login get an error object referance This code is...

View Article

Documentation for style value to assign to properties

I have a hard time finding documentation or some kind of list of values to assign style properties. This is setting the the text of label to bold new Setter { Property = Label.FontAttributesProperty,...

View Article

HttpClient with WebApi is not working

I'm doing this: HttpClient client = new HttpClient(); var retorno = client.GetStringAsync("http://localhost/painelapi/api/values/get"); gets WaitForActivation status but returns nothing to me. so I...

View Article
Browsing all 58056 articles
Browse latest View live


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