public
static
final
class
R.styleable
extends Object
java.lang.Object | |
↳ | android.support.v14.preference.R.styleable |
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
" |
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 " |
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 |
public
static
int |
SwitchPreference_android_summaryOff
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_summaryOn
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_switchTextOff
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_switchTextOn
This symbol is the offset where the |
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
|
int[] PreferenceFragment
Base attributes available to PreferenceFragment.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
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".
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).
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
".
int[] SwitchPreference
Attributes that can be used with a SwitchPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| The state (true for on, or false for off) that causes dependents to be disabled. |
| The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. |
| The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. |
| The text used on the switch itself when in the "off" state. |
| The text used on the switch itself when in the "on" state. |
| |
| |
| |
| |
|
See also:
SwitchPreference_disableDependentsState
SwitchPreference_summaryOff
SwitchPreference_summaryOn
SwitchPreference_switchTextOff
SwitchPreference_switchTextOn
SwitchPreference_android_summaryOn
SwitchPreference_android_summaryOff
SwitchPreference_android_disableDependentsState
SwitchPreference_android_switchTextOn
SwitchPreference_android_switchTextOff
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
".
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;
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;
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;
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;
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.
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.
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.
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.
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.
R.styleable ()