Android: PreferenceActivity Custom Title

If you want to make a custom title in a class that extends PreferenceActivity you must put

requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);

BEFORE super.onCreate(savedInstanceState); Otherwise you will get a Force Close

Menu