Most visited

Recently visited

R.styleable

public static final class R.styleable
extends Object

java.lang.Object
   ↳ android.support.v7.preference.R.styleable


Summary

Fields

public static final int[] BackgroundStyle

Used to access some android attrs

Includes the following attributes:

AttributeDescription
android.support.v7.preference:selectableItemBackgroundNeed a non-android: attr here so that gradle doesn't remove it
android:selectableItemBackground

public static int BackgroundStyle_android_selectableItemBackground

This symbol is the offset where the selectableItemBackground attribute's value can be found in the BackgroundStyle array.

public static int BackgroundStyle_selectableItemBackground

Need a non-android: attr here so that gradle doesn't remove it

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static final int[] CheckBoxPreference

Base attributes available to CheckBoxPreference.

public static int CheckBoxPreference_android_disableDependentsState

This symbol is the offset where the disableDependentsState attribute's value can be found in the CheckBoxPreference array.

public static int CheckBoxPreference_android_summaryOff

This symbol is the offset where the summaryOff attribute's value can be found in the CheckBoxPreference array.

public static int CheckBoxPreference_android_summaryOn

This symbol is the offset where the summaryOn attribute's value can be found in the CheckBoxPreference array.

public static int CheckBoxPreference_disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled.

public static int CheckBoxPreference_summaryOff

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.

public static int CheckBoxPreference_summaryOn

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.

public static final int[] DialogPreference

Base attributes available to DialogPreference.

public static int DialogPreference_android_dialogIcon

This symbol is the offset where the dialogIcon attribute's value can be found in the DialogPreference array.

public static int DialogPreference_android_dialogLayout

This symbol is the offset where the dialogLayout attribute's value can be found in the DialogPreference array.

public static int DialogPreference_android_dialogMessage

This symbol is the offset where the dialogMessage attribute's value can be found in the DialogPreference array.

public static int DialogPreference_android_dialogTitle

This symbol is the offset where the dialogTitle attribute's value can be found in the DialogPreference array.

public static int DialogPreference_android_negativeButtonText

This symbol is the offset where the negativeButtonText attribute's value can be found in the DialogPreference array.

public static int DialogPreference_android_positiveButtonText

This symbol is the offset where the positiveButtonText attribute's value can be found in the DialogPreference array.

public static int DialogPreference_dialogIcon

The icon for the dialog.

public static int DialogPreference_dialogLayout

A layout to be used as the content View for the dialog.

public static int DialogPreference_dialogMessage

The message in the dialog.

public static int DialogPreference_dialogTitle

The title in the dialog.

public static int DialogPreference_negativeButtonText

The negative button text for the dialog.

public static int DialogPreference_positiveButtonText

The positive button text for the dialog.

public static final int[] ListPreference

Base attributes available to ListPreference.

public static int ListPreference_android_entries

This symbol is the offset where the entries attribute's value can be found in the ListPreference array.

public static int ListPreference_android_entryValues

This symbol is the offset where the entryValues attribute's value can be found in the ListPreference array.

public static int ListPreference_entries

The human-readable array to present as a list.

public static int ListPreference_entryValues

The array to find the value to save for a preference when an entry from entries is selected.

public static final int[] MultiSelectListPreference

Attributes that can be used with a MultiSelectListPreference.

public static int MultiSelectListPreference_android_entries

This symbol is the offset where the entries attribute's value can be found in the MultiSelectListPreference array.

public static int MultiSelectListPreference_android_entryValues

This symbol is the offset where the entryValues attribute's value can be found in the MultiSelectListPreference array.

public static int MultiSelectListPreference_entries

The human-readable array to present as a list.

public static int MultiSelectListPreference_entryValues

The array to find the value to save for a preference when an entry from entries is selected.

public static final int[] Preference

Base attributes available to Preference.

public static final int[] PreferenceFragmentCompat

Base attributes available to PreferenceFragment.

public static int PreferenceFragmentCompat_android_divider

List separator to draw between preference views

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int PreferenceFragmentCompat_android_dividerHeight

List separator height

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int PreferenceFragmentCompat_android_layout

The layout for the PreferenceFragment.

public static final int[] PreferenceGroup

Base attributes available to PreferenceGroup.

public static int PreferenceGroup_android_orderingFromXml

This symbol is the offset where the orderingFromXml attribute's value can be found in the PreferenceGroup array.

public static int PreferenceGroup_orderingFromXml

Whether to order the Preference under this group as they appear in the XML file.

public static final int[] PreferenceImageView

Attributes that can be used with a PreferenceImageView.

public static int PreferenceImageView_android_maxHeight

This symbol is the offset where the maxHeight attribute's value can be found in the PreferenceImageView array.

public static int PreferenceImageView_android_maxWidth

This symbol is the offset where the maxWidth attribute's value can be found in the PreferenceImageView array.

public static int PreferenceImageView_maxHeight

This symbol is the offset where the maxHeight attribute's value can be found in the PreferenceImageView array.

public static int PreferenceImageView_maxWidth

This symbol is the offset where the maxWidth attribute's value can be found in the PreferenceImageView array.

public static final int[] PreferenceTheme

Attributes that can be used with a PreferenceTheme.

public static int PreferenceTheme_checkBoxPreferenceStyle

Default style for CheckBoxPreference.

public static int PreferenceTheme_dialogPreferenceStyle

Default style for DialogPreference.

public static int PreferenceTheme_dropdownPreferenceStyle

Default style for DropDownPreference.

public static int PreferenceTheme_editTextPreferenceStyle

Default style for EditTextPreference.

public static int PreferenceTheme_preferenceActivityStyle

Default style for the PreferenceActivity.

public static int PreferenceTheme_preferenceCategoryStyle

Default style for PreferenceCategory.

public static int PreferenceTheme_preferenceFragmentCompatStyle

Default style for Headers pane in PreferenceActivity.

public static int PreferenceTheme_preferenceFragmentListStyle

Preference fragment list style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int PreferenceTheme_preferenceFragmentPaddingSide

Preference fragment padding side

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int PreferenceTheme_preferenceFragmentStyle

Default style for Headers pane in PreferenceActivity.

public static int PreferenceTheme_preferenceHeaderPanelStyle

Preference headers panel style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int PreferenceTheme_preferenceInformationStyle

Default style for informational Preference.

public static int PreferenceTheme_preferenceLayoutChild

The preference layout that has the child/tabbed effect.

public static int PreferenceTheme_preferenceListStyle

Preference list style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int PreferenceTheme_preferencePanelStyle

Preference panel style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int PreferenceTheme_preferenceScreenStyle

Default style for PreferenceScreen.

public static int PreferenceTheme_preferenceStyle

Default style for Preference.

public static int PreferenceTheme_preferenceTheme

Theme for inflating Preference objects

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int PreferenceTheme_ringtonePreferenceStyle

Default style for RingtonePreference.

public static int PreferenceTheme_seekBarPreferenceStyle

Default style for seekbar preferences.

public static int PreferenceTheme_switchPreferenceCompatStyle

Default style for switch compat preferences.

public static int PreferenceTheme_switchPreferenceStyle

Default style for switch preferences.

public static int PreferenceTheme_yesNoPreferenceStyle

Default style for YesNoPreference.

public static int Preference_android_defaultValue

This symbol is the offset where the defaultValue attribute's value can be found in the Preference array.

public static int Preference_android_dependency

This symbol is the offset where the dependency attribute's value can be found in the Preference array.

public static int Preference_android_enabled

This symbol is the offset where the enabled attribute's value can be found in the Preference array.

public static int Preference_android_fragment

This symbol is the offset where the fragment attribute's value can be found in the Preference array.

public static int Preference_android_icon

This symbol is the offset where the icon attribute's value can be found in the Preference array.

public static int Preference_android_key

This symbol is the offset where the key attribute's value can be found in the Preference array.

public static int Preference_android_layout

This symbol is the offset where the layout attribute's value can be found in the Preference array.

public static int Preference_android_order

This symbol is the offset where the order attribute's value can be found in the Preference array.

public static int Preference_android_persistent

This symbol is the offset where the persistent attribute's value can be found in the Preference array.

public static int Preference_android_selectable

This symbol is the offset where the selectable attribute's value can be found in the Preference array.

public static int Preference_android_shouldDisableView

This symbol is the offset where the shouldDisableView attribute's value can be found in the Preference array.

public static int Preference_android_summary

This symbol is the offset where the summary attribute's value can be found in the Preference array.

public static int Preference_android_title

This symbol is the offset where the title attribute's value can be found in the Preference array.

public static int Preference_android_widgetLayout

This symbol is the offset where the widgetLayout attribute's value can be found in the Preference array.

public static int Preference_defaultValue

The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.

public static int Preference_dependency

The key of another Preference that this Preference will depend on.

public static int Preference_enabled

Whether the Preference is enabled.

public static int Preference_fragment

When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item.

public static int Preference_icon

The optional icon for the preference

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int Preference_key

The key to store the Preference value.

public static int Preference_layout

The layout for the Preference in a PreferenceActivity screen.

public static int Preference_order

The order for the Preference (lower values are to be ordered first).

public static int Preference_persistent

Whether the Preference stores its value to the shared preferences.

public static int Preference_selectable

Whether the Preference is selectable.

public static int Preference_shouldDisableView

Whether the view of this Preference should be disabled when this Preference is disabled.

public static int Preference_summary

The summary for the Preference in a PreferenceActivity screen.

public static int Preference_title

The title for the Preference in a PreferenceActivity screen.

public static int Preference_widgetLayout

The layout for the controllable widget portion of a Preference.

public static final int[] SwitchPreferenceCompat

Attributes that can be used with a SwitchPreferenceCompat.

public static int SwitchPreferenceCompat_android_disableDependentsState

This symbol is the offset where the disableDependentsState attribute's value can be found in the SwitchPreferenceCompat array.

public static int SwitchPreferenceCompat_android_summaryOff

This symbol is the offset where the summaryOff attribute's value can be found in the SwitchPreferenceCompat array.

public static int SwitchPreferenceCompat_android_summaryOn

This symbol is the offset where the summaryOn attribute's value can be found in the SwitchPreferenceCompat array.

public static int SwitchPreferenceCompat_android_switchTextOff

This symbol is the offset where the switchTextOff attribute's value can be found in the SwitchPreferenceCompat array.

public static int SwitchPreferenceCompat_android_switchTextOn

This symbol is the offset where the switchTextOn attribute's value can be found in the SwitchPreferenceCompat array.

public static int SwitchPreferenceCompat_disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled.

public static int SwitchPreferenceCompat_summaryOff

The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked.

public static int SwitchPreferenceCompat_summaryOn

The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked.

public static int SwitchPreferenceCompat_switchTextOff

The text used on the switch itself when in the "off" state.

public static int SwitchPreferenceCompat_switchTextOn

The text used on the switch itself when in the "on" state.

Public constructors

R.styleable()

Inherited methods

From class java.lang.Object

Fields

BackgroundStyle

int[] BackgroundStyle

Used to access some android attrs

Includes the following attributes:

AttributeDescription
android.support.v7.preference:selectableItemBackgroundNeed a non-android: attr here so that gradle doesn't remove it
android:selectableItemBackground

See also:

BackgroundStyle_android_selectableItemBackground

int BackgroundStyle_android_selectableItemBackground

This symbol is the offset where the selectableItemBackground attribute's value can be found in the BackgroundStyle array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

BackgroundStyle_selectableItemBackground

int BackgroundStyle_selectableItemBackground

Need a non-android: attr here so that gradle doesn't remove it

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb#aarrggbb".

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

CheckBoxPreference

int[] CheckBoxPreference

Base attributes available to CheckBoxPreference.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:disableDependentsStateThe state (true for on, or false for off) that causes dependents to be disabled.
android.support.v7.preference:summaryOffThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
android.support.v7.preference:summaryOnThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.
android:summaryOn
android:summaryOff
android:disableDependentsState

See also:

CheckBoxPreference_android_disableDependentsState

int CheckBoxPreference_android_disableDependentsState

This symbol is the offset where the disableDependentsState attribute's value can be found in the CheckBoxPreference array.

May be a boolean value, such as "true" or "false".

CheckBoxPreference_android_summaryOff

int CheckBoxPreference_android_summaryOff

This symbol is the offset where the summaryOff attribute's value can be found in the CheckBoxPreference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

CheckBoxPreference_android_summaryOn

int CheckBoxPreference_android_summaryOn

This symbol is the offset where the summaryOn attribute's value can be found in the CheckBoxPreference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

CheckBoxPreference_disableDependentsState

int CheckBoxPreference_disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

May be a boolean value, such as "true" or "false".

CheckBoxPreference_summaryOff

int CheckBoxPreference_summaryOff

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

CheckBoxPreference_summaryOn

int CheckBoxPreference_summaryOn

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_android_dialogIcon

int DialogPreference_android_dialogIcon

This symbol is the offset where the dialogIcon attribute's value can be found in the DialogPreference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

DialogPreference_android_dialogLayout

int DialogPreference_android_dialogLayout

This symbol is the offset where the dialogLayout attribute's value can be found in the DialogPreference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

DialogPreference_android_dialogMessage

int DialogPreference_android_dialogMessage

This symbol is the offset where the dialogMessage attribute's value can be found in the DialogPreference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_android_dialogTitle

int DialogPreference_android_dialogTitle

This symbol is the offset where the dialogTitle attribute's value can be found in the DialogPreference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_android_negativeButtonText

int DialogPreference_android_negativeButtonText

This symbol is the offset where the negativeButtonText attribute's value can be found in the DialogPreference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_android_positiveButtonText

int DialogPreference_android_positiveButtonText

This symbol is the offset where the positiveButtonText attribute's value can be found in the DialogPreference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_dialogIcon

int DialogPreference_dialogIcon

The icon for the dialog.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

DialogPreference_dialogLayout

int DialogPreference_dialogLayout

A layout to be used as the content View for the dialog. By default, this shouldn't be needed. If a custom DialogPreference is required, this should be set. For example, the EditTextPreference uses a layout with an EditText as this attribute.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

DialogPreference_dialogMessage

int DialogPreference_dialogMessage

The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_dialogTitle

int DialogPreference_dialogTitle

The title in the dialog.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_negativeButtonText

int DialogPreference_negativeButtonText

The negative button text for the dialog. Set to @null to hide the negative button.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

DialogPreference_positiveButtonText

int DialogPreference_positiveButtonText

The positive button text for the dialog. Set to @null to hide the positive button.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

ListPreference

int[] ListPreference

Base attributes available to ListPreference.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:entriesThe human-readable array to present as a list.
android.support.v7.preference:entryValuesThe array to find the value to save for a preference when an entry from entries is selected.
android:entries
android:entryValues

See also:

ListPreference_android_entries

int ListPreference_android_entries

This symbol is the offset where the entries attribute's value can be found in the ListPreference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ListPreference_android_entryValues

int ListPreference_android_entryValues

This symbol is the offset where the entryValues attribute's value can be found in the ListPreference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ListPreference_entries

int ListPreference_entries

The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ListPreference_entryValues

int ListPreference_entryValues

The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MultiSelectListPreference

int[] MultiSelectListPreference

Attributes that can be used with a MultiSelectListPreference.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:entriesThe human-readable array to present as a list.
android.support.v7.preference:entryValuesThe array to find the value to save for a preference when an entry from entries is selected.
android:entries
android:entryValues

See also:

MultiSelectListPreference_android_entries

int MultiSelectListPreference_android_entries

This symbol is the offset where the entries attribute's value can be found in the MultiSelectListPreference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MultiSelectListPreference_android_entryValues

int MultiSelectListPreference_android_entryValues

This symbol is the offset where the entryValues attribute's value can be found in the MultiSelectListPreference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MultiSelectListPreference_entries

int MultiSelectListPreference_entries

The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MultiSelectListPreference_entryValues

int MultiSelectListPreference_entryValues

The array to find the value to save for a preference when an entry from entries is selected. If a user clicks the second item in entries, the second item in this array will be saved to the preference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Preference

int[] Preference

Base attributes available to Preference.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:defaultValueThe default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.
android.support.v7.preference:dependencyThe key of another Preference that this Preference will depend on.
android.support.v7.preference:enabledWhether the Preference is enabled.
android.support.v7.preference:fragmentWhen used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item.
android.support.v7.preference:iconThe optional icon for the preference
android.support.v7.preference:keyThe key to store the Preference value.
android.support.v7.preference:layoutThe layout for the Preference in a PreferenceActivity screen.
android.support.v7.preference:orderThe order for the Preference (lower values are to be ordered first).
android.support.v7.preference:persistentWhether the Preference stores its value to the shared preferences.
android.support.v7.preference:selectableWhether the Preference is selectable.
android.support.v7.preference:shouldDisableViewWhether the view of this Preference should be disabled when this Preference is disabled.
android.support.v7.preference:summaryThe summary for the Preference in a PreferenceActivity screen.
android.support.v7.preference:titleThe title for the Preference in a PreferenceActivity screen.
android.support.v7.preference:widgetLayoutThe layout for the controllable widget portion of a Preference.
android:icon
android:persistent
android:enabled
android:layout
android:title
android:selectable
android:key
android:summary
android:order
android:widgetLayout
android:dependency
android:defaultValue
android:shouldDisableView
android:fragment

See also:

PreferenceFragmentCompat

int[] PreferenceFragmentCompat

Base attributes available to PreferenceFragment.

Includes the following attributes:

AttributeDescription
android:layout
android:divider
android:dividerHeight

See also:

PreferenceFragmentCompat_android_divider

int PreferenceFragmentCompat_android_divider

List separator to draw between preference views

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb#aarrggbb".

PreferenceFragmentCompat_android_dividerHeight

int PreferenceFragmentCompat_android_dividerHeight

List separator height

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

PreferenceFragmentCompat_android_layout

int PreferenceFragmentCompat_android_layout

The layout for the PreferenceFragment. This should rarely need to be changed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceGroup

int[] PreferenceGroup

Base attributes available to PreferenceGroup.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:orderingFromXmlWhether to order the Preference under this group as they appear in the XML file.
android:orderingFromXml

See also:

PreferenceGroup_android_orderingFromXml

int PreferenceGroup_android_orderingFromXml

This symbol is the offset where the orderingFromXml attribute's value can be found in the PreferenceGroup array.

May be a boolean value, such as "true" or "false".

PreferenceGroup_orderingFromXml

int PreferenceGroup_orderingFromXml

Whether to order the Preference under this group as they appear in the XML file. If this is false, the ordering will follow the Preference order attribute and default to alphabetic for those without the order attribute.

May be a boolean value, such as "true" or "false".

PreferenceImageView

int[] PreferenceImageView

Attributes that can be used with a PreferenceImageView.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:maxHeight
android.support.v7.preference:maxWidth
android:maxWidth
android:maxHeight

See also:

PreferenceImageView_android_maxHeight

int PreferenceImageView_android_maxHeight

This symbol is the offset where the maxHeight attribute's value can be found in the PreferenceImageView array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

PreferenceImageView_android_maxWidth

int PreferenceImageView_android_maxWidth

This symbol is the offset where the maxWidth attribute's value can be found in the PreferenceImageView array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

PreferenceImageView_maxHeight

int PreferenceImageView_maxHeight

This symbol is the offset where the maxHeight attribute's value can be found in the PreferenceImageView array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

PreferenceImageView_maxWidth

int PreferenceImageView_maxWidth

This symbol is the offset where the maxWidth attribute's value can be found in the PreferenceImageView array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

PreferenceTheme

int[] PreferenceTheme

Attributes that can be used with a PreferenceTheme.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:checkBoxPreferenceStyleDefault style for CheckBoxPreference.
android.support.v7.preference:dialogPreferenceStyleDefault style for DialogPreference.
android.support.v7.preference:dropdownPreferenceStyleDefault style for DropDownPreference.
android.support.v7.preference:editTextPreferenceStyleDefault style for EditTextPreference.
android.support.v7.preference:preferenceActivityStyleDefault style for the PreferenceActivity.
android.support.v7.preference:preferenceCategoryStyleDefault style for PreferenceCategory.
android.support.v7.preference:preferenceFragmentCompatStyleDefault style for Headers pane in PreferenceActivity.
android.support.v7.preference:preferenceFragmentListStylePreference fragment list style
android.support.v7.preference:preferenceFragmentPaddingSidePreference fragment padding side
android.support.v7.preference:preferenceFragmentStyleDefault style for Headers pane in PreferenceActivity.
android.support.v7.preference:preferenceHeaderPanelStylePreference headers panel style
android.support.v7.preference:preferenceInformationStyleDefault style for informational Preference.
android.support.v7.preference:preferenceLayoutChildThe preference layout that has the child/tabbed effect.
android.support.v7.preference:preferenceListStylePreference list style
android.support.v7.preference:preferencePanelStylePreference panel style
android.support.v7.preference:preferenceScreenStyleDefault style for PreferenceScreen.
android.support.v7.preference:preferenceStyleDefault style for Preference.
android.support.v7.preference:preferenceThemeTheme for inflating Preference objects
android.support.v7.preference:ringtonePreferenceStyleDefault style for RingtonePreference.
android.support.v7.preference:seekBarPreferenceStyleDefault style for seekbar preferences.
android.support.v7.preference:switchPreferenceCompatStyleDefault style for switch compat preferences.
android.support.v7.preference:switchPreferenceStyleDefault style for switch preferences.
android.support.v7.preference:yesNoPreferenceStyleDefault style for YesNoPreference.

See also:

PreferenceTheme_checkBoxPreferenceStyle

int PreferenceTheme_checkBoxPreferenceStyle

Default style for CheckBoxPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_dialogPreferenceStyle

int PreferenceTheme_dialogPreferenceStyle

Default style for DialogPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_dropdownPreferenceStyle

int PreferenceTheme_dropdownPreferenceStyle

Default style for DropDownPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_editTextPreferenceStyle

int PreferenceTheme_editTextPreferenceStyle

Default style for EditTextPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceActivityStyle

int PreferenceTheme_preferenceActivityStyle

Default style for the PreferenceActivity.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceCategoryStyle

int PreferenceTheme_preferenceCategoryStyle

Default style for PreferenceCategory.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceFragmentCompatStyle

int PreferenceTheme_preferenceFragmentCompatStyle

Default style for Headers pane in PreferenceActivity.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceFragmentListStyle

int PreferenceTheme_preferenceFragmentListStyle

Preference fragment list style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceFragmentPaddingSide

int PreferenceTheme_preferenceFragmentPaddingSide

Preference fragment padding side

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

PreferenceTheme_preferenceFragmentStyle

int PreferenceTheme_preferenceFragmentStyle

Default style for Headers pane in PreferenceActivity.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceHeaderPanelStyle

int PreferenceTheme_preferenceHeaderPanelStyle

Preference headers panel style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceInformationStyle

int PreferenceTheme_preferenceInformationStyle

Default style for informational Preference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceLayoutChild

int PreferenceTheme_preferenceLayoutChild

The preference layout that has the child/tabbed effect.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceListStyle

int PreferenceTheme_preferenceListStyle

Preference list style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferencePanelStyle

int PreferenceTheme_preferencePanelStyle

Preference panel style

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceScreenStyle

int PreferenceTheme_preferenceScreenStyle

Default style for PreferenceScreen.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceStyle

int PreferenceTheme_preferenceStyle

Default style for Preference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_preferenceTheme

int PreferenceTheme_preferenceTheme

Theme for inflating Preference objects

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_ringtonePreferenceStyle

int PreferenceTheme_ringtonePreferenceStyle

Default style for RingtonePreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_seekBarPreferenceStyle

int PreferenceTheme_seekBarPreferenceStyle

Default style for seekbar preferences.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_switchPreferenceCompatStyle

int PreferenceTheme_switchPreferenceCompatStyle

Default style for switch compat preferences.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_switchPreferenceStyle

int PreferenceTheme_switchPreferenceStyle

Default style for switch preferences.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PreferenceTheme_yesNoPreferenceStyle

int PreferenceTheme_yesNoPreferenceStyle

Default style for YesNoPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Preference_android_defaultValue

int Preference_android_defaultValue

This symbol is the offset where the defaultValue attribute's value can be found in the Preference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a floating point value, such as "1.2".

Preference_android_dependency

int Preference_android_dependency

This symbol is the offset where the dependency attribute's value can be found in the Preference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_android_enabled

int Preference_android_enabled

This symbol is the offset where the enabled attribute's value can be found in the Preference array.

May be a boolean value, such as "true" or "false".

Preference_android_fragment

int Preference_android_fragment

This symbol is the offset where the fragment attribute's value can be found in the Preference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_android_icon

int Preference_android_icon

This symbol is the offset where the icon attribute's value can be found in the Preference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Preference_android_key

int Preference_android_key

This symbol is the offset where the key attribute's value can be found in the Preference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_android_layout

int Preference_android_layout

This symbol is the offset where the layout attribute's value can be found in the Preference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Preference_android_order

int Preference_android_order

This symbol is the offset where the order attribute's value can be found in the Preference array.

May be an integer value, such as "100".

Preference_android_persistent

int Preference_android_persistent

This symbol is the offset where the persistent attribute's value can be found in the Preference array.

May be a boolean value, such as "true" or "false".

Preference_android_selectable

int Preference_android_selectable

This symbol is the offset where the selectable attribute's value can be found in the Preference array.

May be a boolean value, such as "true" or "false".

Preference_android_shouldDisableView

int Preference_android_shouldDisableView

This symbol is the offset where the shouldDisableView attribute's value can be found in the Preference array.

May be a boolean value, such as "true" or "false".

Preference_android_summary

int Preference_android_summary

This symbol is the offset where the summary attribute's value can be found in the Preference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_android_title

int Preference_android_title

This symbol is the offset where the title attribute's value can be found in the Preference array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_android_widgetLayout

int Preference_android_widgetLayout

This symbol is the offset where the widgetLayout attribute's value can be found in the Preference array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Preference_defaultValue

int Preference_defaultValue

The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a floating point value, such as "1.2".

Preference_dependency

int Preference_dependency

The key of another Preference that this Preference will depend on. If the other Preference is not set or is off, this Preference will be disabled.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_enabled

int Preference_enabled

Whether the Preference is enabled.

May be a boolean value, such as "true" or "false".

Preference_fragment

int Preference_fragment

When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_icon

int Preference_icon

The optional icon for the preference

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb#aarrggbb".

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Preference_key

int Preference_key

The key to store the Preference value.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_layout

int Preference_layout

The layout for the Preference in a PreferenceActivity screen. This should rarely need to be changed, look at widgetLayout instead.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb#aarrggbb".

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Preference_order

int Preference_order

The order for the Preference (lower values are to be ordered first). If this is not specified, the default ordering will be alphabetic.

May be an integer value, such as "100".

Preference_persistent

int Preference_persistent

Whether the Preference stores its value to the shared preferences.

May be a boolean value, such as "true" or "false".

Preference_selectable

int Preference_selectable

Whether the Preference is selectable.

May be a boolean value, such as "true" or "false".

Preference_shouldDisableView

int Preference_shouldDisableView

Whether the view of this Preference should be disabled when this Preference is disabled.

May be a boolean value, such as "true" or "false".

Preference_summary

int Preference_summary

The summary for the Preference in a PreferenceActivity screen.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Preference_title

int Preference_title

The title for the Preference in a PreferenceActivity screen.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb#aarrggbb".

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Preference_widgetLayout

int Preference_widgetLayout

The layout for the controllable widget portion of a Preference. This is inflated into the layout for a Preference and should be used more frequently than the layout attribute. For example, a checkbox preference would specify a custom layout (consisting of just the CheckBox) here.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SwitchPreferenceCompat

int[] SwitchPreferenceCompat

Attributes that can be used with a SwitchPreferenceCompat.

Includes the following attributes:

AttributeDescription
android.support.v7.preference:disableDependentsStateThe state (true for on, or false for off) that causes dependents to be disabled.
android.support.v7.preference:summaryOffThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
android.support.v7.preference:summaryOnThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.
android.support.v7.preference:switchTextOffThe text used on the switch itself when in the "off" state.
android.support.v7.preference:switchTextOnThe text used on the switch itself when in the "on" state.
android:summaryOn
android:summaryOff
android:disableDependentsState
android:switchTextOn
android:switchTextOff

See also:

SwitchPreferenceCompat_android_disableDependentsState

int SwitchPreferenceCompat_android_disableDependentsState

This symbol is the offset where the disableDependentsState attribute's value can be found in the SwitchPreferenceCompat array.

May be a boolean value, such as "true" or "false".

SwitchPreferenceCompat_android_summaryOff

int SwitchPreferenceCompat_android_summaryOff

This symbol is the offset where the summaryOff attribute's value can be found in the SwitchPreferenceCompat array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_android_summaryOn

int SwitchPreferenceCompat_android_summaryOn

This symbol is the offset where the summaryOn attribute's value can be found in the SwitchPreferenceCompat array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_android_switchTextOff

int SwitchPreferenceCompat_android_switchTextOff

This symbol is the offset where the switchTextOff attribute's value can be found in the SwitchPreferenceCompat array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_android_switchTextOn

int SwitchPreferenceCompat_android_switchTextOn

This symbol is the offset where the switchTextOn attribute's value can be found in the SwitchPreferenceCompat array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_disableDependentsState

int SwitchPreferenceCompat_disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

May be a boolean value, such as "true" or "false".

SwitchPreferenceCompat_summaryOff

int SwitchPreferenceCompat_summaryOff

The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_summaryOn

int SwitchPreferenceCompat_summaryOn

The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_switchTextOff

int SwitchPreferenceCompat_switchTextOff

The text used on the switch itself when in the "off" state. This should be a very SHORT string, as it appears in a small space.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchPreferenceCompat_switchTextOn

int SwitchPreferenceCompat_switchTextOn

The text used on the switch itself when in the "on" state. This should be a very SHORT string, as it appears in a small space.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Public constructors

R.styleable

R.styleable ()

Hooray!