
I can't seem to get the title/action bar to be hidden via the theme though. If ( < Android.OS.BuildVersionCodes. I am trying to use the Android Material theme without an title/action bar using the values-v21 folder. This can be accomplished with the following code: public void SetStatusBarColor( color, bool darkStatusBarTint) Since we are allowing the user to set the theme, we must also set the color of the status bar. Calling the hide() method of ActionBar class hides the title bar. Modern apps will set the status bar to match the background color when toggling between light and dark. The getSupportActionBar() method is used to retrieve the instance of ActionBar class. One thing that bugged me in the original implementation for Android, was the status bar color that was a single dark blue color. Now replace the parent with any other theme that contains NoActionBar. The result is a very nice looking application that allows the users to pick their theme or use system defaults. Look for the style element that is named apptheme. The full Material system includes design guidelines on visual, motion, and interaction design for your app, but this codelab will focus on changing the color theme for your Android app.


Working closely with my friend Kym Phillpotts we came up with a very nice theme changer for Xamarin.Forms, that allowed us to change all of the colors dynamically. Material is a design system created by Google to help developers build high-quality digital experiences for Android and other platforms. Over the past few months, I have been attempting to figure out the best ways to implement a light theme and dark theme in my Hanselman.Forms app.
