Skip to content

Most visited

Recently visited

navigation
Added in API level 1

R.color

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()

Inherited methods

From class java.lang.Object

Constants

background_dark

Added in API level 1
int background_dark

Constant Value: 17170446 (0x0106000e)

background_light

Added in API level 1
int background_light

Constant Value: 17170447 (0x0106000f)

black

Added in API level 1
int black

Constant Value: 17170444 (0x0106000c)

darker_gray

Added in API level 1
int darker_gray

Constant Value: 17170432 (0x01060000)

holo_blue_bright

Added in API level 14
int holo_blue_bright

A really bright Holo shade of blue

Constant Value: 17170459 (0x0106001b)

holo_blue_dark

Added in API level 14
int holo_blue_dark

A dark Holo shade of blue

Constant Value: 17170451 (0x01060013)

holo_blue_light

Added in API level 14
int holo_blue_light

A light Holo shade of blue

Constant Value: 17170450 (0x01060012)

holo_green_dark

Added in API level 14
int holo_green_dark

A dark Holo shade of green

Constant Value: 17170453 (0x01060015)

holo_green_light

Added in API level 14
int holo_green_light

A light Holo shade of green

Constant Value: 17170452 (0x01060014)

holo_orange_dark

Added in API level 14
int holo_orange_dark

A dark Holo shade of orange

Constant Value: 17170457 (0x01060019)

holo_orange_light

Added in API level 14
int holo_orange_light

A light Holo shade of orange

Constant Value: 17170456 (0x01060018)

holo_purple

Added in API level 14
int holo_purple

A Holo shade of purple

Constant Value: 17170458 (0x0106001a)

holo_red_dark

Added in API level 14
int holo_red_dark

A dark Holo shade of red

Constant Value: 17170455 (0x01060017)

holo_red_light

Added in API level 14
int holo_red_light

A light Holo shade of red

Constant Value: 17170454 (0x01060016)

primary_text_dark

Added in API level 1
int primary_text_dark

Constant Value: 17170433 (0x01060001)

primary_text_dark_nodisable

Added in API level 1
int primary_text_dark_nodisable

Constant Value: 17170434 (0x01060002)

primary_text_light

Added in API level 1
int primary_text_light

Constant Value: 17170435 (0x01060003)

primary_text_light_nodisable

Added in API level 1
int primary_text_light_nodisable

Constant Value: 17170436 (0x01060004)

secondary_text_dark

Added in API level 1
int secondary_text_dark

Constant Value: 17170437 (0x01060005)

secondary_text_dark_nodisable

Added in API level 1
int secondary_text_dark_nodisable

Constant Value: 17170438 (0x01060006)

secondary_text_light

Added in API level 1
int secondary_text_light

Constant Value: 17170439 (0x01060007)

secondary_text_light_nodisable

Added in API level 1
int secondary_text_light_nodisable

Constant Value: 17170440 (0x01060008)

tab_indicator_text

Added in API level 1
int tab_indicator_text

Constant Value: 17170441 (0x01060009)

tertiary_text_dark

Added in API level 1
int tertiary_text_dark

Constant Value: 17170448 (0x01060010)

tertiary_text_light

Added in API level 1
int tertiary_text_light

Constant Value: 17170449 (0x01060011)

transparent

Added in API level 1
int transparent

Constant Value: 17170445 (0x0106000d)

white

Added in API level 1
int white

Constant Value: 17170443 (0x0106000b)

widget_edittext_dark

Added in API level 1
int widget_edittext_dark

Constant Value: 17170442 (0x0106000a)

Public constructors

R.color

Added in API level 1
R.color ()

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.