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

v1.2.2 [Android]: Weird issue where my Modal Page is displaying as a...

I've got a MasterDetail page that uses PushModalAsync(new AuthPage()); to push my login page over top of my main page. The auth page is a TabbedPage with two ContentViews (one for Sign In and one for...

View Article


Problem when the device changes orientation to landscape

I am developing a mobile application with Xamarin.Forms. All the GUI development in the PCL (Portable Class Library) and have the following problem. I have a ContentPage of authentication, after...

View Article


VisualState for SelectedItem in ListView?

Is there a way to set something equivalent to VisualState for the SelectedItem in a ListView? I'm using a ViewCell instead of a TextCell and selecting an item doesn't change anything, like colors of...

View Article

PageRenderer.OnModelSet is gone from 1.2.x

Need to bring native pages to XF.. need to override PageRenderer.OnModelSet just like in ` // This ExportRenderer command tells Xamarin.Forms to use this renderer // instead of the built-in one for...

View Article

iOS NavigationPage.SetHasNavigationBar(this, false) not working correctly

I am using a NavigationPage to proceed from page to page in my application, and I have run into an interesting bug. In my login screen, I am calling NavigationPage.SetHasNavigationBar(this, false) in...

View Article


Difference between Xamarin.Forms.PropertyChangingEventHandler and the one in...

What is the difference between Xamarin.Forms.PropertyChangingEventHandler and System.ComponentModel.PropertyChangingEventHandler? I have similar questions about PropertyChangedEventHandler, and it...

View Article

Popover for a ContentPage or ContentView

Is it possible to show a ContentPage or ContentView in a popover for iOS? I didn’t find any example for this. DisplayAlert and DisplayActionSheet is not an option, because they show only a simple...

View Article

Can't Set the Text Property of Editor on Android

On my Xamarin.Forms PLC project, I try to set Text property of an Entry. When I run it on iOS, works fine but on Android I can't see the text I set. Maybe it is something about Entry renderer for...

View Article


Label position and text alignment

Hi, I try to right align text under Label but can't find how do this. I try to make 3 label like this : Label 1 | Label 2 | Label 3 Here is my layout <?xml version="1.0" encoding="UTF-8"?>...

View Article


Sounds of any kind?

I am looking for system sounds, like System.Media.SystemSounds.Asterisk.Play() or System.Media.SystemSounds.Hand.Play(), etc. Or just a "beep" to start with? Is Forms really mute? ;-)

View Article

Navigation from full screen

Hi all, I have an app (iOS and android) in which the first (and many more) screen are fullscreen (i.e no title) ..... now I need to use some sort of navigation, so what is the way to use navigate from...

View Article

ListView - System.MissingMethodException: Method not found:

I'm getting this when assigning a List<> to a ListView's ItemSource: System.MissingMethodException: Method not found: 'Xamarin.Forms.ItemsView<Xamarin.Forms.Cell>.set_ItemsSource'. I've...

View Article

How to get the device resolution to optimise for small screens (iPhone) and...

For example, I am creating some forms and I have 3 devices to test => iPhone 5c (640 x 1136 pixels), Lumia 1520 (1080 x 1920 pixels) and Moto G ( 720 x 1280 pixels). Example of code : var slEmail =...

View Article


Java.Lang.IllegalStateException: System services not available to Activities...

My Android App gets the Exception: Java.Lang.IllegalStateException: System services not available to Activities before onCreate(). This is the code part throwing the exception: WifiManager wifiManager;...

View Article

Make Layout Children Expand and Fill Entire Screen

Hello everyone! I have a horizontal StackLayout with three children. When stacked left to right, they don't take up all of the horizontal space on the screen. How can I make the children all expand...

View Article


Xamarin.Forms Add a GestureRecognizer to an Image in a ListView

Hi, http://stackoverflow.com/questions/24828471/xamarin-forms-add-a-gesturerecognizer-to-an-image-in-a-listview Could anyone help me with this please? Thanks

View Article

Image may be NSFW.
Clik here to view.

Text size in ImageCell while using xaml or c#

I am making some imagecells using xmal and other using c# and I am getting two differents text sizes. Is this supposed to be like this or I am doing something wrong? Left c# - Right xaml Thanks ...

View Article


Send Email from iOS using dependancy service

Hi , I want to send email from my app using xamarin forms.I implemented in android successfully but failed in iOS. I used renderers but getting errors at PresentViewController as follows. "Attempt to...

View Article

XAML platforms comparison

Is it documented anywhere the differences in implementations between other XAML platforms and Xamarin Forms (e.g. WP8)? For example it would appear that styles (which can be used quite heavily in WP8...

View Article

Downloaded Images Not Showing Up in Android App

Hi everyone! I'm working on my first Xamarin.Forms app and I'm trying to display a downloaded image in accordance with this document:...

View Article
Browsing all 58056 articles
Browse latest View live


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