Category "xamarin"

How can one get actual file path from filepicker

I got another path instead of file actual path..

Xamarin Android: Calling Invalidate() inside overridden OnDraw method

I am creating a custom renderer, that needs to display whatever I have rendered in my Vulkan engine. For this I have a VulkanSurfaceView, which inherits from Me

TailTruncation - Ellipsize the text of a picker control in Xamarin Forms

Is it possible to truncate long texts with ellipsis in a picker control. I have already created a custom renderer to set a fontsize and no border in order to ac

Why entry's Focus() method isn't working from page's constructor?

In Xamarin Forms, when I use the following code: public SomePage() { InitializeComponent(); someEntry.Focus(); } the code entry isn't focused by defa

Xamarin.Forms ListView with an AutoSize height

I've read many stackoverflow articles to find out how to set height of the ListView so that the ListView is exactly as high as is its content. But none of the m

Converting JObject to a dynamic object

I am calling a REST endpoint from C# and I am receiving json which gets serialized into an object. One of the properties on this object is a dynamic property. T

How to enable zoom in and zoom out on a contentpage in xamarin forms?

How can I enable zoom on a contentpage in xamarin forms? Is it possible to enable it on the entire contentpage? Or is it only possible to zoom in on images?

Transporter error IOS App Icon 1024x1024 missing

I am developing an Xamarin IOS app on a windows box. I have been developing this app for the better part of two years. To get my app to Testflight, I right cl

XA5104 Could not locate the Android NDK

XA5104: Could not locate the Android NDK. Please make sure the Android NDK is installed in the Android SDK Manager, or if using a custom NDK path, please ensure

How can I create a Xamarin.Forms cards carousel?

How can I get this carousel of cards in Xamarin Forms? I did it in ASP.Net-MVC C# and I'm using a JS plugin and HTML and CSS. Now I need to do it using 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