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

Can't target Android 6.0

I have a Xamarin Forms app with a Droid project. I have Android 6.0 (API 23) installed via SDK Manager. But Xamarin Studio only shows up to 5.1 in Options / General / Target Framework. I reinstalled...

View Article


Video plays only sound but no visual.

Good day, I'm developing an app with Xamarin.Forms and I'm trying to play a video. I have been googling for the past two days and almost every discussion has the same/similar possible solutions but...

View Article


Xamarin forms in windows phone cannot debug in device and simulator

When I trying Debug Xamain forms application target windows phone 8.1 (device or simulator) silverlight application, but always output this error and end the debug mode. Anyone got idea how to fix...

View Article

Howto convert from C# code to XAML

Hi, I am new to Xamarin and implemented some examples in "pure" c# code. Now I am trying to "convert" my code to XAML. I have a mainpage that passes an object containing data to several detailpages....

View Article

Missing Services : Exit with error code 1

Working with Google Cloud Messaging in Xamarin.Forms Android app with VS 2012 exits by return error code 1 GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable(this) Codes work successfully and...

View Article


Latest XLabs breaks HybridWebView

For info, it seems that something happened in the latest version of XLabs Forms and the HybridWebView (released today?). I use it to load bundled resources, as well as files saved in the app's...

View Article

Can we place SearchBar in the navigation bar

Hi, Can we place SearchBar in the navigation bar (like toolbar item)? Thanks, Aratrika

View Article

Xamarin.Forms.1.5.1 Released issues

Hello, After upgrade xamarin forms 1.5.1 version getting following issues : Getting error to create splash screen. In earlier version following theme working good. But now null reference exception...

View Article


Add a nav bar right button

Just started on Xamarin forms. I know you can add a nav bar right button using standard Xamarin...

View Article


Forms.TextCell StyleId not being rendered on iOS - other StyleIds are

I am setting the StyleId on a TextCell and when I inspect it in a Repl window it does not get set. I can see other Ids being set for other controls. var introWalkthroughCell = new TextCell { Text =...

View Article

Can not convert EventColor to type 'Xamarin.Forms.Color'

I'm trying to change TextColorProperty on a TextCell using a DataTemplate. in my model I have public Xamarin.Forms.Color EventColor to use in the datatemplate. For some reason its telling me it can't...

View Article

Image may be NSFW.
Clik here to view.

Define layout sizes in inches with IDisplay extension (code only)

I am not sure if there is built in functionality in Xamarin Forms for specifying layout dimensions in device independent way and the Device.OnPlatform method seemed very cumbersome and unpractical to...

View Article

NavigationRender Issue

Hi, I used below code for my custom navigation renderer in Xamarin.Forms App. But due to this extra blank space(Black Color) left at the bottom of the screen. Please have a look in the attached...

View Article


How to write a unittest with Device.OnPlatform()

Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?

View Article

What triggers the "CanUpdate" Characteristic property in Monkey.Robotics

What triggers the "CanUpdate" Characteristic property in Monkey.Robotics? I am building a xamarin.forms app using the monkey robotics plugin for my BLE requirements. It has been working, but since I...

View Article


ViewModel notification from collection item

Hi everyone, I'm using Xamarin.Forms and MVVMLight for an Mobile application. I've got a ViewModel which contains a collection of ObservableObject. I'm not using a listview because i can't for business...

View Article

How to create Usercontrol in xaml

Dear, i'm try to create a ContentPage wich contains a ContentView this "ContentView" will be another xaml file like an usercontrol. But this doesn't work! show me an exception The ex is throwed...

View Article


Image may be NSFW.
Clik here to view.

Trying to make 'Next' and 'Prev' buttons on Keyboard through Custom Renderer....

So I'm trying to test if I can make the Next button on my keyboard go to the next Entry. My Done, Next, and Previous buttons on the keyboard were made using Custom Renderer for iOS. Here's the code...

View Article

Fix for Button Layout Bug on Android

If you've run into the same problems with layout on buttons that I have where when you either add other controls, or even just do things like set text on labels, and you're finding that the Button text...

View Article

How do I call a method on a custom Xamarin.Forms control?

As the title says - if I have a custom control, like this one, how can I call a method on the renderer? My use-case: I'd like to create a custom cross-platform control for rendering SVG's. The logic is...

View Article
Browsing all 91519 articles
Browse latest View live


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