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

No Activity Indicator on Nexus 5 (Lollipop) (API 21)

I'm using the "IsBusy" code in my OnAppearing method and in the upper right corner of the Android version (API 19), I can see the Activity Indicator working properly but when I change my Xamarin...

View Article


How to show compass to locate fixed coordinate as destination in windows...

I have implemented the functionality to show compass pointing to fixed location as destination from current location using dependency service on android and iOS in xamarin forms project . The compass...

View Article


Set listview text color from model string

I'm trying to figure out how to apply a hex color to my listview items. I've been searching high and low and can't get this to work. My current error when trying to debug is: "Additional unparsable...

View Article

problems with background IOS

someone help me , I used a background image for my app so that because the ios 4s, 5s , and 6 use the extension @ 2x , my background image is getting short on ios 6 that he had a larger screen, does...

View Article

Image may be NSFW.
Clik here to view.

How to close application in Xamarin forms cross-platform

Can i have the code to close the whole application in Xamarin Forms Cross-Platform PCL. I written the below code in button click protected void BtnExit_Click(object sender, EventArgs args) { if...

View Article


Pop Display Alert/ Message from ViewModel

Guys. How do i invoke/ call display alert/show message once my program did some logic in ViewModel (MVVM)? E.g Login Form --> Enter Login Data ---> Click Login Button---> Bind button command...

View Article

xamarin forms audio video player

hi , how can i embed a audio/video player in xamarin forms ? what are the supported formats ? what are the options of location of content like local resource , URL ? thanks Jamal.

View Article

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
Browsing all 77050 articles
Browse latest View live


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