How to change a Cell's selected behavior?
So I have a ListView which contains ViewCells. I want to change how the ViewCell renders when selected. I understand I have to write a custom renderer, but I don't know how for this particular case....
View ArticleSetting new root with NavigationPage
Hi, Is it possible to set a new root for a NavigationPage? Or, perhaps prevent a user going back to a particular page in the history? Do I have to use the NavigationPage at all? If I was to avoid it,...
View ArticleGrid cell display oversized item (temporarily)
Does a Grid support having one cell display an item that is larger than the cell's regular size? i.e. If a Grid is used to implement a chess board, with each square having a size of, say, 50 x 50, how...
View ArticleMy application is keeping the screen always on
I wrote a simple android application which opens my website in a WebView . It's intented to run on a tablet , in an info kiosk . The problem is that it keeps the screen always on and this drains the...
View ArticleOpen a page in the shared code from the windows phone code
How do I open a page in the shared code from the code in the windows phone section? In android I use: Forms.Context.StartActivity... But it doesnt work here.
View ArticleNotifications while app is closed in xamarin forms
I have this code working perfect in a windows phone app http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202967(v=vs.105).aspx I would like to use it in xamarin forms (using dependecy...
View ArticleXAML based examples for Xamarin.Forms layouts
Hi All Does anyone have a good set of example XAML for all the Xamarin.Forms layouts (pages and controls). Most examples I've found have created these elements programmatically. For me support for XAML...
View ArticleChild View
Windows: I want to define a child view in a Tabbled page like below, but it keeps throwing a null exception. If I take the exact Xaml from the child control and replace the view it works fine. Is this...
View ArticleHow to vertically and horizontally center an image in a RelativeLayout?
I'm dynamically building grid items in order to emulate a GridView. Each rendered Frame consists of a RelativeLayout and a few children added to it. The goal is to have an Image fill the frame as much...
View ArticleImageSource -> UIImage
I need to convert ImageSource to UIImage and I checked ImageRenderer for this purpose but I can't compile part of code I got from there. IImageSourceHandler handler; if (imageSource != null &&...
View ArticleHow to use Azure Mobile Services (With Xamarin.Auth?) ?
So I create a Forms solution, in my PCL project I add the NuGet Microsoft.WindowsAzure.Mobile. When I run my Android project (which of course references the PCL project), I get: [MonoDroid] UNHANDLED...
View ArticleHUD
I've used HUD components in iOS and Android apps to communicate back to the user that something is happening and to give me a moment. How do I get that functionality in X.F?
View ArticleWhere to make the async call
I'm creating a X.F application. I want to make an async requesting using the httpclient client class. I'm not quite sure where that call should go at. In the examples of X.F that I have seen, all of...
View ArticleHow to Bind a Command to the Popped Event Handler of the NavigationPage
Hi, I would like the ability to prompt the user for logout confirmation when pressing the Back button at the top of my Xamarin.Forms Android page. How might I go about this? I have the following in my...
View ArticleHow to get Hamburger Icon in iOS?
I've got the icon, and it shows in the Navigation for Android, but I can't see it for iOS. How do I get the Hamburger Icon in iOS? It's loaded in my Menu.xaml (Master) <ContentPage...
View ArticleEdit mode for a ListView
I wonder why the ListViewDataSource (the UITableViewSource for ListViewRenderer in iOS) is internal? This makes it impossible to customise the ListView for the iOS platform. I am trying to implement...
View ArticleTodo sample fails on Android during startup with "Resource ID #0x0" error
I downloaded and built/ran the Todo sample (http://developer.xamarin.com/samples/Todo/) on iOS and Windows Phone without a problem, but when I attempted to run it on Android (API 15), the following...
View ArticleCan someone explain the scale parameter on layouts ?
The scale parameter seems to be the only way to change the font size of various titles or section headers ..etc. Yet the layout seems to treat it as an after thought. If I add the scale=2 to a...
View ArticleXAML examples functional?
I'm trying to get started with Xamarin.Forms, specifically with creating individual pages using xaml instead of code. Created an example project using the universal forms prototype Created a XAML forms...
View ArticleTabBar Icon Notification
Hello! I was wondering if anyone knows how/has examples of having the ability to have a little notification/badge next to the icon/tab in the TabbedPage for when there is a new item (i.e. a little red...
View Article