How to display the image when the build action of the image file is the content
Currently, I am displaying an image using the build action of an image file as an embedded resource, but I do not know how to display the image when the build action is changed to content. Someone please show me a sample
[Bug] Xamarin.Forms Picker - One Picker selection clears all the options of the other picker in the same page
https://github.com/xamarin/Xamarin.Forms/issues/12956 Hi! I'm working on an app built using Xamarin.Forms. I just upgraded from Xamarin.Forms 3.4.0.1029999 to 5.0.0.1709-pre4. After this upgrade, I'm facing a new issue wherein a page that has multiple…
Button Command is not working in the Xamarin forms
In the Xamarin wpf project, when clicking on the button, command is not working. I have a button in the datatemplate of a listview item template and a command has been binded to this button. This is as shown below : <ListView …
Creating a Button with Multiple Components
I want to create a Button that is made up of multiple parts. I am very new to Xamarin.Forms & Android, but what I have found makes it sound like a CustomRenderer is what I should be using. However, from what I have seen in the examples I could find,…
How to get screen readers to read a number in an Entry as a decimal number rather than an incomplete sequence of digits and numbers?
I have a Xamarin.Forms.Entry that is used for entering values. I am now trying to improve how screen readers read the value in this Entry. Currently, using XF 4.8, on devices set up for British English the following value 1500005.40 results in…
IPA file not getting created / Show IPA in mac menu option remains disabled though build successful on release configuration
Hi everyone, IPA file is not getting created for my Xamarin.Forms iOS app. Usually like in earlier times, I used to check the IPA file inside bin/iPhone/Release or click "Show IPA file on Build Server" and find the same. But now both options…
About image display in Xamarin forms
Does the processing time of the application change depending on whether the build action of the image file is used as an embedded resource or content? https://dotnetco.de/tips-on-performance-for-xamarin-forms-android-and-ios/ …
Expander and ForceUpdateSizeCommand
Could anyone please describe the ForceUpdateSizeCommand attribute for the Expander? I have this: <StackLayout BindableLayout.ItemsSource="{Binding VARIABLE, Mode=TwoWay}"> <Expander> …
How to handle language specific dynamic delivery with Android App bundle?
I have some json files as embedded resources in my app. Those are like data_en.json, data_de.json, data_fr.json. When I publish my app as app bundle to google play store, is there a way to tell google those are languages specific for 4 languages that…
binding swift libraries giving error " module 'RealmSwift' not found"
Hi All, I am trying bind the native sdk framework to xamarin app. sdk is in swift language. i am following the link https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough for same. When i run the below code in terminal: …
ToolBar Item Not Showing in Secondary (3 Dots) Xamarin.Forms UWP
Hello Everyone I Have Toolbar Items in my Xamarin.Forms Project its Working Good For Android , IOS. But in UWP Project the Toolbar items Not Showing in Secondary (3 Dots) its Showing As Buttons in Navigation Bar. and Toolbar Icon Not Working,But…
List<T> to ObservableCollection<T>
Hi In my Xamarin app the page is bound to an ObservableCollection<T> but the remote Api is currently returning List<T>. What is the best way to handle this discrepancy? Should I change the backend Api to return…
Xamarin ios Location accuracy settings
I am using VS version 8.8.1 (build 37) for Xamarin iOS app development. I want to add iOS 14 location permissions - Privacy - Location Default Accuracy Reduced & Privacy - Location Temporary Usage Description Dictionary. However, I don't see them…
Permissions.ShouldShowRationale doesn't exist
In the document Xamarin.Essentials: Permissions https://learn.microsoft.com/en-us/xamarin/essentials/permissions?context=xamarin%2Fandroid&tabs=android The following line is included in a code snippet if…
How to access the displayCutout (safe Area) on Android in Xamarin Forms
Hey, we are developing a game based on skiasharp and Xamarin Forms. The SKCanvasView is in a Grid in and setup as fullscreen. To use the notch area we inplemented the following piece of code in the MainActivity of the Android project: …
Unable to build solution using Visual Studio 2019 Xamarin
Hi, I am new Xamarin. I am facing a problem while build the solution. Following error is showing while building the project. Severity Code Description Project File Line Suppression State Error The "ResolveAssemblyReference" task failed…
error APT1000: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
the following error comes out after changing the target platform from Android 8 to Android 9, 10 or 11. + updating dependencies + migration to AndroidX: \ obj \ Debug \ 110 \ lp \ 64 \ jl \ res \ values \ values.xml (4): error APT1000: Found tag id…
Xamarin.ios app crashes on 14.2 when downloaded via MDM
When xamarin.ios app is downloaded via MDM it crashes immediatedly after startup. The app works fine when downloaded via apple store/testflight
Creating buttons in a for loop
Hi all, I'm new to Xamarin, so sorry if the question is a repeat or explained badly. What I'm aiming to do is to create and display a number of buttons for each keyphrase found in a phrase and then have the selected keyword spoken back out of the device…
Multiplatform .NetStandard library with native binding
I'm trying to create a multiplatform .NetStandard library from a Xamarin.Forms application i have made. In the Xamarin.Forms application i used dependency injection, which i'm assuming from what i've read is not available for .NetStandard libraries so…