com.viewpagerindicator
Class R.attr

java.lang.Object
  extended by com.viewpagerindicator.R.attr
Enclosing class:
R

public static final class R.attr
extends Object


Field Summary
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 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 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 Summary
R.attr()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

centered

public static final 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.

See Also:
Constant Field Values

clipPadding

public static final int clipPadding
Screen edge 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.

See Also:
Constant Field Values

fadeDelay

public static final int fadeDelay
Length of the delay to fade the indicator.

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.

See Also:
Constant Field Values

fadeLength

public static final int fadeLength
Length of the indicator fade to transparent.

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.

See Also:
Constant Field Values

fades

public static final int fades
Whether or not the selected indicator 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.

See Also:
Constant Field Values

fillColor

public static final int fillColor
Color of the filled circle that represents the current page.

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.

See Also:
Constant Field Values

footerColor

public static final int footerColor
Color of the footer line and indicator.

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.

See Also:
Constant Field Values

footerIndicatorHeight

public static final int footerIndicatorHeight
Height of the indicator above the footer line.

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.

See Also:
Constant Field Values

footerIndicatorStyle

public static final int footerIndicatorStyle
Style of the indicator. Default is triangle.

Must be one of the following constant values.

ConstantValueDescription
none0
triangle1
underline2

See Also:
Constant Field Values

footerIndicatorUnderlinePadding

public static final int footerIndicatorUnderlinePadding
Left and right padding of the underline indicator.

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.

See Also:
Constant Field Values

footerLineHeight

public static final int footerLineHeight
Height of the footer line.

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.

See Also:
Constant Field Values

footerPadding

public static final int footerPadding
Padding between the bottom of the title and the footer.

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.

See Also:
Constant Field Values

gapWidth

public static final int gapWidth
Width of the gap between each indicator line.

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.

See Also:
Constant Field Values

lineWidth

public static final int lineWidth
Width of each indicator line.

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.

See Also:
Constant Field Values

pageColor

public static final int pageColor
Color of the filled circles that represents pages.

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.

See Also:
Constant Field Values

radius

public static final int radius
Radius of the circles. This is also the spacing between circles.

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.

See Also:
Constant Field Values

selectedBold

public static final int selectedBold
Whether or not the selected item is displayed as bold.

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.

See Also:
Constant Field Values

selectedColor

public static final 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.

See Also:
Constant Field Values

snap

public static final int snap
Whether or not the selected indicator snaps to the circles.

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.

See Also:
Constant Field Values

strokeColor

public static final int strokeColor
Color of the open circles.

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.

See Also:
Constant Field Values

strokeWidth

public static final 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.

See Also:
Constant Field Values

titlePadding

public static final int titlePadding
Padding between titles when bumping into each other.

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.

See Also:
Constant Field Values

topPadding

public static final int topPadding
Padding between titles and the top of the View.

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.

See Also:
Constant Field Values

unselectedColor

public static final 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.

See Also:
Constant Field Values

vpiCirclePageIndicatorStyle

public static final int vpiCirclePageIndicatorStyle
Style of the circle indicator.

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

See Also:
Constant Field Values

vpiLinePageIndicatorStyle

public static final int vpiLinePageIndicatorStyle
Style of the line indicator.

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

See Also:
Constant Field Values

vpiTabPageIndicatorStyle

public static final int vpiTabPageIndicatorStyle
Style of the tab indicator's tabs.

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

See Also:
Constant Field Values

vpiTitlePageIndicatorStyle

public static final int vpiTitlePageIndicatorStyle
Style of the title indicator.

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

See Also:
Constant Field Values

vpiUnderlinePageIndicatorStyle

public static final int vpiUnderlinePageIndicatorStyle
Style of the underline indicator.

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

See Also:
Constant Field Values
Constructor Detail

R.attr

public R.attr()


Copyright © 2011-2012 Jake Wharton. All Rights Reserved.