java.lang.Object | |
↳ | android.preference.PreferenceActivity.Header |
Description of a single Header item that the user can select.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | |||||||||||
breadCrumbShortTitle | Optional text to show as the short title in the bread crumb. | ||||||||||
breadCrumbShortTitleRes | Resource ID of optional text to show as the short title in the bread crumb. | ||||||||||
breadCrumbTitle | Optional text to show as the title in the bread crumb. | ||||||||||
breadCrumbTitleRes | Resource ID of optional text to show as the title in the bread crumb. | ||||||||||
extras | Optional additional data for use by subclasses of PreferenceActivity. | ||||||||||
fragment | Full class name of the fragment to display when this header is selected. | ||||||||||
fragmentArguments | Optional arguments to supply to the fragment when it is instantiated. | ||||||||||
iconRes | Optional icon resource to show for this header. | ||||||||||
id | Identifier for this header, to correlate with a new list when it is updated. | ||||||||||
intent | Intent to launch when the preference is selected. | ||||||||||
summary | Optional summary describing what this header controls. | ||||||||||
summaryRes | Resource ID of optional summary describing what this header controls. | ||||||||||
title | Title of the header that is shown to the user. | ||||||||||
titleRes | Resource ID of title of the header that is shown to the user. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Return the currently set bread crumb short title.
| |||||||||||
Return the currently set bread crumb title.
| |||||||||||
Return the currently set summary.
| |||||||||||
Return the currently set title.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Optional text to show as the short title in the bread crumb.
Resource ID of optional text to show as the short title in the bread crumb.
Optional text to show as the title in the bread crumb.
Resource ID of optional text to show as the title in the bread crumb.
Optional additional data for use by subclasses of PreferenceActivity.
Full class name of the fragment to display when this header is selected.
Optional arguments to supply to the fragment when it is instantiated.
Identifier for this header, to correlate with a new list when
it is updated. The default value is
HEADER_ID_UNDEFINED
, meaning no id.
Optional summary describing what this header controls.
Resource ID of optional summary describing what this header controls.
Resource ID of title of the header that is shown to the user.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Return the currently set bread crumb short title. If
breadCrumbShortTitleRes
is set,
this resource is loaded from res and returned. Otherwise
breadCrumbShortTitle
is returned.
Return the currently set bread crumb title. If breadCrumbTitleRes
is set,
this resource is loaded from res and returned. Otherwise
breadCrumbTitle
is returned.
Return the currently set summary. If summaryRes
is set,
this resource is loaded from res and returned. Otherwise
summary
is returned.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE .
|