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

Runtime Err in XF.Droid proj - No known package when getting value for...

I started getting this error after upgrading to XF 1.5 and all other associated updates to other modules including XS. From the stack trace given below, it appears that there is some issue with setting...

View Article


NavigationPage in Xaml

Sorry for such a simple question. What is the structure for the NavigationPage in xaml? Among others, this is what I have tried. <?xml version="1.0" encoding="UTF-8" ?> <NavigationPage...

View Article


Forms 1.5 with Xamarin Visual Studio latest (as of Sept24, 2015)

I am using Visual Studio 2015, and have updated my mac to the latest Xamarin release as well. I create a new project, "Blank App (Xamarin.Forms Shared)" After project creation, I open "Manage NuGet...

View Article

How to set Padding of Button

I want to discrease the distance between text and border。How? And I found that the smallest size of button is 80*40?Right? When I set HeightRequest = "20" ,the text of Button display incomplete.

View Article

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


Xamarin.Forms error message on Build - Project file could not be imported

The Xamarin.Forms project was built in Visual Studio 2013. I am now trying to run the IOs app in Xamarin Studio. The Project file that can't be imported is associated to the PCL Project. I've tried...

View Article

Xamarin.Forms: Settings the ActionBar Background image

Hi, I'm working with Xamarin.Forms and constructing a Master/Detail page programmatically. I'd like to find out how I can set the ActionBar background image for Android and iOS. Any hints greatly...

View Article

Webview and posting web authentication

Hello everyone, I'm creating a mobile application to interact with a website. The website has a login page that has a field for username and password. The website takes the login data, authenticate,...

View Article


Xamarin.Forms.Labs only support PCL project?

Dear folks, I am using Xamarin.Forms.Labs to help me , it is powerful and easy to use . But it seems XLabs does work for shared project. Am I right? But I need to consume .asmx webservice, it is not...

View Article


Issue opening a MFMessageComposeViewController on any option click in...

I have a requirements to show 3 options in an alert say Call / Text/ Cancel for iOS. As displayAlert cannot be used for 3 options I have created platform specific tweak and using UIAlertView in iOS. I...

View Article

Xaml.g.cs null reference exception error .

I am new to Xamarin just learning . I am creating simple layout application sample and found an exception "Object reference not set to an instance of an object exception in .xaml.g.cs" .What should i...

View Article

Image may be NSFW.
Clik here to view.

Xamarin.Forms Bindable Picker

If anyone wonders how to make a Bindable Picker, here's the code: ` public class BindablePicker : Picker { #region Fields //Bindable property for the items source public static readonly...

View Article

XF Serious memory leaks while creating new strings

I'm seeing some serious memory leaks from a simple string formatting operation. I noticed this due my application UI getting slower over time. I decided to create a very simple solution to isolate and...

View Article


XAML Localization not working

Hi! I have no experience in Xamain, so maybe my question is dumb, but here it is: I use the https://developer.xamarin.com/guides/cross-platform/xamarin-forms/localization/ link to setup localization in...

View Article

Android release build crashing trying to load sgen

I am trying to build an Andoid release build for my Xamarin.Forms project, but I keep getting the following error: [monodroid] Trying to load sgen from:...

View Article


How do I make DatePicker look like a button OR Show Select Date Dialog using...

So I would like to have an "Add To Diary" button and allow the user to then select a date from a dialog to add an item to a diary. Now I can get aDate Picker Dialog using the DatePicker control, but...

View Article

Xamarin forms license activation error

Hi, I am facing unhandled activation error when i try to login with my xamarin credentials. I tried removing the files and folders from Mono , Monodroid and other mentioned locations. I tried...

View Article


How to add checkbox control in XAML

Hi, I want to add Checkbox control in Xaml page. I added below code in .Xaml page. <CheckBox Margin="10, 10, 3, 3" Name="acceptPolicy" Content = "Accept our policy" FontSize="12"...

View Article

Multiselect ListViews

I am new to Xamarin Forms and was wondering if we could build Multiselect Listviews using Xamarin Forms. Any help would be appreciated.

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


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