public static final class R.attr
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
action_menu
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
backgroundColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
backgroundDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
bezel_width
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
borderColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
borderDashGap
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
borderDashWidth
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
borderRadius
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
borderStyle
Must be one of the following constant values.
|
static int |
borderWidth
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
buttonRippleColor
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
buttonSize
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
circle_border_cap
Must be one of the following constant values.
|
static int |
circle_border_color
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
circle_border_width
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
circle_color
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
circle_padding
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
circle_radius
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
circle_radius_percent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
circle_radius_pressed
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
circle_radius_pressed_percent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
circleCrop
Must be a boolean value, either "
true " or "false ". |
static int |
circular_scrolling_gesture_enabled
Must be a boolean value, either "
true " or "false ". |
static int |
color_sequence
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
colorScheme
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
dialogIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
dialogMessage
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
dialogTitle
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
dotColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
dotColorSelected
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
dotFadeInDuration
Must be an integer value, such as "
100 ". |
static int |
dotFadeOutDelay
Must be an integer value, such as "
100 ". |
static int |
dotFadeOutDuration
Must be an integer value, such as "
100 ". |
static int |
dotFadeWhenIdle
Must be a boolean value, either "
true " or "false ". |
static int |
dotRadius
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
dotRadiusSelected
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
dotShadowColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
dotShadowDx
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
dotShadowDy
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
dotShadowRadius
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
dotSpacing
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
drawer_content
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
drawer_title
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
fastScrollEnabled
Must be a boolean value, either "
true " or "false ". |
static int |
fastScrollHorizontalThumbDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
fastScrollHorizontalTrackDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
fastScrollVerticalThumbDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
fastScrollVerticalTrackDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
font
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
fontProviderAuthority
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
fontProviderCerts
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
fontProviderFetchStrategy
Must be one of the following constant values.
|
static int |
fontProviderFetchTimeout
May be an integer value, such as "
100 ". |
static int |
fontProviderPackage
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
fontProviderQuery
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
fontStyle
Must be one of the following constant values.
|
static int |
fontWeight
Must be an integer value, such as "
100 ". |
static int |
highlightColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
iconColor
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
image_circle_percentage
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
image_horizontal_offcenter_percentage
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
image_tint
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
imageAspectRatio
Must be a floating point value, such as "
1.2 ". |
static int |
imageAspectRatioAdjust
Must be one of the following constant values.
|
static int |
imageScaleMode
Must be one of the following constant values.
|
static int |
layout_aspectRatio
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_box
Must be one or more (separated by '|') of the following constant values.
|
static int |
layout_gravityRound
Must be one or more (separated by '|') of the following constant values.
|
static int |
layout_heightPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_heightRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layout_marginBottomPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginBottomRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layout_marginEndPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginLeftPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginLeftRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layout_marginPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginRightPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginRightRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layout_marginRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layout_marginStartPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginTopPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_marginTopRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layout_widthPercent
Must be a fractional value, which is a floating point number appended with either % or %p, such as "
14.5% ". |
static int |
layout_widthRound
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
layoutManager
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
maxTextSize
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
minTextSize
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
navigation_style
Must be one of the following constant values.
|
static int |
negativeButtonIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
neutralButtonIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
neutralButtonText
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
pageIndicatorDotColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
pageIndicatorDotColorSelected
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
pageIndicatorDotFadeInDuration
Must be an integer value, such as "
100 ". |
static int |
pageIndicatorDotFadeOutDelay
Must be an integer value, such as "
100 ". |
static int |
pageIndicatorDotFadeOutDuration
Must be an integer value, such as "
100 ". |
static int |
pageIndicatorDotFadeWhenIdle
Must be a boolean value, either "
true " or "false ". |
static int |
pageIndicatorDotRadius
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
pageIndicatorDotRadiusSelected
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
pageIndicatorDotShadowColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
pageIndicatorDotShadowDx
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
pageIndicatorDotShadowDy
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
pageIndicatorDotShadowRadius
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
pageIndicatorDotSpacing
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
peek_view
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
positiveButtonIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
pressedButtonTranslationZ
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
rangedValuePrimaryColor
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
rangedValueRingWidth
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
rangedValueSecondaryColor
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
rectLayout
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
reverseLayout
Must be a boolean value, either "
true " or "false ". |
static int |
roundLayout
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
scopeUris
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
scroll_degrees_per_screen
Must be a floating point value, such as "
1.2 ". |
static int |
shadow_width
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
show_overflow_in_peek
Must be a boolean value, either "
true " or "false ". |
static int |
showDialogWhenTurningOff
Must be a boolean value, either "
true " or "false ". |
static int |
showDialogWhenTurningOn
Must be a boolean value, either "
true " or "false ". |
static int |
showNegativeDialogButton
Must be a boolean value, either "
true " or "false ". |
static int |
showPositiveDialogButton
Must be a boolean value, either "
true " or "false ". |
static int |
spanCount
Must be an integer value, such as "
100 ". |
static int |
square_dimen
Must be one of the following constant values.
|
static int |
stackFromEnd
Must be a boolean value, either "
true " or "false ". |
static int |
textColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
textSize
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
textTypeface
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
titleColor
Must be a color value, in the form of "
#rgb ", "#argb ",
"#rrggbb ", or "#aarrggbb ". |
static int |
titleSize
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
titleTypeface
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
update_interval
Must be an integer value, such as "
100 ". |
| Constructor and Description |
|---|
attr() |
public static final int action_menu
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int backgroundColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int backgroundDrawable
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int bezel_width
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int borderColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int borderDashGap
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int borderDashWidth
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int borderRadius
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int borderStyle
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
solid | 1 | |
dashed | 2 |
public static final int borderWidth
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int buttonRippleColor
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
public static final int buttonSize
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
standard | 0 | |
wide | 1 | |
icon_only | 2 |
public static final int circleCrop
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_border_cap
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
butt | 0 | |
round | 1 | |
square | 2 |
public static final int circle_border_color
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_border_width
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_color
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_padding
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_radius
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_radius_percent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_radius_pressed
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circle_radius_pressed_percent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circular_scrolling_gesture_enabled
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int colorScheme
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
dark | 0 | |
light | 1 | |
auto | 2 |
public static final int color_sequence
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
public static final int dialogIcon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int dialogMessage
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dialogTitle
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotColorSelected
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotFadeInDuration
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotFadeOutDelay
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotFadeOutDuration
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotFadeWhenIdle
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotRadius
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotRadiusSelected
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotShadowColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotShadowDx
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotShadowDy
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotShadowRadius
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int dotSpacing
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int drawer_content
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int drawer_title
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int fastScrollEnabled
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int fastScrollHorizontalThumbDrawable
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int fastScrollHorizontalTrackDrawable
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int fastScrollVerticalThumbDrawable
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int fastScrollVerticalTrackDrawable
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int font
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int fontProviderAuthority
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int fontProviderCerts
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int fontProviderFetchStrategy
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
blocking | 0 | |
async | 1 |
public static final int fontProviderFetchTimeout
May be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
May be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
forever | -1 |
public static final int fontProviderPackage
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int fontProviderQuery
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int fontStyle
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | |
italic | 1 |
public static final int fontWeight
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int highlightColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int iconColor
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int imageAspectRatio
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int imageAspectRatioAdjust
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
adjust_width | 1 | |
adjust_height | 2 |
public static final int imageScaleMode
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
fit | 0 | |
center | 1 |
public static final int image_circle_percentage
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int image_horizontal_offcenter_percentage
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int image_tint
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layoutManager
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_aspectRatio
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_box
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
left | 0x01 | |
top | 0x02 | |
right | 0x04 | |
bottom | 0x08 | |
all | 0x0F |
public static final int layout_gravityRound
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | |
bottom | 0x50 | |
left | 0x03 | |
right | 0x05 | |
center_vertical | 0x10 | |
fill_vertical | 0x70 | |
center_horizontal | 0x01 | |
fill_horizontal | 0x07 | |
center | 0x11 | |
fill | 0x77 | |
clip_vertical | 0x80 | |
clip_horizontal | 0x08 | |
start | 0x00800003 | |
end | 0x00800005 |
public static final int layout_heightPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_heightRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginBottomPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginBottomRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginEndPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginLeftPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginLeftRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginRightPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginRightRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginStartPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginTopPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_marginTopRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_widthPercent
Must 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int layout_widthRound
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int maxTextSize
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int minTextSize
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int navigation_style
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
single_page | 0 | |
multi_page | 1 |
public static final int negativeButtonIcon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int neutralButtonIcon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int neutralButtonText
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotColorSelected
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotFadeInDuration
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotFadeOutDelay
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotFadeOutDuration
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotFadeWhenIdle
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotRadius
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotRadiusSelected
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotShadowColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotShadowDx
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotShadowDy
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotShadowRadius
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int pageIndicatorDotSpacing
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int peek_view
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int positiveButtonIcon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int pressedButtonTranslationZ
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int rangedValuePrimaryColor
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int rangedValueRingWidth
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int rangedValueSecondaryColor
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int rectLayout
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int reverseLayout
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int roundLayout
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static final int scopeUris
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to 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.
public static final int scroll_degrees_per_screen
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int shadow_width
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int showDialogWhenTurningOff
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int showDialogWhenTurningOn
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int showNegativeDialogButton
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int showPositiveDialogButton
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int show_overflow_in_peek
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int spanCount
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int square_dimen
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
height | 1 | |
width | 2 |
public static final int stackFromEnd
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int textColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int textSize
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int textTypeface
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int titleColor
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int titleSize
Must 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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int titleTypeface
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int update_interval
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.


| 3702 - ASCII Art Europe - Northeastern Europe & Russian Republic - 2006/2007 | |||||
| Submit | Ranking |
ASCII art is an art of creating pictures with a grid of ASCII characters. There are many styles of ASCII art, but we are interested in the most primitive one, where just an overall character density is used to represent differently shaded areas of the picture.
You should write a proof-of-concept program that renders a filled closed polygon with a rectangular grid of ASCII characters. The whole process is explained in detail below.
Let OXY
The input will contain several test cases, each of them as described below.
Consecutive test cases are separated by a single blank line.
The first line of the input contains integers n
For each test case, the output must follow the description below.
The outputs of two consecutive cases will be separated by a blank line.
Write to the output h
Pixel percentage area filled Character name Glyph ASCII code From 0% inclusive to 25% exclusive Full stop . 46 From 25% inclusive to 50% exclusive Plus sign + 43 From 50% inclusive to 75% exclusive Small letter o o 111 From 75% inclusive to 100% exclusive Dollar sign $ 36 100% Number sign # 35
The resulting ASCII characters for all pixels are
printed top-to-bottom and left-to-right to get a visual representation
of the drawing.
Input
Output
Sample Input
6 8 7
7 6
1 0
1 7
5 5
2 4
2 3
Sample Output
.$+.....
.##$+...
.#$oo+..
.#+$o...
.##o....
.#o.....
.o......
Northeastern Europe & Russian Republic 2006-2007


Backgrounds
Backgrounds are an important group of classes that let you control images, gradients and color background properties.
Background Color
bg-COL-STR
transparent
current
black
white
gray
red
yellow
green
blue
indigo
purple
pink
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
Background colors are specified using the bg shortcut, plus a color name, plus a strength. 500 is about the medium strength for each of the colors although I think that 300 might be a better name for yellow and 600 yello looks more orange to me.
There is also of course transparent black and white and current, which is just whatever the current color happens to be. I think the colors I'm listing here are pretty self explanatory, so I'm not giving you a complex sample here, but don't worry you'll have plenty of opportunities to try these in other samples.
Background Opacity
bg-opacity-AMT
- AMT (opacity/100)
0
5
10
20
25
30
40
50
60
70
75
80
90
95
100
- AMT (opacity/100)
Background opacity is pretty straightforward with the usual values you might have seen before from 0 to 100%. The cool thing is that you can change the background opacity in the same place as the color and other parameters.
Interesting to note that this doesn't affect the opacity of any background image, just the opacity of the background color.
Background Image
bg(-none)|(-gradient-to)(-DIR)
- DIR
t
tr
r
br
b
bl
l
tl
- DIR
Although there's a set of classes referred to in the docs as the background image classes, you can't really use images. It's meant to let you use the background-image
css property to insert a set of gradients.
To use it you specify either bg-none for no background or bg-gradient-to and then a direction. The direction are the typical top right bottom left with the additional corners in one of two letter directions.
These classes don't make sense without a gradient stop. It's a separate set of classes we'll explore next, but I've included one in the sample so you can see it in action.
Gradient Color Stops
(from|via|to)-COL-AMT
transparent
current
black
white
gray
red
yellow
green
blue
indigo
purple
pink
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
800
900
To create gradient color steps, you simply use one of three keywords from, via and to to specify a breakpoint for your gradients.
You are still going to need to specify a direction with a background image class.
If you only specify a from
color stop it will go to white. If you also specify to
then the gradient will start from
one color and go to
the ending color. Remember that the direction might be set right to left, so the gradient can look like it's going backwards.
With the via
keyword you add a middle point for the gradient. You cannot add more than one mid point.
Background Size
bg(-SIZ)
- TYP
auto
cover
contain
- TYP
Let's move on to background images. This sounds weird, but there isn't a way to specify the URL of an image you want to use for the background, so you can do that using the style attribute (take a look at the example).
But you can specify most css properties like the background size. You can use auto
, which just shows the image in it's natural size; or cover
, which tries to fit the image so that it completely fills the background, resizing as necessary...this is a pretty common type; Finally, there's contain
, which makes the whole image fit in the box.
This is one of those sets of classes that you're probably want to use with other classes so take a look at the example.
Background Repeat
bg(-REP)
- TYP
repeat
no-repeat
repeat-x
repeat-y
repeat-round
repeat-space
- TYP
Let's move on to background images. This sounds weird, but there isn't a way to specify the URL of an image you want to use for the background, so you can do that using the style attribute (take a look at the example).
But you can specify most css properties like the background size. You can use auto
, which just shows the image in it's natural size; or cover
, which tries to fit the image so that it completely fills the background, resizing as necessary...this is a pretty common type; Finally, there's contain
, which makes the whole image fit in the box.
This is one of those sets of classes that you're probably want to use with other classes so take a look at the example.
Background Position
bg(-POS)
- TYP
bottom
center
left
left-bottom
left-top
right
right-bottom
right-top
top
- TYP
Positions are available for when you are not repeating an element and follow a traditional TRBL or top right bottom left order with corners added as well, so you end up with left-bottom, left-top, etc.


An implementation of a hybrid method of person-oriented method and perturbation on the model. Pompom is the initials of the two methods. The hybrid method will provide a multivariate intraindividual variability metric (iRAM). The person-oriented method used in this package refers to uSEM (unified structural equation modeling, see Kim et al., 2007, Gates et al., 2010 and Gates et al., 2012 for details). Perturbation on the model was conducted according to impulse response analysis introduced in Lutkepohl (2007). Kim, J., Zhu, W., Chang, L., Bentler, P. M., & Ernst, T. (2007) <doi:10.1002/hbm.20259>. Gates, K. M., Molenaar, P. C. M., Hillary, F. G., Ram, N., & Rovine, M. J. (2010) <doi:10.1016/j.neuroimage.2009.12.117>. Gates, K. M., & Molenaar, P. C. M. (2012) <doi:10.1016/j.neuroimage.2012.06.026>. Lutkepohl, H. (2007, ISBN:3540262393).
| Version: | 0.2.0 |
| Depends: | R (≥ 3.0.0) |
| Imports: | lavaan (≥ 0.5-23.1097), ggplot2 (≥ 2.2.1), reshape2 (≥ 1.4.2), qgraph, utils |
| Suggests: | knitr, rmarkdown, testthat |
| Published: | 2018-07-13 |
| Author: | Xiao Yang [cre, aut], Nilam Ram [aut], Peter Molenaar [aut] |
| Maintainer: | Xiao Yang <xfy5031 at psu.edu> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | pompom results |
| Reference manual: | pompom.pdf |
| Vignettes: |
3-node-example |
| Package source: | pompom_0.2.0.tar.gz |
| Windows binaries: | r-devel: pompom_0.2.0.zip, r-release: pompom_0.2.0.zip, r-oldrel: pompom_0.2.0.zip |
| OS X binaries: | r-release: pompom_0.2.0.tgz, r-oldrel: pompom_0.2.0.tgz |
| Old sources: | pompom archive |
Please use the canonical form https://CRAN.R-project.org/package=pompom to link to this page.


Prior to digging into the best practices associated with classes and ids, lets look into what are tags and selectors.
While HTML has ‘tags’ (used to delimit the start and end of elements in the markup.) CSS has ‘selectors’.
And selectors are the names given to styles in internal and external style sheets (see diagram below). Selectors use the names of HTML tags and are used to change the style of a specific type of element, as you can see when having a look at the above images.
Alright, so in brief, class and Ids are selectors. And to help you in understanding one step further in the way they work, we could say that ID’s and classes are “hooks”!
The class selector is used to specify a style for a group of HTML elements. Unlike the id selector, the class selector is most often used on several HTML elements.This allows you to set a particular style for many HTML elements with the same class.The class selector uses the HTML class attribute, and is defined with a "."
The Id selector, identifies a unique element in your entire page. No other element should be declared with the same id. The css id selector is used to specify a style for a single, unique element. The css id selector uses the HTML element with the id attribute, and is defined with a "#".
Now, that we covered how class “.” and id “#”works as CSS selectors and how they hook the respective html element attribute they want to style, let’s finally move to the best practices.
Based on the very cool fact that ID’s are unique (Each element can have only one ID, Each page can have only one element with that ID) and that classes are not (You can use the same class on multiple elements, You can use multiple classes on the same element.), special attention should be placed on how and where they are used
Another key difference in IDs vs. classes is that IDs tend to be more associated with javascript programming (i.e, a javascript function which finds a certain ID and performs an action on it, such as changing a color), while CSS is mostly associated with how your web looks like.
Having discussed all of the above in regards to classes and id's, it is time to get a step deeper in terms of best practices. The material above surely will help in making sense of the following wise advise.
Use them only if really necessary and there is no other possible way as in the future it will be least of a maintenance burden. Also keep in mind that Id’s have a much higher specificity than classes . Let only a cvalss, on its own cannot change styles which belong to an ID. So in other words to change an Id you will have to either us more Id’s or to use “!important” which is not the wisest thing to do as it could leas to conflicts in your stylesheet leading you to restructure your HTML. So yeah nah!
Special Note: ID’s have a special browser functionality that classes do not have. The “hash value” also known as the fingerprints for files! This is just another important reason why ID’s have to be absolutely unique. So your browser knows where to scroll and finds them!
Choose to use names which would highlight the functionality of the element. For :
If derive a name from an element’s function is not possible, or in the very case where you would introduce something only for styling purposes, using a generic; a “neutral” name is advised. Once mnore in terms of long term maintenance, will give coders less of a headache.Special note: Choose to use names “that are as short as possible but as Long as Necessary.Generally speaking, try to get to the point (nav), but don’t sacrifice comprehension (about).” Jens Oliver Meiert
I hope that this little insight on classes and ID’s have helped in clearing the hows and the whys linked to them. I would like to leave you with, what can be qualified as THE basic and essential rule to keep in mind when using CSS slectors “class” and “id”. Remember that id is used for single elements that appear only once on your page (e.g. header, footer, menu), whereas class can be used for single and/or multiple elements that appear on the page for once and/or more than once (e.g. paragraphs, links, buttons, input boxes).


Author
Title
Year
Type
Article
Book
Improceedings
Collection
Author
Title
Year
Type
ABC
CS605
2017
Article
BCD
CS615
2018
Book
CDE
CS610
2019
Improceedings
Move Reference
Enter library to which reference is to be moved
Library 1
Library 2
Library 3
Library 4
Submit


Velocity is often used to generate web pages in applications, usually as a direct replacement for JSP. Some of the benefits of using Velocity to generate web pages are:
This document provides some basic info on getting started with Velocity in a web application.
The primary purpose of the Velocity engine is simply to generate text based on a template. Consequently, Velocity does not contain any web-related functionality in and of itself. To make a web application, you will need a framework to respond to HTTP requests, handle user authentication, make business logic calls, and generate a response. There are several strong contenders.
As a side note, you may also come across references to VelocityServlet, which is a deprecated servlet that was included in the Velocity Engine up to version 1.4. Since VelocityServlet is no longer being maintained we strongly recommend you use VelocityViewServlet in Velocity Tools instead.
There are a few issues with Velocity that are specific to web applications. Here is a brief discussion of the most commonly encountered issues.
The default Velocity Engine settings make use of the FileResourceLoader. This is great for most applications that are not deployed to a servlet engine. Once you need to build a web application and ship or deploy it as a WAR file, the FileResourceLoader can become your worst enemy. So, we explicitly recommend you do NOT use the FileResourceLoader for your web applications.
Really, any of the other ResourceLoader implementations out there are preferred, but all the other ResourceLoaders shipped with Velocity Engine will require you to store your templates somewhere besides the standard file system (e.g. in the classpath, in a database, or on a remote server). If that works for you, then great! However, we recognize that these are not convenient for most people's development cycle.
The simplest replacement for FileResourceLoader in a web application is actually a part of the VelocityTools project. It is the WebappLoader . This ResourceLoader implementation is specifically designed to work just like the FileResourceLoader, but it is aware of the servlet context and allows you to configure resource paths relative to the servlet root, rather than the local file system.
If you are using the VelocityViewServlet, then it is automatically configured and ready to use the WebappLoader. So if you want to change the configured path(s), you need only add a line like the following to your velocity.properties:
webapp.resource.loader.path=/WEB-INF/mytemplates/
If you need to set the WebappLoader up on your own, then you can make your properties something like this:
resource.loader=webapp webapp.resource.loader.class=org.apache.velocity.tools.view.servlet.WebappLoader webapp.resource.loader.path=/WEB-INF/mytemplates/
You will also need to put the ServletContext into your VelocityEngine's application attributes before initializing that Engine. This is how the WebappLoader knows how to find templates.
myVelocityEngine.setApplicationAttribute("javax.servlet.ServletContext", servletContext);
Velocity provides the ability to call any method of an object acting as a reference. This can be useful when displaying information into the page but is dangerous when object or application state is modified.
For example, the following code safely calls the size() method of a list and displays the result.
There are $users.size() currently logged in.
An example of an unsafe operation concerns a financial web page with an object in the context that calculates data year by year. The method calculateNextYear() calculates data for the next year and advances an internal counter:
2005 data: $table.data $table.calculateNextYear() 2006 data: $table.data
The problem with this approach is that the code cannot be repeated in multiple parts of the page. You may not intend to do so, but it's easy to forget this when cutting and pasting or writing control statements (such as #if or #foreach). This becomes more of an issue when you are dealing with application or session-level state.
The (strongly) recommended practice is to only use Velocity for inserting information into text. Method calls can be useful to retrieve information. However, it's generally a bad idea to use a method call to change object state, and it's always a bad idea to change application state.
If you find yourself needing to change object state (as in the previous example) try precalculating all the possible values in the controller and putting them in a List or Map. Any changes to application state should always be done by the controller.
On a related note, you should always put a List or Set into the context instead of an Iterator or Enumeration. This allows the collection to be used more than once in the page with no change in behavior.
Any user-entered text that contains special HTML or XML entities (such as <, >, or &) needs to be escaped before included in the web page. This is required, both to ensure the text is visible, and also to prevent dangerous cross-site scripting . Unlike, for example, JSTL (the Java Standard Tag Language found in Java Server Pages), Velocity does not escape references by default.
However, Velocity provides the ability to specify a ReferenceInsertionEventHandler
which will alter the value of a reference before it is inserted into the page.
Specifically, you can configure the EscapeHtmlReference
handler into your velocity.properties
file to escape all
references (optionally) matching a regular expression.
The following example will escape HTML entities in any reference that starts with
"msg" (e.g. $msgText
).
eventhandler.referenceinsertion.class = org.apache.velocity.app.event.implement.EscapeHtmlReference eventhandler.escape.html.match = /msg.*/
Note that other kinds of escaping are sometimes required. For example, in style sheets the @ character needs to be escaped, and in Javascript strings the single apostrophe ' needs to be escaped.
Since a web application is running on a central server, that typically has multiple users and confidential resources,
care must be taken to make certain that the web application is secure. Most standard web security principles apply to a
web application built with Velocity. A few specific issues (such as system configuration, more on cross-site scripting,
and method introspection) are written up in this article on
Building Secure Applications with Velocity
.
In particular, you may want to prevent template designers from including "dangerous" reflection-related methods
by specifying the SecureUberspector
to get/set properties and execute method calls.
runtime.introspector.uberspect = org.apache.velocity.util.introspection.SecureUberspector
A minor point is that (in some circumstances) Velocity, in the absence of any log-related configuration, creates a log file in the current directory. When Velocity is used in a web application the "current directory" is usually the current directory from which the application server is started. If you start seeing the file "velocity.log" files in random places on your server filesystem, check the Velocity log configuration. This is due to the default use of the Avalon Log Kit when present in the classpath. Typically this occurs when Velocity is used within a web application outside of web page generation (e.g. for sending email). To solve this problem, remove any file labeled "avalon-logkit" from the classpath or properly configure the log file location.
What follows is a brief tutorial on building a simple web app with VelocityViewServlet. Note that it suggests you compile VelocityViewServlet from the source. This isn't actually required to use VelocityViewServlet but we recommend it in this case in order to see the source and then compile the example files.
Prerequisites for doing the following include the Java Developer's Kit (JDK) and Apache Ant .
For more information, consult the Velocity Tools documentation.
ant example.simple
  I'm a velocity template. #if( $XHTML ) #set( $br = "
" ) #else #set( $br = "
" ) #end $br $br Here we use a custom tool: $toytool.message $br $br Here we get the date from the DateTool: $date.medium
<toolbox> <xhtml>true</xhtml> <tool> <key>toytool</key> <class>ToyTool</class> </tool> <data type="number"> <key>version</key> <value>1.1</value> </data> <data type="boolean"> <key>isSimple</key> <value>true</value> </data> <data type="string"> <key>foo</key> <value>this is foo.</value> </data> <data type="string"> <key>bar</key> <value>this is bar.</value> </data> <tool> <key>map</key> <class>java.util.HashMap</class> </tool> <tool> <key>date</key> <scope>application</scope> <class>org.apache.velocity.tools.generic.DateTool</class> </tool> </toolbox>
<web-app> <servlet> <servlet-name>velocity</servlet-name> <servlet-class> org.apache.velocity.tools.view.servlet.VelocityViewServlet </servlet-class> <init-param> <param-name>org.apache.velocity.toolbox</param-name> <param-value>/WEB-INF/toolbox.xml</param-value> </init-param> <load-on-startup>10</load-on-startup> </servlet> <servlet-mapping> <servlet-name>velocity</servlet-name> <url-pattern>*.vm</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.vm</welcome-file> </welcome-file-list> </web-app>
http://localhost:8080/simple/index.vm


Abigail Zelen Photography
I'm so glad you're here! Here you can find my portfolio, read about my latest adventures, photography discoveries, and more. Here are some of photography passions:
- Macro Photography
- Nature/landscapes
- Portraits
Want to learn more about me and my buisness?


This post demonstrates how to order an ecto query by a text field. by sending the order raw sql query through Ecto.Query.API.fragment/1
Sample table
Assuming we want to query a table containing a list of scheduled jobs with known statuses. e.g
RUNNING
, PENDING
, COMPLETED
, FAILED
| id | task_ref | status | last_exec_timestamp |
|---|---|---|---|
| 1 | 2232323 | PENDING |<PHONE_NUMBER> |
| 2 | 2232324 | FAILED |<PHONE_NUMBER> |
| 4 | 2232326 | RUNNING |<PHONE_NUMBER> |
| 5 | 2232326 | RUNNING |<PHONE_NUMBER> |
| 6 | 2232326 | FAILED |<PHONE_NUMBER> |
| 7 | 2232326 | COMPLETED |<PHONE_NUMBER> |
| 8 | 2232326 | FAILED |<PHONE_NUMBER> |
Our objective is to:
- Fetch all rows
- Order the rows in the following order
RUNNING > PENDING > COMPLETED > FAILED
Off we go
#SomeModule
import Ecto.Query
@statuses_order """
(case(?)
when 'RUNNING' then 1
when 'PENDING' then 2
when 'COMPLETED' then 3
else 4
end)
"""
def your_function do
from(j in Jobs)
|> order_by([j], asc: fragment(@statuses_order, j.status))
|> Repo.all()
end
The jobs table records will be returned in the order which we have specified in the @statuses_order
module attribute string.
Read more here here,


{% extends "bootstrap/base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block styles %} {{super()}} {% endblock %} {% block content %}
Pitch Perfect allows you to put forth pitches in various categories. You can browse the page to view posted pitches or submit your own.
TITLE: {{p.title}}
CATEGORY: {{p.category}}
PITCH: {{p.description}}
Submitted by: {{p.owner.username}}
{{comment.content}}
{% endfor %}


Both libraries and microservices provide a way of providing a functionality behind a versioned interface. In the case of a microservice the versioning needs to be supported by the service on its external interfaces (eg versioned messages or apis), in the case of a library the version is applied by the version of the package. In each case we have decoupled functionality.
Each method has particular advantages and scenarios which it suits best.
TL;DR
Opt in vs automatic updates
Libraries and microservices have one defining difference which is who makes the decision to change the running implementation. In the case of a library the consumer opts for a new implementation, in the case of microservices the provider provides a new implementation at will (hopefully) meet the previous version contracts.
To use an analogy a microservice is similar to a SaaS application whereas a library is like an installed application.
Globally vs internally consistent implementation
Microservices provide a consistent implementation for all consumers at any given time. This means that changes to the implementation are immediately applied everywhere. However if an application makes two calls to a microservice the implementation may differ between these calls. In contrast two calls to the same library are guaranteed to use the same implementation, however two applications using the same library are not guaranteed to be using the same implementation.
To look at it another way if you want repeated calls to return the same result then a library is the best answer, however if you want all consumers to receive the same result then a microservice is best.
Versioned vs unversioned internal persisted state
Internal state is state which is used by the implementation, not passed by the caller and shared between all instances of the implementation (for example data in a database). For a library to use internal state it must be backward compatible with all previous versions, so that any version of the implementation can write valid state. This practically means that any new data added by new implementations must be nullable, and old data cannot change its format. In my opinion this restriction means that it’s best not to use internal persisted state with library code. If you require persisted state get it passed in by the caller, who is responsible for handling any version mutations.
In comparison microservice can have un-versioned internal persisted state without causing an update problem when changing the representation of that state. This allows a microservice to confidently change its internal state representation without breaking any of the consumers of the service.
In my opinion this is the biggest separator of microservices and libraries.
Failure conditions
Libraries and microservices have different failure conditions. These largely depend on the transport used to consume the microservice. In most cases a library will have far fewer failure scenarios as microservices have more moving parts (for example web servers, other running processes etc.) however if you are using asynchronous communication (such as messaging) microservices have some benefits in terms of failure scenarios. For example if an error occurs in a library the consumer must handle that failure, however if an error occurs inside a microservice consuming a message, the message can be deferred and replayed automatically allowing the error to be resolved rather than handled. This can be a big benefit in some scenarios.
If your microservice uses synchronous communication (such as http), it is exposed to many more failure conditions, such as what do you do if its is unavailable, slow, or there is some kind of infrastructure issue.
Low overheads vs horizontal scaling
Libraries naturally have lower overheads as they operate without requiring serialisation and other cross process/machine costs which microservice transports are subject to. While there are techniques to mitigate these costs, microservices will always have some kind of overhead which may affect synchronous communication. However when it comes to asynchronous communication microservices allow the processing to be spread across multiple machines easily which gives a horizontal scaling characteristic.


Hello Week
v1.4.1
Home
Documentation
Demos
Download
Range Dates
Highlight Dates
Disabled Days Week
Min and Max Dates


--- layout: post title: Nuetrogena Fine Fairness SPF 20/PA+ tags: - Neutrogena status: publish type: post published: true meta: _edit_last: '2' _graphene_slider_img: global _graphene_slider_imgurl: '' _graphene_show_addthis: global al2fb_facebook_image_id: '1610' _aioseop_title: Nuetrogena Fine Fairness _aioseop_keywords: Nuetrogena Fine Fairness SPF 20 al2fb_facebook_link_id: '218440691518395_298698033492660' al2fb_facebook_link_time: '2011-11-02T15:25:00+00:00' al2fb_facebook_link_picture: meta=http://missenchanted.com/wp-content/uploads/2011/10/IMG_2246-150x150.jpg _yoast_wpseo_linkdex: '0' _thumbnail_id: '1604' --- Fine fairness.. can't define it :). I had been looking for a perfect day cream for myself with SPF. I have always struggled with SPF's they tend to bring down my color and most of them feel sticky(I have oily and acne prone skin). I ordered a 20g small tube of this from healthkart for trial. Price: Rs. 90 after online discount Contains : What I like about the product:


{{ movie.overview }}
Average Vote Rating: {{movie.vote_average}}
Number of Votes: {{movie.vote_average}}


Note: the +/-. button changes the current number's sign and does not act like a plus or minus sign like in other calculators. 0 is used as an empty number or to multiply numbers by 10, thus it's not avaliable to be multiplied like "9*0" or similar equations as they have no use.


Choose your duration then click the topic
hours of study
Resources:
- Gov BC: IDS Rules
- Javascript: w3schools Javascript
- PHP: w3schools PHP
- Electronics for Robotics: Particle.io Photon
- Machine Learning: Tensorflowjs
- Fraser Valley GearBots: http://www.gearbots.org/
- 3D Printing: http://fvmakers.com/
General Safety:
- As this is an independent study, safety and sensible decisions is paramount. A high level of safe decisions is needed to remain doing the IDS course.
- No use of liquids without a knowledgeable adult present
- No assignments using (flying) drones
-
-
-
-


Published on December 03, 2017 and updated on November 02, 2021.
Update November 02, 2021: since this post was published, Google announced several new features for its search engine, the most notable being BERT, a unsupervised natural language processing model. On June 2021, user experience related metrics were added to ranking criteria.
The intelligence behind search
Search algorithms are black boxes. It is not properly known how they work, but there are many guesses from those who try to reverse engineering them. Despite what do we know about their inner workings, we do know that providers always try to improve them to achieve one specific goal: solve problems. Consider this graphic, available in a post from Avinash Kaushik:
Many features were introduced into Google Search. In 2010 Google Instant was launched, an updated derived from Google Suggest, an autocomplete box with search suggestions. This launch was part of Google’s objective to change how search works. Since before 2010, Google search was already trying to deliver the best content for each search term. Gradually this goal shifted to solve user’s problems instead. For that, the search engine was more and more capable of “understanding” the reason behind searches, something nowadays known as search intent.
This paradigm shift started on February 2011. As Google was indexing more and more content, users started complaining about search quality being shown on the SERP (Search Engine Results Page). In answer, Google launched an update to its algorithm called Panda, changing the rank for 12% of all indexed websites. Three months before, Instant Previews was launched, allowing users to sneak preview pages before entering them. Around the same time, websites that were trying to bypass the algorithm in order to be on the first page were being punished.
Fast forward from 2011, many updates focused on user experience were launched. Known tactics like keyword stuffing on content, meta tags or buying links were losing its effectiveness, and improvements like mobile navigation were increasing the chances of a website being shown on search results.
User intent
To follow up changes, SEO professionals started to focus on what was called Search Task Accomplishment. The goal now was to know the intention behind each search and optimize content to match that intent, not only bring more traffic anymore.
In case you’re familiar with CRO, you should have noticed how things are connecting with one another. Since SEO professionals should now look inside the product, a partnership with CRO professionals become indispensable.
Conversion optimization outside the product
CRO specialists can spend all their time looking only inside the product, working with whatever traffic is available. This raises a problem when what brought the visitors to the website is unknown, since it is not possible to deliver the right content at the right time. Organic search visitors typed keyword that brought back results related to the query. One of these results caught the attention and resulted in a click, which brought the visitor. There is an expectation to be matched on “the other side of the search”. If the content doesn’t match with that expectation, chances are that the visitor will leave the product and click on another result. CRO specialists should have this in mind in order to capture their attention the second they enter the product through a search result.
Unlike explorers, visitors coming from search engines very likely already know what they're looking for, or at least that they need to learn more about a particular topic. Understand search intention and create content that match that intention as soon as the visitor enters the website is fundamental to keep that visitor engaged. CRO specialists can identify who came from search engines, the keyword that was used to show the website at SERP and optimize the content for those visitors by testing.
A team focused on solving people’s problems
A team with SEO and CRO professionals have vision and competence to adapt customer journeys to match what is expected from those who will experience them. It is possible, though, that in some circumstances, members of each team disagree with one another on how this should be accomplished. CRO specialists focus on conversions and SEO specialists optimize content to drive traffic to the product. In an hypothetical example, a CRO team member may propose to remove content in order to remove friction, but someone from the SEO department can counterargument that this is harmful since will mismatch search intent and what is being offered inside the product. Communication problems like those can be extinguished if both teams work together to improve the entire customer journey, from search to conversion.
Further reading
- Folks at Moz and Omniconvert recorded a webinar explaining in details the relationship between SEO and CRO, and the slides that were presented are available online.
Let’s solve problems!


About Us
We take great pleasure in introducing ourselves as one of India's leading merchant exporters.
To meet the changing needs of our valued customers, we specialise in a wide variety of chemical products.
Sunrise Exporter stands out because it offers a competitive price, personalised service,
and welcomes orders of all sizes - you will undoubtedly receive a response from us. We provide continuous
input to our clients and suppliers on the quality of the commodity, its availability, and the location and distance from destination of the containers;
we provide a one-stop solution for all of our clients needs. From sourcing to shipping, and from logistics support to distribution, we've got you covered.
At Sunrise Exporter, we ensure certain that our customers receive their orders on time and in accordance with their specifications.
Our primary mission is to strive for customer delight, and all of our processes are structured to reach Customer Goals!


{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% import "_macros.html" as macros %} {% block title %}Dawn of Worlds{% endblock %} {% block page_content %}
Please pardon the dust. This is a website meant to help play the Dawn of Worlds collaborate worldbuilding roleplaying game.


Pukki sparks party as Finland make history by sealing Euro 2020 berth
by BeSoccerTeemu Pukki scored twice on an historic night for Finland, who will finally grace a major tournament when they appear at Euro 2020.
Finland qualified for a major tournament for the first time by defeating Liechtenstein 3-0 to book their place at Euro 2020.
Delighted fans flooded the pitch at full-time of the Group J fixture at the Telia 5G Areena in Helsinki as Finland guaranteed second place behind Italy.
Jasse Tuominen opened the scoring in the 21st minute and Finland were really dreaming when Norwich City striker Teemu Pukki doubled the lead from the penalty spot midway through the second half.
A second for Pukki with 15 minutes remaining ensured the celebrations could really begin for the home fans.
The result means Bosnia-Herzegovina can only reach the Euros via the play-offs.