Most visited

Recently visited

R.styleable

public static final class R.styleable
extends Object

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


Summary

Fields

public static final int[] PreferenceFragment

Base attributes available to PreferenceFragment.

public static int PreferenceFragment_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 PreferenceFragment_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 PreferenceFragment_android_layout

The layout for the PreferenceFragment.

public static final int[] SwitchPreference

Attributes that can be used with a SwitchPreference.

public static int SwitchPreference_android_disableDependentsState

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

public static int SwitchPreference_android_summaryOff

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

public static int SwitchPreference_android_summaryOn

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

public static int SwitchPreference_android_switchTextOff

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

public static int SwitchPreference_android_switchTextOn

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

public static int SwitchPreference_disableDependentsState

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

public static int SwitchPreference_summaryOff

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

public static int SwitchPreference_summaryOn

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

public static int SwitchPreference_switchTextOff

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

public static int SwitchPreference_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

PreferenceFragment

int[] PreferenceFragment

Base attributes available to PreferenceFragment.

Includes the following attributes:

AttributeDescription
android:layout
android:divider
android:dividerHeight

See also:

PreferenceFragment_android_divider

int PreferenceFragment_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".

PreferenceFragment_android_dividerHeight

int PreferenceFragment_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).

PreferenceFragment_android_layout

int PreferenceFragment_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".

SwitchPreference

int[] SwitchPreference

Attributes that can be used with a SwitchPreference.

Includes the following attributes:

AttributeDescription
android.support.v14.preference:disableDependentsStateThe state (true for on, or false for off) that causes dependents to be disabled.
android.support.v14.preference:summaryOffThe summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked.
android.support.v14.preference:summaryOnThe summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked.
android.support.v14.preference:switchTextOffThe text used on the switch itself when in the "off" state.
android.support.v14.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:

SwitchPreference_android_disableDependentsState

int SwitchPreference_android_disableDependentsState

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

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

SwitchPreference_android_summaryOff

int SwitchPreference_android_summaryOff

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

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

SwitchPreference_android_summaryOn

int SwitchPreference_android_summaryOn

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

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

SwitchPreference_android_switchTextOff

int SwitchPreference_android_switchTextOff

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

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

SwitchPreference_android_switchTextOn

int SwitchPreference_android_switchTextOn

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

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

SwitchPreference_disableDependentsState

int SwitchPreference_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 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.

SwitchPreference_summaryOff

int SwitchPreference_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 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.

SwitchPreference_summaryOn

int SwitchPreference_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 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.

SwitchPreference_switchTextOff

int SwitchPreference_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 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.

SwitchPreference_switchTextOn

int SwitchPreference_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 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.

Public constructors

R.styleable

R.styleable ()

Hooray!