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
- Host: GitHub
- URL: https://github.com/freefair/android-colors
- Owner: freefair
- License: mit
- Created: 2015-10-28T22:12:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T14:22:38.000Z (over 1 year ago)
- Last Synced: 2024-05-02T09:28:01.901Z (over 1 year ago)
- Topics: android, android-colors, holo, material
- Homepage:
- Size: 604 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# android-colors
Color resources for your android project[](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
```