Top "Preferenceactivity" questions

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

ListView item won't stay "selected"

I want to change the background of a listview item when the user clicks it. Kind of like the Honeycomb …

android listview resources preferenceactivity
Preferences without deprecated methods

I'm trying to (correctly) implement a preferences screen, but the problem is that all the methods used to read preferences …

android preferences preferenceactivity
Why won't Fragment retain state when screen is rotated?

I've been having some trouble getting some custom DialogPreference subclasses inside a PreferenceFragment to remain visible when the screen is …

android android-fragments android-preferences preferenceactivity dialog-preference
Android Back Button Doesn't Return to Previous Activity

I have an app that has two activities: MainActivity and SettingsActivity. The MainActivity has a menu with a single Settings …

java android android-activity back preferenceactivity
SharedPreferences will not save/load in PreferenceActivity

EDIT: The problem described below was due to a very peculiar device issue not caused by any coding-related problem. I …

android sharedpreferences preferenceactivity preference taskmanager
Update existing Preference-item in a PreferenceActivity upon returning from a (sub)PreferenceScreen

I have a PreferenceActivity with a bunch of (Sub)PreferenceScreens. Each such (Sub)PreferenceScreen represents an account and has the …

android preferences invalidation preferenceactivity
getActionBar() returns null in PreferenceActivity (AppCompat-v7 21)

I have implemented DoneBar (two buttons in actionbar) in PreferenceActivity as provided in v20 sdk samples, but after updating SDK …

android preferenceactivity
How do I create one Preference with an EditTextPreference and a Togglebutton?

What I'm trying to implement is basically and exact replica of the image below (the preferences that I've squared). Pressing …

android preferences togglebutton preferenceactivity
setDisplayHomeAsUpEnabled() not working in PreferenceActivity

I have a SettingsActivity which extends PreferenceActivity to show settings in my app. There is a back arrow, but it …

android android-preferences preferenceactivity android-sharedpreferences
How to apply theme to <PreferenceScreen> elements of a <PreferenceCategory>

I have an activity that extends PreferenceActivity. My theme : android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" is applied to …

android preferenceactivity