(Label and StackLayout) fill all the space inside the stack layout
Hello As you can see in the image, I can't let the label fill all the space needed and my text is been cut off, I have tried a lot of different things (horizontal and vertical options.fill and fill and...
View ArticleCreating a Table with Sections
I am porting over a MT.Dialog app to a Forms app to work on all 3 devices. What Forms UI element do I use to produce a classic table with section headers. It's for a financial app, so there is an...
View ArticleMessaging-Like ScrollView Layout
I'm trying to achieve a "messenger-like" layout and can't seem to get it figured out. Basically I want a ScrollView with a label (which will contain lots of scrollable text. And at the bottom, I need...
View ArticleSQLITE Commands C#/Android
Hey, I just started working with a tutorial and everything works but it douse not talk about the basics of Insert, Delete, Update in a database. Question: How do you display everything in a database ?...
View ArticlePicker is shrink on Windows Phone 8
Why is Picker shrinking on windows phone 8/emulator while the same code is displaying it well on android and iOS? var orgsPicker = new Picker { Title = "Select One", MinimumWidthRequest = 200,...
View ArticleStacklayout Label Widthrequest not working properly?
Hi everybody, I really have troubles with formatting lists with custom CellViews properly. Let's assume I want to have a List with two columns (everyone is a label, basically) and the first label...
View ArticleForcing a page that is Navigated to modally into Portrait orientation
I have a Xamarin.Forms ContentPage that I want to only show in portrait mode. If the user rotates the device I don't want the view to rotate. This page is navigated to by calling...
View ArticleGet Comman Property from TapGestureRecognizer
Hi. I have below xaml where i have added to ContentPage <Image HeightRequest="40" WidthRequest="40" > <Image.Source> <OnPlatform x:TypeArguments="ImageSource"> <OnPlatform.iOS>...
View ArticleCannot create Android custom renderer when subclassing Android.Widget.xxx
I get the following error when creating a custom renderer on Android based on the custom widgets:— Error CS0234: The type or namespace name Widget' does not exist in the namespaceYoubetme.Android'. Are...
View ArticleReflection on PCL library
Hi! I cannot seem to get the reflection API to work with the PCL that targets profile78. The version I'm able to compile is: var profile = App.MainPageViewModel.CurrentUserProfile; var idProperty =...
View ArticleCould not compile Android xamarin form build after updating dll.
Got an error /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Error executing task GenerateJavaStubs: Could not load assembly...
View ArticleHow to set the starting scroll position of a ListView?
I am dynamically adding items to a ListView that I am using as part of a page which is set to be the Master property of my MasterDetailPage. The issue I have is that since the items added exceed the...
View ArticleXamarin.Forms Version 1.2.3 DatePicker
Hi, I know this issue is as old as Xamarin.Forms but unfortunately I need a solution for it as soon as possible, and i couldn't find any solutions out there! I need a datepicker view with the...
View ArticleXamarin.Forms.Labs - How to set Commands in constructor when using ViewFactory
HI, I'm using ViewFactory to instantiate my Pages. The problem with this pattern is that the BindingContext gets set after the Page's constructor has been run, which is obvious, but this creates a...
View ArticleAccess property in MainActivity.cs (Android) from XAML Portable
Hello guys, I'm developing a cross-platform application and I need to get the current version of the application, so I made this on MainActivity.cs (Android) : Context context =...
View ArticleUITableView segue not working
Hi, I'm new to apps and Xamarin but I have a pretty strong background in C# but I'm struggling with what feels like a really basic problem. I'm developing a Xamarin.Forms app and I'm using a storyboard...
View ArticleWinForm Images
Following the guidance at http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/images/ I have added an image to the root of my WinPhone project and set the build action to...
View ArticleLocking orientation in Xamarin.Forms
I'm trying to lock the screen orientation programmatically in my Xamarin.Forms app. I could not find a solution that is supported across devices, so I'm using the Dependency Service to implement it for...
View Article