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

Toolbar item in the left in Android

Hi, I am working with modal pages in xamarin forms and I would like to be able to close them using a button in the toolbar located in the left. I can put buttons in the right with not problem but they...

View Article


Title not updating

With Xamarin forms, Android updates the Title of a ContentPage but not iOS. public class MapPage : ContentPage { public MapPage(string title) { Title = title; <--- works in iOS and Android } public...

View Article


Entry field in landscape orientation on Android has modal behaviour. How to...

On the physical Android phone that I am using for testing my XF app, in landscape mode tapping on an Entry results in that Entry being expanded to fill all of the available vertical space, with a Done...

View Article

Push/Pop pushmodalasync/popmodalasync

I know this has been discussed, but please bare with me.... I'm using Xamarin.Forms. I have a TabbedPage application with 1 ContentPage at the moment, we'll call this "Root". It's the default screen...

View Article

CheckBox no cross platform solution?

Hi, I am developing a cross platform app, where I want to purely avoid using native codes, as per the instructions. However I find it extremely difficult to find out how can I add a simple check box....

View Article


Detect if Phone vs Tablet (iPhone vs iPad, Android Phone vs Android Tablet)

Hi For phone vs tablet i want to use different layouts since on a Tablet you do have more space available. How can I detect if a device is a Phone vs a Tablet? This is for both iOS and Android. Thanks

View Article

Weird Language Behavior

I have an app built with Xamarin forms for android and IOS. All is fine with the Android version but the IOS version starts showing strange language behaviour on both the emulator and devices. Though I...

View Article

Customer Renderer View Dimensions

Hi All, I'm currently writing a custom renderer, in order to display a video control on a ContentPage. The basics of the player are working - however, I'm unable to find any documentation/guidance on...

View Article


how to cancel animation

is there a means of cancelling an animation on a given view?

View Article


How to tell if running on a phone or tablet in Xamarin Forms

Hi, I know how I can tell if we are in a tablet or phone on Android but looking for a fairly foolproof way in Xamarin Forms. I was pointed to: if (Device.Idiom == TargetIdiom.Phone) That differentiates...

View Article

Publication of Android App Failed using Xamarin Studio

I'm using Mac with Xamarin Studio version 5.9.5 to Archive for Publishing my Android App. I followed the steps in "Part 1 - Preparing an Application for Release" to publish the app but I encountered...

View Article

Image may be NSFW.
Clik here to view.

WebView rendering when not Visible

Hi All, I have a WebView that is not visible when the page is displayed. Visibility is set when tapping a StackLayout gesture. The WebView source is using a HtmlWebViewSource converter. When the...

View Article

Listview without tapping and higlighting. Only for displaying informations

Hi there, I'm searching a solution for a listview which is not tappable. I only want to display some informations via this view - there should be no highlighting by tapping or any action after a tap....

View Article


No Activity Indicator on Nexus 5 (Lollipop) (API 21)

I'm using the "IsBusy" code in my OnAppearing method and in the upper right corner of the Android version (API 19), I can see the Activity Indicator working properly but when I change my Xamarin...

View Article

How to show compass to locate fixed coordinate as destination in windows...

I have implemented the functionality to show compass pointing to fixed location as destination from current location using dependency service on android and iOS in xamarin forms project . The compass...

View Article


Set listview text color from model string

I'm trying to figure out how to apply a hex color to my listview items. I've been searching high and low and can't get this to work. My current error when trying to debug is: "Additional unparsable...

View Article

problems with background IOS

someone help me , I used a background image for my app so that because the ios 4s, 5s , and 6 use the extension @ 2x , my background image is getting short on ios 6 that he had a larger screen, does...

View Article


Image may be NSFW.
Clik here to view.

How to close application in Xamarin forms cross-platform

Can i have the code to close the whole application in Xamarin Forms Cross-Platform PCL. I written the below code in button click protected void BtnExit_Click(object sender, EventArgs args) { if...

View Article

Pop Display Alert/ Message from ViewModel

Guys. How do i invoke/ call display alert/show message once my program did some logic in ViewModel (MVVM)? E.g Login Form --> Enter Login Data ---> Click Login Button---> Bind button command...

View Article

xamarin forms audio video player

hi , how can i embed a audio/video player in xamarin forms ? what are the supported formats ? what are the options of location of content like local resource , URL ? thanks Jamal.

View Article
Browsing all 81910 articles
Browse latest View live


Latest Images

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