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

Image may be NSFW.
Clik here to view.

What is causing my application to have this unused space at the bottom of the...

EDIT: Oops, meant to designate this as a question, not a discussion.. Don't seem to be able to change it after the fact though In my PCL project, I am using a TabbedPage to display the app's content....

View Article


Button press event

Need a help if there is solution to change the button background color or image on button clicking, like drawable selectors for android does.

View Article


Xamarin.Forms.Maps capabilities

Hey, I would like to check if there are any capabilities in shared code to add map overlays (not just pins) but also custom shapes polygon etc... Also Why is the Pin Clicked is not working? i see the...

View Article

Weird bug, or what? ToolbarItem not enabling, only on iOS

and... nevermind. Uninstalled completely from the iPhone, rebuilt project, and now the problem is gone.

View Article

Create View object from XAML

I have a XAML file using Xamarin.Forms which is connected to logic in a .cs-file. Whenever the screen orientation changes, the GUI looks horrible. Thus, I would like to create two different XAMLs with...

View Article


I am trying to Download pdf files and then view them when requested in a webview

I have tried many options and I cannot find a way to display a PDF that was downloaded by the app. So far I cannot get this to work on the iOS device or the Android using Xamarin Forms. Does anyone...

View Article

ListView scrolling performance - Xamarin.Forms vs. Xamarin.Android or...

My company designed me to testing Xamarin.Forms. According to Xamarin team marketing, Xam forms are just brilliant. I have tested ListView - one of major and basic UI control, included in almost every...

View Article

Update a shared view from an ActivityResult

Is this is even possible? I have a MediaPicker displaying that is invoked through the dependency service, and I'm also making use of the result by collecting the path to the image that's been selected....

View Article


Resize image based on the original resolution

Hi! I am using Xamarin Forms Labs to take a picture. In the TakePicture method i am using the mediafiles stream to resize the image the same way found here. I need to define a width and height for the...

View Article


CameraMediaStorageOptions ignored

Hi, I am using the following code: await this.mediaPicker.TakePhotoAsync(new CameraMediaStorageOptions { DefaultCamera = CameraDevice.Front, MaxPixelDimension = 600}).ContinueWith(t =>... But the...

View Article

Resize the image to save memory useage

Hi folks. I am developing an mobile app which needs to take a picture and upload that picture to server. To save the memory, I need to resize (or should I call it compress) that picture. I found a...

View Article

Out of memory in simple ListView

Hi! I have a simple ListView: <ListView x:Name="list" ItemsSource="{Binding Items}"> <ListView.ItemTemplate> <DataTemplate> <ImageCell Text="{Binding FileName}"...

View Article

How to down-scale a bitmap with Image view?

Hi, I was wondering what would be the best way (or rather, how would it be possible at all) to scale down a bitmap when using the Xamarin.Forms Image view. In native Android there's a way that's...

View Article


Why is a horizontal scrollview consuming 80% of the vertical screen ?

I am using a horizontal scrollview to display a horizontal list of small icons. However a label placed underneath the scrollview is displaced to the bottom of the screen. I want the label to be...

View Article

File.Exists in Xamarin.Forms

Hi I am new to Xamarin.Forms, how do I use File.Exists in a Portable library? Thanks

View Article


How to change the color of TableView table Section on iOS ?

I am trying to change the color of Table section on tableView. I was able to successfully change the color on Android. I used GetRenderer on android to override the tablesection. protected override...

View Article

Cannot resolve symbol InitializeComponent when adding Xaml ContentPage

Hi, whenever i add a new xaml ContentPage my XamarinForms PCL i get > Cannot resolve symbol InitializeComponent Below is the code behind, the markup as well as the entry in the solution file...

View Article


How do I get NSearchPathDirectory in Xamarin.Forms

Hi I am new to Xamarin.Forms, how do I get NSSearchPathDirectory.DocumentDirectory in a Portable library? Previously when I was not using Xamarin.Forms I was able to use...

View Article

Set Image Source on return from Gallery/Camera?

Having some trouble setting an image source after returning from the Camera/Gallery. Please see question details here, thank you:...

View Article

NavigationPage.SetBackButtonTitle only in constructor?

Is there any way to set the title of the back button outside of the constructor of a page? Whenever I set it inside the constructor it works perfectly fine, but if I try and set it inside a method it...

View Article
Browsing all 58056 articles
Browse latest View live


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