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

Button with an image, how to centre the image horizontally?

Hi guys, Trying to get a little button with an image, I want the image to be centred within the button but it is always to the left. Button button = new Button(); { //WidthRequest = 50 BorderWidth =...

View Article


How I can show modal page?

How I can show modal page which will include some components? Like this

View Article


How I can raise the above a control in a page?

When Entry control activated and keyboard showed, this control should go the above in page. Like it reflected in the image. This necessary because the keyboard hides the Entry.

View Article

Send email from Shared code in Xamarin.Forms

Hi! How can I open the default email app (passing Recipients, Subject and body) from shared code in Xamarin.Forms? Thank you

View Article

Is it possible to call Xamarin forms pages inside an Android Fragment?

Scenario I already created a cross platform project where platform specif projects are sharing common PCL libraries .There are lot of fragments used in the Android specific Project (Eg .Adding...

View Article


Android OpenGLView displays on simulators but not on physical devices

Hi all, I have a bit of code here that runs very well on iOS, and in the Android simulator (all is displayed properly). However, I have tried to run it on two different devices (Nexus 5, and SM-P900)...

View Article

OpenGLView Fill parent

Im having trouble getting my OpenGLView to fill its parent in Xamarin.Forms I tried searching forums etc without any luck. There gotta be someone out there who has solved this Best regards Christopher

View Article

How to add multiple contents to a scroll view

Hi, I am having two grids and a web view in my page. How to add these contents in to a scroll view so that user can scroll down to see the contents. Thanks

View Article


Device.StartTimer does not invoke callback method.

Hey Guys, I am developing a cross platform poker app using xamarin and PCL. I'm using Profile78 for PCL. I want to write down some logic in PCL so that it can fetch data from server after every 5...

View Article


Open PDF in Android default PDF reader

Hi, I'm searching a way to open a PDF (stored in local) in the Android default PDF reader in Xamarin.Forms. I'm using a webview for iOS but WebViews on Android cannot open a local PDF. var browser =...

View Article

How to open PDF in xamarin.forms?

How to open PDF in xamarin.forms?

View Article

File upload functionality in Xamarin forms application

I have made a razor page with controls to save certain values of job seekers. And I need to add resume uploading functionality to the mix. I have tried in vain to invoke another activity which has file...

View Article

Animation causing KeyNotFoundException: The given key was not present in the...

So I have pretty consistently had issues calling animations from non ui-threads generating this exception. {System.Collections.Generic.KeyNotFoundException: The given key was not present in the...

View Article


Custom Page Transitions with Xamarin.Forms?

Is it possible to override the default Page Transitions for Xamarin.Forms when calling PushAsync or PushModalAsync? For example, I would like to have slide or fade transitions for Android. I have tried...

View Article

AbsoluteLayout disable Touch Trapping for iOS

We are using an absolute layout to create a composite control where two buttons are relative to each other, but there is significant space in between. The buttons sit over a map. We want the user to be...

View Article


Scroll view - how to scroll to top Automatically ?

Hi, How to scroll to top of the page automatically while clicking on the button? Thanks

View Article

Can't add dinamically layout to content of a scrollView

Hi! Basically I'm trying to dinamically add layouts to the content of a scrollView. I did an example code but it only works at the second click, for some reason it doesn't render the first layout...

View Article


Listview with small image gallery for each child

Hi everyone, as you can see from the attached step2 i have made a list view with an editor and a button, but now i have to make a small gallery to show every shot for the selected line in the listview...

View Article

x:FieldModifier

Hi, Is Xamarin.Forms going to support x:FieldModifier to generate publicly accessible ui element fields? To put my question in a context: I'm trying to use Xamarin.Forms with XAML from F#. Because...

View Article

Forcing camera to be in landscape and adding overlay

I have a Xamarin.Forms project targeting both iOS and Android (no WP8). I have a view that is used to take a picture of a check and upload that image, much like most banking apps. I need to do a few...

View Article
Browsing all 79144 articles
Browse latest View live


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