tagged [xamarin.forms]

Java.Lang.NoSuchMethodError: 'No static method checkBuilderRequirement

Java.Lang.NoSuchMethodError: 'No static method checkBuilderRequirement After updating to Xamarin.Forms 4.8 i get this error when application starts: ``` Java.Lang.NoSuchMethodError: 'No static method ...

19 Oct at 13:28

XamarinForms: StackLayout inside RelativeLayout is not filling the whole screen

XamarinForms: StackLayout inside RelativeLayout is not filling the whole screen I have this: But for so

16 May at 19:52

How to change application icon in Xamarin.Forms?

How to change application icon in Xamarin.Forms? I replaced all the images everywhere (by this I mean in drawable folders and all Windows Assets folders and iOS Resources folder), but it still shows m...

21 Jun at 13:26

Visual Studio 2017 fail to connect macOS virtual machine installed visual studio for mac and xcode

Visual Studio 2017 fail to connect macOS virtual machine installed visual studio for mac and xcode Below error I am getting when I am connecting the visual studio to my macOS. I am building an iphone ...

4 Apr at 13:46

Display label text in uppercase using xaml in Xamarin.Forms

Display label text in uppercase using xaml in Xamarin.Forms I have an username label and need to view this as uppercase but this should only relate to the UI. The data (string) should be saved in the ...

What's the difference between the ItemTapped and the ItemSelected event on a ListView in Xamarin.Forms?

What's the difference between the ItemTapped and the ItemSelected event on a ListView in Xamarin.Forms? A `ListView` in Xamarin.Forms has two events, which seem to be exactly the same: [ItemTapped](ht...

21 Oct at 15:41

Have an "'Resource.Attribute' does not contain a definition for 'actionBarSize'" error

Have an "'Resource.Attribute' does not contain a definition for 'actionBarSize'" error Was trying to debug an empty app and got "'Resource.Attribute' does not contain a definition for 'actionBarSize'"...

15 May at 13:24

How to get current location or move to current location in Xamarin.Forms.Map

How to get current location or move to current location in Xamarin.Forms.Map Since the Map already shows the user location (with IsShowingUser) I just want to zoom to this location. Is this easily pos...

14 Apr at 17:54

Xamarin.Forms.Color to hex value

Xamarin.Forms.Color to hex value I have a Xamarin.Forms.Color and I want to convert it to a 'hex value'. So far, I haven't found a solution to my problem. My code is as follows: ``` foreach (var cell ...

18 Aug at 18:56

frame border width in Xamarin.Forms

frame border width in Xamarin.Forms I use `Xamarin.Forms`, I have `Image`. I want to Border with `Corner Radius` and `Border Width`. Can I do it ? I try to use `Frame`. It good but it has only `Border...

7 Mar at 18:28

How to bind list inside ListView in Xamarin.Forms

How to bind list inside ListView in Xamarin.Forms I have one ListView on my page having `ItemSource` as `List` as shown below: How c

Xamarin.Forms PCL & ServiceStack 4.5

Xamarin.Forms PCL & ServiceStack 4.5 I have a Xamarin.Forms PCL project, profile 7. I'm trying to troubleshoot some errors coming up when I try to create a new instance of JsonServiceClient: Searching...

Xamarin.Forms: Call to a API using ServiceStack throws exception

Xamarin.Forms: Call to a API using ServiceStack throws exception I have a local service made with ServiceStack and I want to call a method from my Xamarin.Forms application: When the debugger reaches ...

Add Gradient background to layouts in Xamarin Forms visual studio

Add Gradient background to layouts in Xamarin Forms visual studio I am a newbie in Xamarin Forms, I create a ContentPage for Menu. I need linear gradient color at its background. But I can't find any ...

The $(TargetFrameworkVersion) for FormsViewGroup.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0) xamarin

The $(TargetFrameworkVersion) for FormsViewGroup.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0) xamarin the error is on visual studio 2017 and xamarin: > Severity Cod...

A good folder structure for Xamarin form projects

A good folder structure for Xamarin form projects Since I'm new to Xamarin forms, I'm not quite aware of For eg. I have a project which contains following files : 1. Network calling 2. Database handli...

xamarin forms what is the difference content page and content view

xamarin forms what is the difference content page and content view What is the difference between: - - - What I'm trying to do is to have some content that overlays the main content when an item is be...

25 Feb at 03:11

Xamarin.Forms - how to absolutely center an element on the page?

Xamarin.Forms - how to absolutely center an element on the page? I have a login page using a StackLayout for the content (username, password, login button). After the user clicks the login button, I w...

How to use Xamarin.Form Controls and Native Controls On the same page

How to use Xamarin.Form Controls and Native Controls On the same page I want to use Xamarin.Form Control inside my Native Android Page Controls. In my Android native page is there any way to load a Xa...

5 Sep at 11:35

ServiceStack.Text with Xamarin Forms

ServiceStack.Text with Xamarin Forms Trying to install ServiceStack.Client and VS complains about ServiceStack.Text with the following message > Could not install package 'ServiceStack.Text 4.0.56'. Y...

8 Jun at 18:20

Xamarin.Forms WidthRequest value meaning

Xamarin.Forms WidthRequest value meaning In Xamarin.Forms, the following properties get a double: WidthRequest, HeightRequest, Padding, Spacing, etc. What's the meaning of that number? Is it pixels, o...

4 Dec at 14:53

How to pass data to the previous page using PopAsync?

How to pass data to the previous page using PopAsync? Consider the following scenario: 1. User is on some Page 1 2. He clicks button that moves him to Page 2 (calling await Navigation.PushAsync(new So...

14 Jun at 16:29

"This project requires a Visual Studio update to load" error when creating a Xamarin.Forms Cross-Platform Application

"This project requires a Visual Studio update to load" error when creating a Xamarin.Forms Cross-Platform Application When I try to create an App using on Windows 7 it shows me: I've update for all th...

23 Oct at 20:1

How to set ImageSource as Xamarin.Forms.Button?

How to set ImageSource as Xamarin.Forms.Button? I am trying add a background image using the image property in button. The issue I'm facing is that i can't set StreamImageSource as button background. ...

30 Sep at 05:44

Xamarin Forms: StackLayout with rounded corners

Xamarin Forms: StackLayout with rounded corners I am developing an app using Xamarin Forms PCL. I need a StackLayout with rounded corners. I have tried frame as well for rounded corner container but t...