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

Background Image for button, Entry and other views.

Please, I am having issues on how to set the background image for an entry field or a button. I have searched and found how to change the background colour using custom rendering but am having issues...

View Article


Event trigger after Masterpage is closed.

I need to trigger an action after my menu is totally closed. I know there is a IsPresentedChanged but this event is trigger when the Master starts closing not when is totally closed.

View Article


Code review: Concise views with static-type bindings

So I wrote this, and I'm pretty happy with it, and I thought I'd share. I hate magic strings, and I'm a big fan of static typing, and I usually build my interfaces in code rather than XAML. But at the...

View Article

How to properly indicate page is loading?

Hello, I have tried many different ways of doing this and none are consistent across all platforms. I have my testpage.cs that loads 400 labels in a grid which takes several seconds and am in need of a...

View Article

Confused about Xamarin Form Labs

Hi. I am trying to get started with Xamarin Form Labs, with my first goal to get the Device resolution, size and dpi. I added the Forms Labs Core package to my Android project, as well as the IoC...

View Article


Application / Activity State

Hi, I am new to Xamarin. How can I save Application state or activity state in Forms. Issue I am facing is when I rotate or minimize the app and come back it take me back to MainActivity.cs's onCreate...

View Article

Image may be NSFW.
Clik here to view.

Fun new iOS build error

Has anyone else seen this....and even better have a fix/workaround. I can't build iOS at all now

View Article

Android - CellRenderer

Hello everyone! Need to customize the rendering of CellRender on android, I am using the following classes: public class MenuCell : ViewCell { public string Text { get { return label.Text; } set {...

View Article


Forms application not installing on some androids - Error -103

I'm having a strange problem currently. The application/APK I'm putting out is not installing on some android devices, but is installing on others. I checked the log during the install process for one...

View Article


Cyclic Serialisation/Deserialsation

What is the best way to perform serialisation in PCL? This needs to encompass cyclic references as I have a hierarchey of objects which each reference their parent. normally I would use the...

View Article

how to change the default backbutton title in navigationbar to 'Back'

Hi, can anybody tell me how to change the default back button title to 'Back' now it is showing the page name

View Article

Show viewcontroller from dependency

As in the subject, I need to push a viewcontroller created inside an exported dependency into the screen (modal is ok). How to do it?

View Article

Listview pull to refresh for iOS and Android

how to implement listview pull to refresh in forms? thanks in advance.

View Article


ScrollView Orientation Issue

I'm having an issue with the ScrollView control when the orientation of the app changes. The issue seems to occur when the following is true: The content in the ScrollView cannot be scrolled (because...

View Article

GoogleMap with Forms

Hello, I want to port an application on Xamarin. I have a GoogleMap but i cannot use Map because i need things like polylines... My question is how can I use a GoogleMap with forms ? I looked about...

View Article


OpenGLView and setPreserveEGLContextOnPause

Hello, Do someone know how to set PreserveEGLContextOnPause with an OpenGLView ? Else as backup, how to know that it was paused ?

View Article

Adjust ContentPage background image size

I am using the BackgroundImage property on a ContentPage. It looks good on Android, but it doesn't look like it's the correct size on iOS. Is there a way to handle how it scales?

View Article


Xamarin.Forms NavigationPage BackgroundImage - Android

Hi there! I am trying to setup an image as a background for a NavigationPage on a Xamarin.Forms project. Here is how my App.cs file looks like: public class App { public static Page GetMainPage () {...

View Article

Custom Font in Forms Labs ExtendedLabel

I'm trying to use ExtendedLabel to set a custom font in code, but all I get is the default System Font. Here's what I have, pretty straightforward: `var myLabel = new ExtendedLabel { Text = "some...

View Article

Problem in getting event for allow or don't allow on LOcation GPS enable

Hi Evenryone, I am facing problem to get the code wait for "Allow" or Don't Allow" below is my code bool istrue = false; CLLocationManager locationManager = new CLLocationManager(); Version version =...

View Article
Browsing all 58056 articles
Browse latest View live


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