Solutions

Solutions for different problems, might not contain code

  1. Home
  2. chevron_right
  3. Solutions
  4. (Page 8)

Android: PreferenceActivity Custom Title

Snippets, Solutions
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

Android PreferenceScreen

Solutions
If you encounter this problem: “CheckBoxPreference is not allowed here” or other preference tag and your xml file is all red is because you create the xml in res/layout and…