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

HockeyApp for Android can't find button resource id

I'm integrating the HockeyApp component into my Forms application. iOS is already working, but I added in the Android component and necessary code just now. However, in the MainActivity I get an error:...

View Article


How can I get absolute position of element/view in xamarin.forms

I am using Xamarin Forms version 1.2.2.0. I have a Grid with 2 rows (1st row 50pixels height) in a Page, I have a Layout Control in 2nd row of Grid. I am working on touch gestures. I am getting X &...

View Article


EXC_BAD_ACCESS problem in iOS using Xamarin.Forms.Image

Hi, I have this strange problem: i create a CarouselPage that dinamicaly add a ContentPage with an image on it. I add some code: ` public class CarouselBookPage : CarouselPage { public...

View Article

Can't remove secondary ToolbarItems

I've only verified this on the iPhone simulator. I'm trying to create a hybrid native/web app where all of the page changes happen in the webview (using the labs HybridWebView). I ran into limitations...

View Article

How to align attributes in xaml files like sample projects

Can you please tell me how to set code formatting in Xamarin Studio so my xaml attributes will look like this (from the introduction...

View Article


Adding a row to a ListView

Hi guys, Got myself a ListView populated with a List as per the example for the view. What is the correct way of adding further rows to the list? If I add rows to List the ListView does not redraw...

View Article

Proper way to handle incompatible types with IValueConverter

Hi guys, I wonder what is the proper way when value type (or targetType) isn't something one supports when implementing IValueConverter.Convert methods. Should we return null (not a good option since...

View Article

Xamarin.Forms.Maps Pins with icons

Hi guys, I am developing application with map and pins on it. I need to show pins with different icons. As I understood there is no way in Xamarin.Forms.Maps to have a pin with icon. I have googled...

View Article


Exception on real device when integrating Pixate with Xamarin.Forms 1.1.0.6201

I mentioned this error in a previous post (http://forums.xamarin.com/discussion/comment/58832/#Comment_58832) but it was left unnoticed, so I'm posting this again with more updates. Previous post: I...

View Article


1.2.2.6238-pre1 TabbedPage Actionbar background color

when I change the tabs in TabbedPage , the background color of Actionbar back to default color。 the code is : var mainTab = new TabbedPage() { Children = {...

View Article

Help Needed: Open downloaded file

Hi, I am downloading some images that i can succesfully open setting the path to ImageSource. But i am also downloading Videos and there is no way i can open them. I am downloading them to...

View Article

Image may be NSFW.
Clik here to view.

Which layout should I use for positioning two elements centered on top of...

Let's say that I want to create something that looks like this, where there are two elements stacked on eachother, and aligned to the center. I'm not really sure what layout should I use for this, and...

View Article

Non-empty constructor in DependencyService?

Is there anyway to register a concrete instance with the DependencyService, rather than using the assembly attribute? I ask because I have a DAL, which is platform dependent, that also has a few...

View Article


Visual Customization of Controls

I am starting with Xamarin.Forms and I am wondering what is the best way to draw Custom Controls. One example would be a Button that has a background gradient. Another example is an Entry with a white...

View Article

How to do a POST request with JSON

I'm using the Microsoft.Net.Http package in Xamarin Forms PCL. It is sending the request, but it isn't sending it as "applicaiton/json" it's sending it as "text/html" still. I've looked online and I...

View Article


StackLayout clickable

Hi Guys I have below attached layout, each tile contains few items (StackLayout , image, labels, button). I would like the entire Tile to be click-able , can any body suggest me a solution? how to...

View Article

Label HeightRequest

I have a label that I must first explicitly set HeightRequest = 0. But later I need to remove this so it sizes itself according to the content given. Is there a way to do this?

View Article


Error: MT9008

Error MT9008: Building from the command-line requires a Business license. (MT9008) I'm building my App from within Xamarin Studio, but after updating no Build is possible anymore.

View Article

How to control the scroll bar listview?

I have a listview, as follows A a State a b .... c b d State b ....... .... .... When I want to achieve on the right letters, click on the letters to the left according to location

View Article

What is the role of a subscriber in the MessagingCenter and what are the...

The documentation says Messages have a string message parameter that is used as way to address messages. The Subscribe and Send methods use generic parameters to further control how messages are...

View Article
Browsing all 58056 articles
Browse latest View live


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