| Modifier and Type | Field and Description |
|---|---|
static int |
centered
Must be a boolean value, either "
true" or "false". |
static int |
clipPadding
Screen edge padding.
|
static int |
fadeDelay
Length of the delay to fade the indicator.
|
static int |
fadeLength
Length of the indicator fade to transparent.
|
static int |
fades
Whether or not the selected indicator fades.
|
static int |
fillColor
Color of the filled circle that represents the current page.
|
static int |
footerColor
Color of the footer line and indicator.
|
static int |
footerIndicatorHeight
Height of the indicator above the footer line.
|
static int |
footerIndicatorStyle
Style of the indicator.
|
static int |
footerIndicatorUnderlinePadding
Left and right padding of the underline indicator.
|
static int |
footerLineHeight
Height of the footer line.
|
static int |
footerPadding
Padding between the bottom of the title and the footer.
|
static int |
gapWidth
Width of the gap between each indicator line.
|
static int |
linePosition
Position of the line.
|
static int |
lineWidth
Width of each indicator line.
|
static int |
pageColor
Color of the filled circles that represents pages.
|
static int |
radius
Radius of the circles.
|
static int |
selectedBold
Whether or not the selected item is displayed as bold.
|
static int |
selectedColor
Must be a color value, in the form of "
#rgb", "#argb",
"#rrggbb", or "#aarrggbb". |
static int |
snap
Whether or not the selected indicator snaps to the circles.
|
static int |
strokeColor
Color of the open circles.
|
static int |
strokeWidth
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp". |
static int |
titlePadding
Padding between titles when bumping into each other.
|
static int |
topPadding
Padding between titles and the top of the View.
|
static int |
unselectedColor
Must be a color value, in the form of "
#rgb", "#argb",
"#rrggbb", or "#aarrggbb". |
static int |
vpiCirclePageIndicatorStyle
Style of the circle indicator.
|
static int |
vpiIconPageIndicatorStyle
Style of the icon indicator's views.
|
static int |
vpiLinePageIndicatorStyle
Style of the line indicator.
|
static int |
vpiTabPageIndicatorStyle
Style of the tab indicator's tabs.
|
static int |
vpiTitlePageIndicatorStyle
Style of the title indicator.
|
static int |
vpiUnderlinePageIndicatorStyle
Style of the underline indicator.
|
| Constructor and Description |
|---|
attr() |
public static int centered
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 int clipPadding
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 int fadeDelay
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 int fadeLength
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 int fades
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 int fillColor
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 int footerColor
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 int footerIndicatorHeight
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 int footerIndicatorStyle
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
triangle | 1 | |
underline | 2 |
public static int footerIndicatorUnderlinePadding
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 int footerLineHeight
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 int footerPadding
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 int gapWidth
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 int linePosition
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
bottom | 0 | |
top | 1 |
public static int lineWidth
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 int pageColor
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 int 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 int selectedBold
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 int selectedColor
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 int snap
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 int strokeColor
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 int strokeWidth
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 int titlePadding
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 int topPadding
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 int unselectedColor
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 int vpiCirclePageIndicatorStyle
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 int vpiIconPageIndicatorStyle
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 int vpiLinePageIndicatorStyle
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 int vpiTabPageIndicatorStyle
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 int vpiTitlePageIndicatorStyle
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 int vpiUnderlinePageIndicatorStyle
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
Copyright © 2016. All rights reserved.