An open API service indexing awesome lists of open source software.

https://github.com/freefair/android-colors

Color resources for your android project
https://github.com/freefair/android-colors

android android-colors holo material

Last synced: 24 days ago
JSON representation

Color resources for your android project

Awesome Lists containing this project

README

          

# android-colors
Color resources for your android project

[![](https://jitpack.io/v/io.freefair/android-colors.svg)](https://jitpack.io/#io.freefair/android-colors)

Available modules:
- **material**: Material Design colors (https://material.io/guidelines/style/color.html#color-color-palette)
- **holo**: Android Holo colors (Android 4.x default)

## How to include
```gradle
repositories {
// ...
maven { url "https://jitpack.io" }
}
dependencies {
compile 'io.freefair.android-colors:material:1.2.0'
// or
compile 'io.freefair.android-colors:holo:1.2.0'
}
```

## Usage
### XML
```xml
@color/material_indigo_500
```
```xml
@color/holo_red_light
```
### Java
```java
R.color.material_indigo_500
```
```java
R.color.holo_red_light
```