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

Add TapGestureRecognizer to Custom Frame

Hi there. I have a problem when working with TapGestureRecognizer. I have a custom of Frame. Inside custom Frame i add a StackLayout ( inside this StackLayout have few controls ). My code as bellow :...

View Article


Is there a bug in WinPhone (WinRT) - SearchBar?

I have a SearchBar defined in Xaml: In Android and Win Desktop the SearchText is correctly bound. In WinPhone (WinRT) SearchText is an empty string. Since the binding is working correctly in Android...

View Article


Binding Command int Causes InvalidCastException

I am attempting to use a Command to invoke an operation but always get an invalid cast exception. I am clearly passing a valid number (55) as shown in my XAML: <Image Source="mybutton.png"...

View Article

Custom Renderer for Video View [Android] w/ Rotation

Hello All, I'm looking for a bit of guidance or confirmation on a potential bug, I've exhausted all links on Google that I could find and have been spending a couple of days on this issue. Here's what...

View Article

How can I set Frame border radius to 0?

How can I set Frame border radius to 0?

View Article


Seeing Beacons in the background on Android in a X.F PCL solution.

So its straight forward enough to monitor for beacons in the foreground in a PCL with the Androids MainActivity being the IBeaconConsumer. But I'm not sure how to get background monitoring working, as...

View Article

Sound in WebView is still playing in the background

Problem: Push a new page with a WebView Play a video on the page (try Youtube) Pop the page Sound is still playing in the background Switch to a different app on the phone Sound is still playing in the...

View Article

How to not show separator/divider row between rows in a ListView()

Hi, I'm using Xamarin forms to show a ListView(), everything is working fine, but I cannot find out a solution to not show separator/divider row between rows in my ListView. Someone knows how to fix...

View Article


ListView binding to ObservableCollection does not update GUI

Hi Can anyone tell me why this simple code is not working as expected? Does the ListView control not listen for changes in the bound property? Expected: when I click the Add button, the GUI (ListView)...

View Article


Deploy to all three platforms at the same time when debugging?

This one is a productivity question. In VS2015, is there a way to deploy to all three platforms at the same time when debugging? Oftentimes, I make changes in the shared project to test them on...

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

Binding in a custom view/List

So i'm new like a lot of people to xamarin/mvvm but I try my best: I have this layout: https://gist.github.com/NeoDigi/ce4cfbabef1b8e2d9091 That can have children and the children will be charts:...

View Article

Image may be NSFW.
Clik here to view.

MTOUCH failing with -linkskip in Xamarin 4

Hi all, I was wondering if anyone has issues with the linker in Xamarin 4. My project was working fine in Xamarin 3, but since the update the linkskip command it seems that is not working. This is my...

View Article


SetBinding(SearchBar.TextProperty ,.. ) does not work ?

SearchBar s = new SearchBar() { Placeholder = "From Port Name", ClassId = "fromport" }; s.SetBinding(SearchBar.TextProperty, "FromPort"); Entry e = new Entry { }; e.SetBinding(Entry.TextProperty,...

View Article

Where to find '/data/anr/traces.txt'?

Hello, I'm testing a Xamarin.Forms app. When I get to the third page of my app, the app crashes and the console in Visual Studio reports to me: 12-15 10:39:28.265 I/art (14576): Wrote stack traces to...

View Article


Android TabbedPage Appcompat-v7 - Unable to find resource ID #0x1

Anybody else getting the same exception when rotating an Android Device using the new Appcompat library? Im getting an Android.Content.Res.Resources.+NotFoundException with description: Unable to find...

View Article

Namespace Xamarin.Forms.Core not found

Hi, I'm just starting with Xamarin.Forms. I now ran into a problem when trying to write a XAML markup extension as described in Petzolds book to access embeded images. using System; using...

View Article


Activity Indicator when using Material Design and Forms

Hello, Since i changed to material design, the activity indicator stopped showing. I tested going back the theme and it worked again. Is there any workaround? Thanks

View Article

How can I get absolute position of element/view in xamarin.forms

I am using Xamarin Forms version 1.2.2.0. I have a Grid with 2 rows (1st row 50pixels height) in a Page, I have a Layout Control in 2nd row of Grid. I am working on touch gestures. I am getting X &...

View Article

Remove Event Listeners from ContentPage

Hi there We add controls and events in constructor of ContentPage, so where we remove listeners? Thanks

View Article
Browsing all 91519 articles
Browse latest View live


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