Java android.preference PreferenceActivity fields, constructors, methods, implement or subclass

Example usage for Java android.preference PreferenceActivity fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.preference PreferenceActivity.

The text is from its open source code.

Subclass

android.preference.PreferenceActivity has subclasses.
Click this link to see all its subclasses.

Field

StringEXTRA_SHOW_FRAGMENT
When starting this activity, the invoking Intent can contain this extra string to specify which fragment should be initially displayed.
StringEXTRA_SHOW_FRAGMENT_ARGUMENTS
When starting this activity and using #EXTRA_SHOW_FRAGMENT , this extra can also be specified to supply a Bundle of arguments to pass to that fragment when it is instantiated during the initial creation of PreferenceActivity.
StringEXTRA_SHOW_FRAGMENT_TITLE
When starting this activity and using #EXTRA_SHOW_FRAGMENT , this extra can also be specify to supply the title to be shown for that fragment.
StringEXTRA_SHOW_FRAGMENT_SHORT_TITLE
When starting this activity and using #EXTRA_SHOW_FRAGMENT , this extra can also be specify to supply the short title to be shown for that fragment.
StringEXTRA_NO_HEADERS
When starting this activity, the invoking Intent can contain this extra boolean that the header list should not be displayed.

Method

voidaddPreferencesFromResource(int preferencesResId)
Inflates the given XML resource and adds the preference hierarchy to the current preference hierarchy.
PreferencefindPreference(CharSequence key)
Finds a Preference based on its key.
booleanonIsHidingHeaders()
Called to determine whether the header list should be hidden.
booleanonIsMultiPane()
Called to determine if the activity should run in multi-pane mode.
voidstartPreferencePanel(String fragmentClass, Bundle args, @StringRes int titleRes, CharSequence titleText, Fragment resultTo, int resultRequestCode)
Start a new fragment containing a preference panel.