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

Exception ImageSource.FromFile to navigate between pages

public partial class Page1 : ContentPage { bool isCalled = false; public Page1() { InitializeComponent(); } void OnButtonClicked(object sender, EventArgs e) { Navigation.PushAsync(new Page2()); }...

View Article


UriImageSource sometimes doesn't load image

Hi, I have page with 6 Image and every image is located on web. I get the list of URLs from API and I setting them to Images with UriImageSource, but sometimes random images doesnt load - no error, no...

View Article


Is it possible to add stack Layuout in toolbar to add controls in it?

Is it possible to add stack Layuout in toolbar to add controls in it? If yes please provide any sample with UI in XAML

View Article

Android navbar color reverts when stacked 3 deep on Galaxy Note

Our app uses the NavigationPage constructor initialization to set the navbar color like this: new NavigationPage(new ContentPage()) { BarBackgroundColor = Color.FromHex("#ffffff") }; This works...

View Article

Issues with ListView in UWP Xamarin.Forms

Hi, These are issues I have noticed while implementing UWP project in Xamarin.Forms, 1 TextCell DetailProperty binding is not working (Can't View the detail text in Listview) 2 Grouped Listview Seems...

View Article


The UI layer and Xamarin Forms - can XAML be in platform-specific projects?

In a cross platform PCL application using Xamarin.Forms; it appears that the XAML and UI is exclusively handled by the common project. In other words you don't have SomePage.XAML and its...

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

Xamarin.FormsMaps

Does Xamarin FormsMaps cost anything or can it just be used in a project? I am targeting Android and iOS. Thanks

View Article


If want a snappy UI don't use Labels. Or anything else...

I'm sorry for the harsh title. But this is exactly the sentence we throw around the office for quite some time now when ever somebody complains about the slowness of Apps based on Xamarin.Forms....

View Article


Understanding Grid Layout

I am a bit confused about the Add method of Grid with four args: grid.Children.Add(new Label { Text = "Span two rows (or more if you want)", TextColor = Color.Yellow, BackgroundColor = Color.Navy,...

View Article

Xamarin.Forms 1.5.1 AppCompat Toolbar on API 16 back button color changes

Hello, I currently tested the AppCompat using a Toolbar with the DrawerLayout. We use a black back button on a white toolbar. This works fine on > Lollipop. But on API16 I noticed a strange...

View Article

Cant change android back button in Xamarin.Forms

Hi all, I tried 10120312 ways to change back button in toolbar at Xamarin.Forms, but still it same color. It change hamburger menu color, but doesn't change <- !!! Create custom toolbar theme. - Not...

View Article

Xamarin.Forms AppCompatActivity - deeper navigation "back" arrow is black

As the title says. The whole toolbar is using the proper coloring, including the hamburger icon, but as soon as one goes even one page deep, the back arrow turns black. The arrow has no such problems...

View Article


How do use setters in App.xaml to bind values to a custom class?

I have a custom class with custom properties that need to be retrieved. This works in the app.xaml: <cols:List x:Key="SchemaModifications" x:TypeArguments="SAL:SchemaModification">...

View Article

What is the plan for TargetPlatform.Desktop ?

As well as Android and iOS, I am building my app to run on Windows phones, tablets and desktops. I run it on my Windows development PC and (working around various XF bugs) it works a treat. However,...

View Article


Back Arrow Color on Lollipop with FormsAppCompatActivity

What is the proper way to change the back arrow color when using FormsAppCompatActivity? I created a new project and followed the instructions here to use Material Design:...

View Article

How to get the progress of WebView while loading the data, Xamarin.Forms

I am developing an App using Xamarin.Forms for listing the news from different sources. I use a webView to open the link corresponding to the news. But I want to show the progress while loading the...

View Article


Listview scroll performance

Hello, I created an app using xamarin.forms. Unfortunately I have problems with performance scrolling (less 200 items) in Android devices. The scroll has a lag and in some occasions it is almost...

View Article

Universal Windows ListView Grouping Bug?

I'm adding a Universal Windows target to my PCL project and I'm getting Resource Token Not Found errors when I have grouping enabled on a Forms ListView. Disabling grouping for my UWP target makes my...

View Article

TouchesCancelled being fired instead of TouchesEnded

Hi all, I'm learning Xamarin and I have an app that started as an iOS app but I've started to port into a Xamarin Forms app. I've created a custom page renderer for one of the screens and ported the...

View Article
Browsing all 91519 articles
Browse latest View live


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