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

Background location updates in Xamarin.Forms. How to?

Anyone has a tutorial or some documentation to get started on this topic? I've read and downloaded the BackgroundLocationDemo that has both ios and android projects mentioned in the Xamarin...

View Article


Setting StyleId (for UI testing) on DisplayAlert?

Is it possible to set the automation id's for popup alerts so they are testable from automated UI tests?

View Article


System.Runtime reference in Visual Studio ?

Hi guys, I'm using Visual Studio 2015 and the newest Version of Xamarin-Android and Xamarin-Forms. I always get the following error messages like on the picture that I have attached to this post. And...

View Article

Change scrollbar color of listview

Hi, is there a way to change the color of the scrollbar of the listview. I have a page with background color that about the same as the scrollbar, so the scrollbar is not even visible when scrolling....

View Article

GridView

Hi, Is there a GridView available with xamarin forms? I need a gridview that supports multi-select action.

View Article


Displaying Placeholder text on a DatePicker - Can't get this to work

I followed the renderer here: https://forums.xamarin.com/discussion/35792/crash-in-custom-renderer-on-ios However, the text is never displayed and the datepicker always shows todays date when...

View Article

Has anybody solved running on Windows 10 release?

My app runs happily on Windows 8.1 and on a preview build of Windows 10, but on the release build of Windows 10, the XF Application constructor throws the following exception. Has anybody else...

View Article

Xamarin.Forms and Windows phone Panorama Control ?

I'm a newbie and I want to work with Xamarin to target windows phone platform firstly then iOS and android ( later ). I'd like to know if it's possible and how to devevelop a UI with Xamarin.Forms...

View Article


Image not appearing in a StackLayout inside a StackLayout

Ok this one has me stumped. I have a ScrollView with the content being a StackLayout called TabLayout. In code I'm adding another StackLayout as a child to TabLayout and this StackLayout contains an...

View Article


Get device location in PCL

Hi guys, can anyone explain me how to get device location from PCL project in Forms? I can't find on the Internet any tutorial how to do this. I just want to create an page in PCL and in code behind to...

View Article

Storing Controllers Inside Xamarin Forms Custom Renderers

I am creating a Xamarin Forms custom renderer. I need to invoke and manipulate a native iOS view controller inside the custom renderer. I see two possible options : Create a custom class and extend...

View Article

Xamarin Forms app crashes in release mode

My Xamarin Forms app crashes in release mode. The Android log says: "Info(1209)/ActivityManager: Start proc com.companyname.testapp for activity...

View Article

GetMainPage command obsolete in Xamarin.Forms Sample

I am working through the Xamarin.Forms Heart Rate Monitor Sample code. on the mainActivity.cs in .Droid, the following error is flagged up over the LoadApplication (new App ()); line. Error:...

View Article


Image may be NSFW.
Clik here to view.

Box view with rounded corners + badge with counter, snippets

I believe simple rounded box view and even badge widget should be a part of some generic Xamarin.Forms extension kit. I'm not familiar with writing plugins workflow though. So I decided to share some...

View Article

Image may be NSFW.
Clik here to view.

A problem with Xamarin.Forms plug-in and Code Compilation with .NET Framwork 4.5

Hello, I just started with Xamarin studio. I would use Xamarin.forms to create an Android app (on windows) and iOS mac; beacause I don't have Visual Studio. I installed all the files without problème...

View Article


Has anyone made a Picker with bindable items?

Has anyone extended the Picker control to expose a Bindable property ItemSource that when set, goes and adds the items to the Items property? Is it that simple or am I being naive? Has anyone managed...

View Article

Quick and dirty demo for those who start with OpenGlView

I wrote this starter demo based on Xamarin triangle ES20 demo. I hope that will help people to use OpenGlView.

View Article


Convert Image XAML to C#

Hello, I have XAML below and want to render it in code-behind. The part I don't know is how to assign GestureRecognizers with Command to the Image object. <Image Source="photo.png" >...

View Article

How to extend Android ActionBar functionality for the NavigationPage?

I want to extend the NavigationPage functionality by making it possible to add a background image to the navigation bar(iOS)/action bar(Android). Therefore I have extended the NavigationRenderer for...

View Article

FontAwesome Label: Here's how!

Here's how you'll use the new FontAwesome label (Any Graphic font will work, but FontAwesome is Awesome): var coolLabel = new FontAwesomeIcon(FontAwesomeIcon.Icon.Gear) Here's how to set it up....

View Article
Browsing all 77050 articles
Browse latest View live


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