added in version 24.1.0
belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1
Summary:
Inherited XML Attrs
| Inherited Constants
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
PreferenceCategory
public
class
PreferenceCategory
extends PreferenceGroup
java.lang.Object | |||
↳ | android.support.v7.preference.Preference | ||
↳ | android.support.v7.preference.PreferenceGroup | ||
↳ | android.support.v7.preference.PreferenceCategory |
Used to group Preference
objects and provide a disabled title above
the group.
Developer Guides
For information about building a settings UI with Preferences, read the Settings guide.
Summary
Inherited XML attributes | |
---|---|
![]()
android.support.v7.preference.PreferenceGroup
| |
![]()
android.support.v7.preference.Preference
|
Inherited constants |
---|
![]()
android.support.v7.preference.Preference
|
Public constructors | |
---|---|
PreferenceCategory(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
|
|
PreferenceCategory(Context context, AttributeSet attrs, int defStyleAttr)
|
|
PreferenceCategory(Context context, AttributeSet attrs)
|
|
PreferenceCategory(Context context)
|
Public methods | |
---|---|
boolean
|
isEnabled()
Checks whether this Preference should be enabled in the list. |
void
|
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfoCompat info)
Initializes an |
boolean
|
shouldDisableDependents()
Checks whether this preference's dependents should currently be disabled. |
Protected methods | |
---|---|
boolean
|
onPrepareAddPreference(Preference preference)
|