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

IOS startup speed problems

Hello I have written an app in xamarin forms. the main page of the app consists of a tabbed page with 3 sub pages in it. when the app starts i want to display a modal to the user first before they get...

View Article


Android Video Player using Xamarin.Forms

I am trying to get a video player working in my Xamarin.Forms app on Android. I have implemented the iOS version using a ScrollViewRenderer where I add the MPMoviePlayerController (code at bottom, file...

View Article


why switch is not displayed in off mode, while the background is in white color?

set Build > General > Target Framework to "Android 5.0.0 (Lollipop)"? please help me, I want to display switch in Lollipop version of android. it not displayed properly . I tried on render like...

View Article

Bluetooth, Monkey.Robotics -- Forms?

Hi, I'm doing some R&D work on connecting to Bluetooth LE devices. I'm also trying out the Xamarin platform at the same time. I'm a little confused on the direction of Xamarin forms as well as the...

View Article

Binding values in custom ViewCell

Hi All, I have to identify which Switch control was toggled to get the Id of the corresponding row. So far I have this kind of implementation which is working as I want, but it is not elegant in my...

View Article


Porting Java code to C# (android-auto-scroll-view-pager github)

Repo: https://github.com/Trinea/android-auto-scroll-view-pager I have been trying to port it into c# but no successful using System; using Java.Lang.Ref; using Java.Lang.Reflect; using Android.Content;...

View Article

Binding to call a method of the binding class from a button.

Hey, So i have a View that i have bound to a List of Timer objects called Timers (custom class i have made), and in the view i have added a start and remove button. when a user clicks start i want them...

View Article

How to create common UI in PCL app?

Hello, I am totally new in xamarin. I have to create a project for android and ios. I started to create the app with help of PCL. I designed the page in xaml that is looking fine in ios, but its not...

View Article


Does not work GroupHeaderTemplate in ListView

I create ViewCell for CategoryProductsHeader and applied it. But nothing changes. ListView listView = new CategoryListView { HasUnevenRows = true, ItemTemplate = new...

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 disable highlight item in ListView?

I could not disable highlight item. I tried to use this code (I took it from forum): listView.ItemTapped += (object sender, ItemTappedEventArgs e) => { if (e.Item == null) return;...

View Article

[FAQ] How to solve the issue about "moving controls"

I am having a very funny issue, it's "moving control elements". In the first time to build app, "sometime" the element positions are right, sometime wrong. If wrong, when I tap to any controls to show...

View Article

Debug Output shows binding issue that shouldn't exist when binding ListView

I'm getting the following notes in my Debug Output 2014-06-18 10:28:50.147 FormsTemplateiOS[31060:70b] Binding: 'Title' property not found on 'FutureState.AppCore.ViewModels.NavigationViewModel',...

View Article


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 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

Equivalent of PageExtensions.CreateViewController on Android

On iOS I'm able to inject Xamarin Forms into an existing Storyboard-based project by getting a UIViewController from a page by using: var viewController =...

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

Listview on iOS 9 not filling screen width - issue with custom ViewCell

In iOS8 a simple Listview would have separator lines that filled the width (especially in landscape mode) In iOS9 the Listview separator lines no longer fill the full width on a landscape iPad mini....

View Article
Browsing all 91519 articles
Browse latest View live


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