Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 77050 articles
Browse latest View live

How to detect key presses when nothing has focus.

Hello, I am writing an app for an Android-based scanner. Scanned data is sent to the app as keystrokes (even though the keyboard is not displayed). This works great as long as an entry field has focus....

View Article


modify image pixels in forms

Hi I want to change a collared image to greyscale before I show it on the screen. Can some one please tell me why my code below is not working? private byte[] ConvertMediaFileToByteArray(MediaFile...

View Article


How to refresh list in xamarin form

Hello, public class Product { public int ProductID { get; set; } public string ProductName {get;set;} public int Quantity { get; set; } public double Price { get; set; } } List product=new List(); I am...

View Article

ValueConverter with Bindable Property

I have a Xamarin project, and I am trying to get a binding on my ValueConverter. I accomplish this in my UWP project, but in Xamarin I am getting a compilation error: No property, bindable property, or...

View Article

Ram/BatteryConsumption using Xamarin UI Test

Hello Folks, I went through the Xamarin UI Test API https://developer.xamarin.com/api/namespace/Xamarin.UITest/. I did not see any API to see RAM, battery consumption. When I run the tests locally on a...

View Article


Global styles which are coded in visaul studio 2015 project are not working...

Hi Guys, Last year i have created a project of Xamarin forms in VS 2015 and i have wrote global styles in APP.xaml page they were working perfectly and and published also. Recently i have installed VS...

View Article

My entry placeholder text is cut by the half

Hi, I have a entry with a placeholder text I used that like a search bar, in some Android devices the text appears cut by the half, I try resize the FontSize but dons't work, anybody can help me?

View Article

Custom Renderer Not Working

So I've followed a YouTube video and the Microsoft docs on this but it still isn't working. I have a page with my custom renderer on it, which I've used the namespace for... <local1:RoundedEntry...

View Article


Image may be NSFW.
Clik here to view.

ANNOUNCING: ComboBox and Floating Label Entry for iOS and Android

Hey folks, just wanted to let you all know that I've open sourced my Material Entry and AutoComplete (called ComboBox) today. Take a look and use it if you like. note: only for Android and iOS at the...

View Article


OnSizeAllocated, UseSafeArea, changing layouts by orientation on iPhone X

We use OnSizeAllocated to drastically change our layouts between landscape and portrait modes. Having to do an update, which means I finally have to deal with the iPhone X issue. I've found a problem...

View Article

why cant show pdf in pdf.js in UWP?

Hi. I've been using pdf.js and a weibiew render to show a pdf or word file in UWP; in Release and Debug mode if it works, but when I generate the .appxbundle and install the application, I get a...

View Article

How do I set the ranking star value?

Guys, I'm using a ranking stars system found on this github repo: https://github.com/nishanil/Xamarin.Forms-Samples I would like to implement a simple function where I can set the ranking stars by...

View Article

share data between views in carouselview

Hello everyone!, somebody knows how can I share an object or a variable between views in a carouselview page that receive a parameter from another page? thanks in advance!

View Article


Image may be NSFW.
Clik here to view.

Type Local Not Found In xmlns clr:namespace

Hi Team, I am trying to implement MVVM example from your tutorial. Now when I am trying to ClockViewModel.cs access from .xaml, I am getting error I have already tried to get solve this issue from...

View Article

Access list data from tapgesture from image inside viewcell

I have a image inside a ViewCell, I've added a TapGestureRecognizer to the image, now when the user clicks the image I want to Access the data from data ViewCell How can I do that? Thanks

View Article


Solution not building due to Xamarin.Forms.Build.Tasks.GetTasksAbi task not...

I have just installed VS 2017 Community with the Xamarin forms add on. I tried to create a test application for Android and iOS but I cannot get it to build even without touching any of the code. This...

View Article

Xamarin.Forms.Build.Tasks.GetTasksAbi" task could not be loaded

The "Xamarin.Forms.Build.Tasks.GetTasksAbi" task could not be loaded from the assembly C:\Users\Asus.nuget\packages\xamarin.forms\3.0.0.550146\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could...

View Article


How to decrease size of apk in Xamarin forms.

This is my first try at release app. I am registering and logging in app via Web Api. I have a live website and have written Api Service for that. It is working fine and then i released the apk....

View Article

How to restrict numeric values entered into an Entry field.

I need to restrict the value being typed into an Entry field to values between 0 and 20. However, I don't want highlight it in red if it's outside that range or anything, I want to actually prevent the...

View Article

How to force a refresh of a page?

I have a page with a 'button' (actually a TapGestureRecognizer on a StackLayout). When pressed I add or remove some things from another StackLayout in the page. The problem is that on Android after...

View Article
Browsing all 77050 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>