Top "Preference" questions

Android: How to adjust Margin/Padding in Preference?

Before I asked to remove the padding of the PreferenceActivity/PreferenceFragment: Android: How to maximize PreferenceFragment width (or get rid …

android margin preference
Customizing the layout of a PreferenceScreen

My requirements Note: I need to support Android API 15 and onwards. In my PreferenceFragment I am dynamically adding PreferenceScreen's to …

android layout preference preferencescreen customizing
Objective C - preferred way to create and initialize an object

Is one of these two ways to create and initialize an object preferable? MyClass oClass = [[MyClass alloc] init]; oClass.length = 5; …

objective-c object creation preference
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
Android: How to maximize PreferenceFragment width (or get rid of margin)?

If you look at either Android Settings screenshot or FragmentsBC screenshot, there are margin in PreferenceFragment. How can you get …

android preference
How make a ListPreference with checkbox

How can I create a ListPreference with checkbox? I know how to use ListPreference, but I need multiple selection like …

android checkbox preference listpreference
Setting preference layout and changing the attribute in it

is it possible to access programmatically a layout which is set to a Preference? Here is what I have, a …

android android-layout preferenceactivity preference
How to set edittext preference summary and have it stick

I have gone back and fourth on this and I just can not get it. I am setting up my …

android android-edittext preference summary
Android get view of Preference in PreferenceActivity

I would like to get View instance that is used to display specific Preference in my PreferenceActivity, so i can …

android view preferenceactivity preference
How can I set the android preference summary text color?

On my preference screen I have a preference that when clicked opens a color picker dialog. What I would like …

android text colors summary preference