Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

R.color

extends Object
java.lang.Object
   ↳ android.R.color

Summary

Constants
int background_dark
int background_light
int black
int darker_gray
int holo_blue_bright A really bright Holo shade of blue
int holo_blue_dark A dark Holo shade of blue
int holo_blue_light A light Holo shade of blue
int holo_green_dark A dark Holo shade of green
int holo_green_light A light Holo shade of green
int holo_orange_dark A dark Holo shade of orange
int holo_orange_light A light Holo shade of orange
int holo_purple A Holo shade of purple
int holo_red_dark A dark Holo shade of red
int holo_red_light A light Holo shade of red
int primary_text_dark
int primary_text_dark_nodisable
int primary_text_light
int primary_text_light_nodisable
int secondary_text_dark
int secondary_text_dark_nodisable
int secondary_text_light
int secondary_text_light_nodisable
int tab_indicator_text
int tertiary_text_dark
int tertiary_text_light
int transparent
int white
int widget_edittext_dark
Public Constructors
R.color ()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int background_dark

Added in API level 1

Constant Value: 17170446 (0x0106000e)

public static final int background_light

Added in API level 1

Constant Value: 17170447 (0x0106000f)

public static final int black

Added in API level 1

Constant Value: 17170444 (0x0106000c)

public static final int darker_gray

Added in API level 1

Constant Value: 17170432 (0x01060000)

public static final int holo_blue_bright

A really bright Holo shade of blue

Constant Value: 17170459 (0x0106001b)

public static final int holo_blue_dark

A dark Holo shade of blue

Constant Value: 17170451 (0x01060013)

public static final int holo_blue_light

A light Holo shade of blue

Constant Value: 17170450 (0x01060012)

public static final int holo_green_dark

A dark Holo shade of green

Constant Value: 17170453 (0x01060015)

public static final int holo_green_light

A light Holo shade of green

Constant Value: 17170452 (0x01060014)

public static final int holo_orange_dark

A dark Holo shade of orange

Constant Value: 17170457 (0x01060019)

public static final int holo_orange_light

A light Holo shade of orange

Constant Value: 17170456 (0x01060018)

public static final int holo_purple

A Holo shade of purple

Constant Value: 17170458 (0x0106001a)

public static final int holo_red_dark

A dark Holo shade of red

Constant Value: 17170455 (0x01060017)

public static final int holo_red_light

A light Holo shade of red

Constant Value: 17170454 (0x01060016)

public static final int primary_text_dark

Added in API level 1

Constant Value: 17170433 (0x01060001)

public static final int primary_text_dark_nodisable

Added in API level 1

Constant Value: 17170434 (0x01060002)

public static final int primary_text_light

Added in API level 1

Constant Value: 17170435 (0x01060003)

public static final int primary_text_light_nodisable

Added in API level 1

Constant Value: 17170436 (0x01060004)

public static final int secondary_text_dark

Added in API level 1

Constant Value: 17170437 (0x01060005)

public static final int secondary_text_dark_nodisable

Added in API level 1

Constant Value: 17170438 (0x01060006)

public static final int secondary_text_light

Added in API level 1

Constant Value: 17170439 (0x01060007)

public static final int secondary_text_light_nodisable

Added in API level 1

Constant Value: 17170440 (0x01060008)

public static final int tab_indicator_text

Added in API level 1

Constant Value: 17170441 (0x01060009)

public static final int tertiary_text_dark

Added in API level 1

Constant Value: 17170448 (0x01060010)

public static final int tertiary_text_light

Added in API level 1

Constant Value: 17170449 (0x01060011)

public static final int transparent

Added in API level 1

Constant Value: 17170445 (0x0106000d)

public static final int white

Added in API level 1

Constant Value: 17170443 (0x0106000b)

public static final int widget_edittext_dark

Added in API level 1

Constant Value: 17170442 (0x0106000a)

Public Constructors

public R.color ()

Added in API level 1