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

Layouts performance for Xamarin Forms in multiple platforms

In general I wanted to know what are the basics mix and match that we can do with layouts so that the performance of the application is not hampered? Example: I have a list view and inside my list view...

View Article


How do you change the Frame Padding on WinPhone?

I have noticed that the Frame view on WP has a very large amount of Padding that I can't seem to override. See example screen shot. For demonstration purposes, the Frame was given a red background with...

View Article


listview SetSelection not works in xamarin forms android

if (gurbaniPothiViewModel.IsFromSearch) { var res = gurbaniPothiViewModel.PothiDisplayList.Where (x => x.PothiText.Equals (gurbaniPothiViewModel.SearchText)).FirstOrDefault (); if (res != null) {...

View Article

ResXFileCodeGenerator can only be used with .NET projects

I started a Xamarin.Forms project a few months ago, and then the Unified changes came. So, it appeared to be easier to simply recreate the project from scratch using the new app templates than porting...

View Article

How to disable zoom in WebView

In my app (Android, iOS and Windows Phone) I have a Page with a WebView that loads content from a URL (an html page). The WebView takes all the space in my page and it's all working perfectly except...

View Article


After Updating packages Xamarin.forms app getting crash on Android M.

Hi All, In my Xamarin.Forms App I have updated all packages of PCL and android specific but it's giving following exception in LoadApplication(new App) method. Specifically occurring on android M only....

View Article

Is it possible to inflate a View from XAML?

I would like to create the XAML file for a View and use it in different pages. In native Android I'd do it this way: LayoutInflater inflater =...

View Article

Accordion ListView

Hi all, I need an accordion list view for a project I am working on, I've heard that you can achieve this by using observable collection as the item source, but yet I'm not sure how that could be...

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


How do I trigger an update of CanExecute in a custom implementation of ICommand

I've created an AsyncCommand that returns false for CanExecute while the command is running, which is great except I can't seem to update the CanExecute so it never gets disabled. In this article it...

View Article

ContentPage

Hi all, Please I need your help. When I create a new xamarin forms project(shared) and then add a new ContentPage, The ContentPage that is inherited doesn't appear blue. It is as if though its not...

View Article

Overlapping Grid Items Refresh

I have a grid where some of the items live in the same column (Grid.Row="0" for several items). When a user clicks certain buttons, some of them hide and only 1 is shown at once (using the IsVisible...

View Article

Xamarin Registration Form Material design placeholders

Hi is there a way (plugin or otherwise) how one can create a registration form where the placeholders would float up on focus and float back down on blur again? Thanks Shaun

View Article


Not able to add Newsoft Json package in the Xamarin Studio

Hi, I am working on Json file.I need to convert the json file in my code like below var example=JsonConvert.DeserializeObject<List>(json); to convert I need to add the package called newtonsoft...

View Article

Image may be NSFW.
Clik here to view.

Android custom TabbedPage renderer with Material Design compat

Hello, everyone! I'm trying fix tabs broke texts but, since I'm using Material Design AppCompat, I'm having problems to create a custom TabbedPage renderer. Anyway, I'm just search for a way to fix...

View Article


TabbedPage in MasterDetailPage not producing scrollable tabs

Hey everyone, I'm having an issue where I have a TabbedPage in a MasterDetailPage and the tabs are not scrollable. Instead they're getting squished to fit the screen. Any ideas what's going on? Page...

View Article

ListView ItemSelected Bug

Hi there! I checked a bug when I click in a LisView item, then If I click twice or more, it opens as many pages I clicked. Anyone has the idea how to fix it? ListIdeas.ItemSelected += (sender, e) =>...

View Article


How to use Android Material theme with no action bar

I am trying to use the Android Material theme without an title/action bar using the values-v21 folder. I can't seem to get the title/action bar to be hidden via the theme though. Anyone get this to...

View Article

Misbehavior MasterDetailPage on Android Tablet

Hello, I used with success the MasterDetailPage in my app for smartphone iOS and Android. The app is always in portrait mode and everything works fine: it start with the left menu closed and I can...

View Article

InitializeComponent

My Mobile PCL project lists "The name 'InitializeComponent' does not exist in the current context" in the Error List but the output windows indicates that build was successful. How is this issue...

View Article
Browsing all 77050 articles
Browse latest View live


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