Android PreferenceActivity custom Titlebar
<p>I'm inflating PreferenceActivity from xml however, I wish to have a custom header. The following code doesn't work:</p>

<pre><code>public void onCreate(final Bundle savedInstanceState) {
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
        super.onCreate(savedInstanceState);
        addPreferencesFromResource(R.xml.settings);
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title_layout);
}
</code></pre>

<p>I get:
E<code>/AndroidRuntime(14701): Caused by: android.util.AndroidRuntimeException: You cannot combine custom titles with other title features</code></p>
