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

Inspect x:Name at runtime?

Is there a way to inspect an bindableobject's x:Name at runtime?

View Article


Is there a way to add a View to a RelativeLayout so that it is centered but...

I have the following logic for centering a view in the middle of a layout (which creates a background overlay in this case). backdrop.Children.Add(popup, Constraint.RelativeToParent(p => (Width / 2)...

View Article


Is there a way to add a View to a RelativeLayout so that it is centered but...

I have the following logic for centering a view in the middle of a layout (which creates a background overlay in this case). backdrop.Children.Add(popup, Constraint.RelativeToParent(p => (Width / 2)...

View Article

ListView with big cells not rendering correctly on iOS

Hi, I have a ListView with custom cells that contain several controls in a stackpanel, stacked vertically. I have marked the ListView as HasUnevenRows = true, and it renders perfectly in Android and...

View Article

How to structure login, webservice data, and database data together?

I have a web server that I need to login to, pull data from, and then sync the data to a local sqlite db. I'm trying to figure out how to handle that. I'm not sure if it should be a web service, a...

View Article


Slider Empty String Value

I have a slider that I am trying to bind to my viewmodel and submit to an API. I can see the Value updating in the display label but when I submit the page the slider comes back as an empty string. My...

View Article

ViewCell Binding Image

Hi! I'm very new in C# and Xamarin and now i have some problems. I create an item class that includes an image. new Item {Id="10000", Name = "Pears", "Sub=Subu Sub", mainImage = new...

View Article

How should I connect property changes via bindings in Android views when...

I've been trying to write a simple textarea control, which would behave sort of like the HTML <textarea>. Currently I'm trying to figure out what is the best way to bind the data from the Android...

View Article


Single line of text in ImageCell if the ListView is in a StackLayout on iOS

I created a page with a Label and a ListView inside of a StackLayout, and bound both the Text and Detail properties of the ImageCell. On Android and Windows Phone, this appeared as two separate lines...

View Article


NavigationPane PushAsync to page with Grid or StackLayout not working on iOS

I'm seeing a strange and inconsistent bug on Xamarin Forms for iOS. When I use PushAsync in a NavigationPane to navigate to a page with a Grid or a StackLayout, the navigation silently fails. If I...

View Article

set Custom Font in correct way

I've achieved the purpose of setting Custom Font to each platform by official doc : http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/fonts/ what I want to do:I need set...

View Article

MasterDetail page iOS Shows No Content

Having an issue on iOS trying to use a MasterDetailPage with the Detail set to a NavigationPage. The content does not render in the main page. I don't see any errors in the output but when setting a...

View Article

Android crash occuring for Xamarin.Forms.Platform.Android.ImageRenderer

After about 20 clicks through my application (which opens a new instance of the page and pops the previous pages to the root), the application crashes. According to what I am seeing in the Android log,...

View Article


Error Message if I add Xamarin.Mobile package

Hello, I get the following error messing if I try to add Xamarin.Mobile package : Could not install package 'xamstore-xamarin.mobile 0.7.1'. You are trying to install this package into a project that...

View Article

Fix Font Size on Android

I would like to fix the font size in my android app to fixed value using DIP as unit. Unfortunately, I haven't found any documentation on how to do that globaly, and Xamarin Forms is using SP as unit....

View Article


Set Header Part(Top), Content Part(Middle) and Footer Part(Bottom) with xaml...

How do i set design in xaml which contains different file for header, middle and footer. Any solutions?

View Article

Responding to an Android device menu button

Does anyone have any reference material on how to work with the hardware menu button in a Xamarin.Forms app? I'm struggling to find even a mention of it outside of a few discussions of Master Detail...

View Article


Custom renderer of Segmented controls for android

Hi, I've created custom renderer for segment control in iOS and now I want to create same in android. Following is how I created in iOS. `[assembly: ExportRenderer (typeof (SegmentedView), typeof...

View Article

Using a non-PCL package in a PCL Project

Hello, I'd like to use Xamarin.Mobile, a non-PCL package, in a Forms-Application. Xamarin.Mobile is available for iOS, WP and Android, but not for PCL projects. So I think I have to make a callback to...

View Article

CarouselLayout

Is there a way to create a carousel layout effect? I don't want the CarouselPage, since I can not have a page as a child of anything. I'm looking for something where I can have a portion of the page...

View Article
Browsing all 58056 articles
Browse latest View live