

Side Tip: On a NavigationPage you may want to set the BarTextColor to White or a shade of black Tip 2: Don’t set background colors Follow his nifty guide to get you up and running.

You will normally see a dark theme as this is the phone default, but there is a nifty NuGet package from my hero Jeff Wilcox that enables you to manually force a theme for your application. By default Windows Phone (silverlight) apps change their themes based on the user preference. Let’s not forget about Windows Phone as it is the most interesting. You can accomplish this by opening our AppDelegate.cs and applying a few lines of code in the FinishedLaunching:
Xamarin studio theme update#
The only thing to update is the Status Bar color, which I blogged about earlier, and the title bar color itself. There is very little that you need to do to optimize iOS applications since the core theme is already light. By applying default Light Holo and Material themes to your application you can completely transform your application.
Xamarin studio theme android#
I have covered this in the past so I wont repost the code, but GO READ THIS POST!! Understanding Android app themes is very important. There is a bit of setup required to get this going on each platform using your new palette. By embracing the light theme there is no need to ever set any custom colors in your application. Use these not only in the app specific theme for Android, but throughout your Xamarin.Forms applications using Styles. Take a hint from Google and browse through their Color guidelines and then use to pick your colors. Your application needs an identity and a base to start with… a palette that you can pick from. I had to start my tips at 0 because this tip is so important for your application. I wanted to take a quick second to share a few tips on making your Xamarin.Forms app beautiful with just a few lines of code. One thing they don’t do by default is setup nice themes for your applications, in fact they simply use the default device themes, but we can do better. Nothing is faster than this to get a cross-platform application spun up. Xamarin.Forms’ default templates for applications are great! They give you everything you need to get up and running including all three of your app projects and your shared code project.
