Quantcast
Browsing all 76418 articles
Browse latest View live

Binary XML file #1: Error inflating class Test.Droid.CropImageView

I'm using the following segment in a cropimage.axml and when I choose an image this error appears, does anyone know what this is about? <view class="test.droid.CropImageView" android:id="@+id/image"...

View Article


Upgraded to Forms 1.3 pre 1 and get a "Not registered task XamlG" build error...

The output from the build is the following: Target GenerateXamlG: Task "XamlG" error : Error initializing task XamlG: Not registered task XamlG. Error initializing task XamlG: System.Exception: Not...

View Article


How to handle individual ViewCell clicking events once added to a ListView

So I have a ViewCell that displays some labels and two images, and I would like to make the ViewCell clickable and then handle what to do once the ViewCell is clicked. I would like to have one of the...

View Article

Xamarin.Forms Designer

I've modified the DesignerHost-Sample from Microsoft to create a Designer that works in conjunction with Xamarin.Forms, WinForms and GTK# It's not the swiss army knife and requires a large function...

View Article

Image may be NSFW.
Clik here to view.

How to handle local notifications on Windows Phone

I'm having problems with navigation after user taps a local notification. My goal is to navigate user to specific view after he taps a notification. I already managed to make it work on both Android...

View Article


Image may be NSFW.
Clik here to view.

Getting "Method Not Allowed" error when trying to Login to Azure Mobile Services

Hello everyone, I have a problem with Xamarin.Auth, Azure Mobile Services and LinkedIn login that I haven't been able to solve for a couple of days now. First of all I have the Azure Mobile Services...

View Article

Transparent Page when using PopModalAsync?

Trying to have a modal popover displayed with a transparent background. I've set the Page BackgroundColor, the Content BackgroundColor and any nested children BackgroundColor to Transparent, but there...

View Article

OpenGlView Sample?

Hi, is there any working sample out there using Xamarin.Forms.OpenGlView in iOS? I managed to get this simple snippet to run, but I'm not able to draw anything. Was trying this, but result is only a...

View Article


ListView: Get index of selected item?

Hi When an item is selected in a listview I need the selected rows position. Is there an easy way to achieve this? Thanks

View Article


How Paste HTML as a Design in email.

I have some HTML , i need copy and paste the HTML and send HTML design email. i have create renderer for both ios and android. in ios its working fine, but in android its not working properly. In ios...

View Article

PLEASE remove Starter edition!

Starter utterly worthless. You can't do anything with Starter. I tried "getting a taste" (per the website) of Xamarin.Forms and low and behold upon running the app, I get the "Your app is using native...

View Article

How to scroll an Action Sheet?

I'm sure lots of people must have used DIsplayActionSheet in their apps. Has anybody then gone on to automate the testing of it using Xamarin.UITest? If so, could you share how you automated the...

View Article

HybridWebView - problem with loading Google and OSM map pages on Android

var webView = new HybridWebView(new JsonSerializer ()) { // Uri = new Uri("http://www.openstreetmap.org"), // Uri = new Uri("https://www.bing.com/maps/"), Uri = new Uri("https://www.google.pl/maps"),...

View Article


Issue after upgrading v4 Support Library

Hi all ! I have an issue after upgrading my v4 Support Library Package From v21 to v22. My app crashes when trying to use a Custom Renderer inheriting from ListViewRenderer. It worked perfectly before...

View Article

How can i get total, availabe and used RAM for iOS-Plattforms

Hello, i´m developing an application and i use Xamarin.Forms (same layout and design) for iOS, Android and Windows Phone. But the functions of the App should be native like Android: getMemoryInfo()....

View Article


Nested RelativeLayout in XAML

Hi, I have some issues to control the position of a RelativeLayout nested in another RelativeLayout. My goal is to achieve somehow a Carousel, but without the swipe. I'll translate the pages manually....

View Article

Which is the best way of binding Focus?

I want to load some data from server, and then set the focus to a SearchBar control. I have created a custom control with a bindable property, checking the value received, and if true, I call Focus()...

View Article


Best Practice on Application Settings using Xamarin.Forms

Hello! I would like to ask the community for some advice regarding the creation of a “Settings” view. The goal is to provide options to a user and store them as application settings. I’m using Xamarin...

View Article

Adding C# items to Grid Layouts

When working with a grid layout structure in C#, like this example, adding elements to your layout doesn't work with the same syntax as others? For Example, adding images as described here says to do...

View Article

Button within each cell of a listview: How to figure out which cell is...

Hello, I have a listview, where each cell contains a button and some text. When the button is clicked I want to know which cell (containing the clicked button) was pressed. Like cell with index 3...

View Article
Browsing all 76418 articles
Browse latest View live