Top "Preferenceactivity" questions

PreferenceActivity in Android is a base class for an activity to show a hierarchy of preferences to the user

How do I get the SharedPreferences from a PreferenceActivity in Android?

I am using a PreferenceActivity to show some settings for my application. I am inflating the settings via a xml …

java android sharedpreferences preferenceactivity
How to detect if changes were made in the preferences?

I have a class that extends PreferenceActivity and shows the preference screen of my app. Is it possible to check …

android sharedpreferences android-preferences preferenceactivity
Android: Creating custom preference

Is it possible to create an individual preference in an PreferenceScreen? I would like to code color settings like that: …

android android-layout android-preferences preferenceactivity
Android: "BadTokenException: Unable to add window; is your activity running?" at showing dialog in PreferenceActivity

I'd like to ask for some help: In my app, I have only one activity, a PreferenceActivity (don't need other, …

android progressdialog preferenceactivity
Android: Start Activity from preferences.xml

I would like to start an Activity from a default preferences.xml, with < intent > tag. The Activities are …

android android-intent preferenceactivity
Custom PreferenceCategory Headings

I have a simple preference screen defined like this <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&…

android android-layout android-preferences preferenceactivity
PreferenceActivity: save value as integer

Using a simple EditTextPreference in my preferences activity: <EditTextPreference android:key="SomeKey" android:title="@string/some_title" android:summary="..." …

android sharedpreferences preferenceactivity
No ActionBar in PreferenceActivity after upgrade to Support Library v21

After I upgraded to the Support Library v21 my ActionBar in my PreferenceActivity is gone. Did I miss some attributes …

android android-support-library preferenceactivity android-5.0-lollipop
How to add Action Bar from support library into PreferenceActivity?

Action Bar compatibility has been added into support library, revision 18. It now has ActionBarActivity class for creating activities with Action …

android android-actionbar preferenceactivity android-support-library
Android: Unable to find explicit activity class... startActivity from a PreferenceActivity

I'm trying to start a new Activity from a PreferenceActivity. However, it fails with "Unable to find explicit activity class. …

java android android-activity preferenceactivity