How to set a property of a control in ControlTemplate
In Xamarin Forms: If I have a ControlTemplate like this: <ContentView.ControlTemplate> <ControlTemplate> <Grid Margin="0" Padding="0"> <Grid.RowDefinitions> <RowDefinition...
View ArticleHow do i put an image over other image
I have an image in my App. How can i put other image over it. This new image is a retangle with rounded boder and inside it a label. How can i do this?
View ArticleUsing the Minimum Width for CollectionView
I have a CollectionView which I want to use the minimum necessary width. The containing Grid has the following ColumnDefinitions: <Grid.ColumnDefinitions><ColumnDefinition...
View ArticleLinker error after adding Xamarin.Google.iOS.MobileAds nuget
Hi I was following this tutorial : https://montemagno.com/xamarinforms-google-admob-ads-in-ios/ and once I added the Nuget package i got the following linker error: 1>C:\Program Files...
View ArticlePOST Failed at Xamarin.UITest.Shared.Http.HttpClient.HandleHttpError
Hi, I have the following error and I have no idea what it means. It does not happen in the emulator--only when it runs on a physical phone (or in appcenter with 'Test on a real device' enabled). 1)...
View ArticleXamarin Forms 4.3.0.908675 Device Open Uri
Hi everyone ! I have now updated my project to xamarin forms 4.3.0.908675. Before updating, I was using device.openUri (https: example.com) to redirect the user to the browser and it worked fine. But,...
View ArticleHow to find the cause of: Xamarin.Forms targets have been imported multiple...
I'm working my way thru the book "Creating Mobile Apps with Xamarin Forms" and a lot of the sample code requires some work to get it running, which is all very educational and helps me learn and...
View ArticleHow to execute javascript code in html source of Webview?
My app receives articles from wordpress, through a converter I clean the html code and then with StringBuilder I create the new html string that I feed to a WebView, here I'd like to add an ADV...
View ArticleReading from Bluetooth freezes the app
Recently I have been building an app that allows Bluetooth communication. I have been following this documentation and I got the connection working. Since it is a blocking call the popup message...
View ArticleMake PanGestureRecognizer and ScrollView working together on Android
Hello everyone ! It seems that PanGestureRecognizer and ScrollView are not working together on Android. I use them in a listview. With PanGesture I need to detect the gesturetap and scrollview to...
View ArticleCustom Entry Renderer: Changing Property does not effect UI with MVVM
Hello guys, I have a Custom Entry Renderer: ` using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace Retailer.CustomControl {...
View ArticleCollectionView IsGrouped="True" null exception on Android
Hi! I have a problem when in a CollectionView I assign the value True to attribute IsGrouped. In UWP it works fine, but in Android it fails What should I do? I already have the CollectionView Flags...
View ArticleViewCell Selected Background Color in iOS 13
Prior to iOS 13, you could set a background color in a ViewCell, and change that background color to another color when the cell is pressed. The color change would start on the press down and reset on...
View ArticleDoes Xamarin.Forms require the Google Play Services to be present on Android ...
... and if so is there a way around that? I am asking since quite a large part of our Apps users is on Huawai phones and due to the current embargo Huawei will be discarding the Google Play Services...
View ArticleCustom Properties in Custom Control not Displayed in Previewer
I have a custom control with 2 custom properties that I want to see in the Xamarin.Forms Previewer in Visual Studio 2019. Here is the code for the custom control: using System; using...
View ArticlePRISM Navigation
I need to go to the next page from my current page(WelcomeView). I use next syntax. await NavigationService.NavigateAsync(new Uri("app:///WelcomeView/RegistrationView", UriKind.Absolute)); But it...
View ArticleOpen Source Zebra RFID SDK for Xamarin Forms
Hello, Zebra Technologies have SDKs for their RFID Scanners on platforms including native iOS, native Android and Xamarin.Android however not for Xamarin.iOS or Xamarin.Forms. We are currently building...
View Article