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

Can'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 Article


Control 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 Article

Correct place to store things securely

I'm doing some work with azure mobile services which requires me to store both an application key, and also cache user authentication information locally (not passwords, just a token). Is there a...

View Article

Layout cycle detected. Layout could not complete. after resetting...

I am having an issue with the windows phone and a listview. The listview has a hundred or so items and the ItemsSource is changed based on a picker. So when a new item is selected from the picker I set...

View Article


Attribute "circleCrop" has already been defined (APT0000) common_attrs.xml...

I upgraded from Xamarin.Forms.Maps 1.4.0.0 to 1.5.0.6447. My solution contains several projects, including a lot of PCLs, two Android, and two iOS projects. Everything was building fine before the...

View Article

What are the limitations of Xamarin.Forms?

Is there anything we should be aware of before start to a project with Xamarin.Forms?

View Article

Image may be NSFW.
Clik here to view.

Custom renderer problems for rendering Android's Actionbar's tabs

I've been trying to achieve a simple task: Changing the font of my Xamarin Forms Android app's tab bar items' font. I have a custom font and I've so far been successful using it elsewhere in the app....

View Article


DisplayAlert on android crash

Is there a way to check if the activity exists on android side of Xamarin.Forms so that calling DisplayAlert doesn't crash like this: Java.Lang.RuntimeExceptionAttempt to invoke virtual method...

View Article


Custom control with complex property in Xaml

Hi, I have created a cutom control MyControl ` public class MyControl : StackLayout { public static readonly BindableProperty LabelControlProperty = BindableProperty.Create<MyControl, Label>(p...

View Article

Custom ButtonRenderer not called when my Activity inherits from...

My Custom ButtonRenderer does not get called since my Activity inherits from FormsAppCompatActivity instead of FormsApplicationActivity Is this a known issue? My custom renderer: [assembly:...

View Article

How to stop iOS location services warning 'Allow "Appname" to access your...

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 Article

Image may be NSFW.
Clik here to view.

ListView scrolling problem on Android M

Hi, Does anyone know about this scrolling issue that I'm having with any Xamarin.Forms ListView in Android M (Nexus 5)? There is something like a white space above and under the ListView, and in the...

View Article


system.argumentexception: an item with the same key has already been added

I know this is avery general error, but I suddenly cannot debug my xamarin forms application anymore on my iOS device: system.argumentexception: an item with the same key has already been added any...

View Article

Develop under your Apple developer profile for someone else

I'm using Xamarin forms to develop Android and iOS applications. I'm using my company's Apple developer account to develop the iOS app. When the app is done, we need to give it to the client and have...

View Article


Image may be NSFW.
Clik here to view.

XAML 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 Article

ServiceAccountCredential missing from Google.Apis.Auth package

Hi! Ive created a simple Xamarin.Forms app, and installed the Google.Apis.Auth package, but the class Google.Apis.Auth.OAuth2.ServiceAccountCredential is missing from the package. Anbody know why this...

View Article


Xamarin.Auth Windows Phone Experimental - Deleting an Account results in an...

I was wondering if anyone else has been using the experimental branch of Xamarin.Auth for Windows Phone support. When I sign out from my app I am attempting to delete the account information stored...

View Article

Image may be NSFW.
Clik here to view.

ListView inside ScrollView difference between Android and iOS

This is the code: Content = new ScrollView () { VerticalOptions = LayoutOptions.Fill, Content = new StackLayout () { VerticalOptions = LayoutOptions.Fill, Children = { this.ListOfComments, CommentArea...

View Article

New Xamarin.Forms User Interface Docs, Featuring ListView and Text

We’re excited to announce a new section in the Xamarin.Forms Guides: User Interface! Xamarin.Forms can be used to create native UIs using shared XAML or C#. This new section centralizes existing...

View Article
Browsing all 89864 articles
Browse latest View live


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