Skip to content Skip to sidebar Skip to footer

How To Set A Custom Title Using Xamarin/monodroid

Has anyone successfully set a custom title using MonoDroid? This code fails: base.OnCreate (bundle); SetContentView (Resource.Layout.WordSearchLayout); //Customise the title

Solution 1:

In my app i have used this code to setup custom title.

base.OnCreate (bundle);        
RequestWindowFeature(WindowFeatures.CustomTitle);
SetContentView (Resource.Layout.WordSearchLayout);
Window.SetFeatureInt (WindowFeatures.CustomTitle, Resource.Layout.custom_title);

Post a Comment for "How To Set A Custom Title Using Xamarin/monodroid"