Category "xamarin"

Xamarin forms set Picker SelectedItem

I am working with a xamarin Forms. I am using Picker for DropDownList. How can I set selectedItem to Picker? My code <Picker x:Name="VendorName" Title="Se

What will happen to custom controls and Renderers in .net maui?

In my Current Xamarin.Forms projects I have created many Renderers for different requirements. Now in September maui is coming and we have to migrate our projec

"the layout could not be loaded: layout resource could not be found" xamarin android vs 2019

everytime i create a new layout.axml i get the message the layout could not be loaded: layout resource could not be found upon creation and i am new to program

Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release

i am getting this issues after install JAVA 11 (LTS) and Visual studio 2022 Community Edition. and Andriod Studio. in my Brand new AMD PC (which has all the pow

Xamarin Forms Editor Scrollbar

I have a need for an Editor, with a checkbox in a left margin for each line. (When the user clicks on the check box, the text for that line changes color.) At t

"java.exe" exited with code 2 Xamarin.Android project

so I have my Xamarin.Android project which contains several libraries. When I try to build I receive an error which says "java.exe" exited with code 2. After

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 link which tell me how to

Button text font size based on the size of the button

I would like to resize the text inside my button based on the size of my button. How can I do it? <Button StyleClass="btnFAF" Text="Field Activity" Grid.Row=

A very complicated workaround for using a C# dll with an Android app? (xamarin)

I have an proprietary Android app (created with Android Studio) and I need to add some functionality which requires to use a C# DLL. The app is connecting wir

MAUI Shell remove OverScroll from the sides

I've bein workeing on my app. It's useing SwipeView and 9 times out of 10, when I want to swipe the item to remove it - I get this (as I called it) ScrollPrevie

Integrate Crashlytics in visual studio?

I am new at VisualStudio.I am using xamarin for both iOS and Android application. Now, If i want to integrate Crashlytics in my application then what should i

Failed to resolve System.Int32 Xamarin.Essentials.Resource/Id::accessibility_action_clickable_span

When I compile the app in release mode I get the following error, I've already tried to reinstall and update all packages, but I still having problems with andr

Xamarin build fails with an unknown error

I installed Xamarin and was attempting to compile and run an empty app, but the compilation fails with an unknown error: How can I fix this error?

Toast equivalent for Xamarin Forms

Is there any way using Xamarin Forms (not Android or iOS specific) to have a pop-up, like Android does with Toast, that needs no user interaction and goes away

Visual studio can't debug Android Xamarin app

I've started with Xamarin and Android using Visual Studio 2013. When I start debugging the android app, it builds, deploys to device and then debugging in Visu

Create a StackLayout inside a Frame in Xamarin Forms using C# as background code

I use an <Frame> in my xaml page like this: <StackLayout> <Frame> <StackLayout> <Button></Button>

System.Net.WebException: Error: NameResolutionFailure when Calling WEBAPI in xamarin forms

I have created one simple xamarin form application using PCL, which is showing data in listview using WEBAPI. When i call WebAPI , i am getting below error. ex

Listview in xamarin form not using full space of form

I am working on Xamarin forms cross platform app. I have a form where i need to show data in listview. Data is displaying but its not using entire space resul

How to create bindable command for custom component in Xamarin.Forms?

I've a custom component where I've button and I'm trying to create a bindable command so that I can perform action based on viewmodel. I've tried few things but

What is the difference between colorPrimary and colorPrimaryDark in themes

I'm trying to understand how the theme works in android. I don't know why colorPrimaryDark won't work with me or maybe i'm doing it wrong. I tried this set and