Adding a ActionBar to a PreferenceActivity

Hey,

I am creating a PreferenceActivity like this;

    [Activity(Label = "Settings", Icon = "@drawable/icon", Theme = "@style/MainTheme", ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
    public class SettingsActivity : PreferenceActivity, ISharedPreferencesOnSharedPreferenceChangeListener
    {

        protected override void OnCreate(Bundle bundle)
        {
            this.SetTheme(MainActivity.currentTheme);
            base.OnCreate(bundle);
            this.AddPreferencesFromResource(Resource.Xml.preferences);
        }
}

It works so far, but there is no Title/ActionBar. How can i add it? The specified style says:

style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
Sign In or Register to comment.