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

Xamarin Forms Connectivity Plugin

I am testing out the plugin created by James Montemagno, which looks pretty awesome. However, on my Android and IPhone emulators with a simple project I am getting False for...

View Article


What is wrong with the binding in this custom viewcell?

As I have a component i need to show on several listviews, i have extended a viewcell. I would like to bind the fields in the viewcell to properties in my viewmodels list. Simplified XAML for...

View Article


Problem compiling pages derived from ExtendedTabbedPage

Hi, I am trying to use the ExtendedTabbedPage in a Xamarin.Forms shared code project. When I compile I get the following error: error CS0246: The type or namespace name 'ExtendedTabbedPage' could not...

View Article

Custom TabbedRenderer to set tab text color on Android

I found an iOS render: http://forums.xamarin.com/discussion/17811/tabbedpage-tabbar-background-color-tint but I can't seem to find a similar Android rendered to set to set the tab text color. I found a...

View Article

Differences with scaling between the platforms

Hi, New to XF but enjoying be able to use XAML again! However I found that the same XAML (with no custom renderers) renders very differently between the Windows Phone and Android emulators. Attached is...

View Article


Android XF Map issue when pushing navigation page with map from map pin of...

I have a main map with markers representing persons. When you click on the pin marker, it pops up the annotation, then click that, should navigate to another page with another map on it and other...

View Article

Image may be NSFW.
Clik here to view.

How do you allow buttons to maximize the space inside it for text?

As I currently have it, I wrote a bit of code that allows you to get the font size needed for text (label or button) to fit exactly into the encompassing area. The problem I'm having though is it seems...

View Article

HTTPClient hangs at GetAsync when debugging on Android device

I'm getting some strange behavior with my HTTPClient when running on a device. I originally created a test C# console project just to test out the results from our server API, and everything went fine....

View Article


Release configuration to publish Android app in Xamarin.Forms (PCL project)

Hi, I have created a configuration in order to add some custom commands etc when I publish an Android app (see attached image). If I select "Release|Test" for the Android project then Xamarin Studio...

View Article


What is RenderWith?

I've never seen this before, and suddenly see it everywhere. e.g. http://developer.xamarin.com/api/type/Xamarin.Forms.Picker/ [Xamarin.Forms.RenderWith(typeof(Xamarin.Forms.Platform._PickerRenderer))]...

View Article

Binding with Converter using ConverterParameter Binding Not Working

I'm trying to do the following: Bind a Color property from based on the class property if the item is selected. If it is not selected, to color the Color gray. This is using a custom horizontal...

View Article

Geocoder.GetPositionsForAddressAsync returns some strange results

I have found that the Geocoder.GetPositionsForAddressAsyn accepts some bad input yet returns a valid result. For example, if I send it "a" as the address, it returns 48.3705449, 10.89779 which is the...

View Article

Xamarin.Forms - Facebook Login : Native login page (Android)

Hello, Initially i tried to use this library https://github.com/jsauve/OAuthTwoDemo.XForms/ but the problem was that the Library opened a WebView with mobile Facebook Login, and the user was forced to...

View Article


ListView inside StackLayout: a height problem

In a ContentPage I have a ListView inside a StackLayout inside a ScrollView. The ListView is populated (ItemSource is set) in the ContentPage when OnAppearing gets called and I can see that the list is...

View Article

Frankenstein's monster a Shared and Portable(PCL) Hybrid

You probably gonna laugh but is there any reason not to combine Shared and PCL? Like having the View in a PCL library and ViewModel, Model in a Shared Project?

View Article


Unable to push notifications from Parse

Hi All, I am trying to push notification of parse to my android device in a xamarin.Forms Application. Here is my code: Android.manifest: <!-- IMPORTANT: Change "com.parse.starter" to match your...

View Article

Custom view load with live updates

I've created a custom view, which I've rendered for use in a xamarin.forms view. I'm able to update the view using the OnElementPropertyChanged method: protected override void...

View Article


Android Errors when loading Google Map

The map still loads and pins work as they should, but I'm getting these errors and it only started a couple of days ago. 08-12 04:27:30.151 I/Google Maps Android API( 3103): Google Play services...

View Article

Image may be NSFW.
Clik here to view.

How to resize an image in Xamarin.Forms (iOS, Android and WP)?

Hi all In my app, there is a registration-page, where the user can register to have access to more functions. Among other he can load an image, that then is showed as his avatar. To select an image, I...

View Article

Video on Background in a content page not go in background

Hi, i have a problem to play a video in the background of a content page. I use an absolute layout to make a custom renderer class in background and an image and two label in front of the page. This is...

View Article
Browsing all 81910 articles
Browse latest View live


Latest Images

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