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

iOS WebView doesn't resize Width on device rotation.

When I drop a WebView into a view, I'm having an issue whereby when I rotate the device, the WebView stays the same width as it was initially. note: I always start out vertical, so rotating horizontal...

View Article


Image may be NSFW.
Clik here to view.

Building errors after update to Xamarin.Forms2

Please help! I just updated to Xamarin.Forms 2 a solution with three projects: - Portable library - Android project - iOS project After updating my solution is giving me 271 errors when I build: In...

View Article


TabbedPage inside Sidebar Navigation causes tab selection problems

Hi. I'm using a TabbedPage inside the Sidebar Navigation component from Jack Dehlin. Unfortunately the tab bar items only recognize long press gestures and no short taps. Does anyone know this problem...

View Article

How to create complex bindings?

I'm setting up DataTemplate for ListView. It's easy to create a binding for a single property. For example: listView.ItemTemplate = new DataTemplate(() => { var cell = new TextCell();...

View Article

Custom ListGroupHeader

Could you anyone suggest how to display variant GroupHeader cells... Suppose, if we had value of a "C" as "ABC" then I need to show three label cell... Otherwise show a cell with 2 images.

View Article


Image may be NSFW.
Clik here to view.

Xamarin shared project

I am using Xamarin shared project, I am using this shared project in iOS, Android. Now I started working on windows app. I created a black windows app. In references there is not reference to shared...

View Article

How to open a URL in default browser.

Hi, I want to open a url in the mobile browser, is there a way to do it in crossplatform api? Thanks

View Article

Any idea about add Pins [Xamarin.Forms.Maps]

Hi everybody, I am developing a system for IOS and in the future it to Android too,so I'm using Xamarin.Forms. On my Map App I need add pins on map, the pin will be put in a specific local on map. What...

View Article


Adding a tap gesture to a map pin

Hi, I'm using the TwinTechsFormsLib to move add pan gestures to my forms app. It does the job brilliantly. My only issue is that I'd like to add the pan gesture to a map pin. I'm guessing I'll need to...

View Article


How can I use Xamarin.Forms.Platform.UWP.TabbedPageRenderer ? No method to...

I am trying to create a renderer for a tabbed page. When I look at TabbedPageRenderer, there is nothing to override : `namespace Xamarin.Forms.Platform.UWP { public class TabbedPageRenderer :...

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

DymanicResource in C#

Hi, the following code assigns DynamicResource style in Xaml. How to do the same in C#? I am trying to dynamically change the app styles. Thanks, Label Text="This uses SubtitleStyle in XAML"...

View Article

Image may be NSFW.
Clik here to view.

Beacon and Dependency

Hello! I have been using the AltBeacon library to find some beacons I just bought. I have largely been re-using the code of @chrisriesgo (many thanks to him by the way). What I am trying to pull here...

View Article


Image may be NSFW.
Clik here to view.

MVVM Binding Issues

Hello all, I am having difficulty with the data bindings with xamarin and I was hoping someone might be able to see what I am doing wrong. First created this in my resources <DataTemplate...

View Article

Plans to add WebClient to PCL?

Hi all, I've been researching a way to implement my service layer in the PCL of a Xamarin Forms project, and one of the requirements is upload / download progress. Through a good bit of research, I...

View Article


san francisco font

I'm relatively new to mobile app development and right now I'm trying to change the current font for a label in my xaml to iOS's relatively new San Francisco font. I've tried using FontFamily="SF" and...

View Article

Dynamically change application icons for iOS and Android

For branding purposes is it possible to dynamically change the icons used to launch the application for iOS and Android? For example a user logs into a web portal, uploads their icon image and then...

View Article


Image may be NSFW.
Clik here to view.

Please Help .......... the cart icon on Navbar

how to do the same thing to show the number of items on the cart icon of right top corner. any ideas ?

View Article

Horizontal scrollview within vertical scrollview

I'm currently porting a iOS App to Xamarin.Forms. The app presents a vertical scrollview which contains a list of horizontal scroll views: --------------- | __ __ _|_ __ | |A1| |A2| |A|3| |A4| ... | --...

View Article

TabbedPage bug?

Is this a bug or I should use it in another way? public class MyQuestionsPage : ContentPage { public MyQuestionsPage() { Title = "My Questions"; Icon = "TabBar-Icon-MyQuestions"; } } public static Page...

View Article
Browsing all 75885 articles
Browse latest View live


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