https://github.com/fbrinker/android-flatuicolors
Android Colors for Flat UI Design
https://github.com/fbrinker/android-flatuicolors
Last synced: 10 months ago
JSON representation
Android Colors for Flat UI Design
- Host: GitHub
- URL: https://github.com/fbrinker/android-flatuicolors
- Owner: fbrinker
- Created: 2013-11-29T07:38:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-03T09:52:57.000Z (over 12 years ago)
- Last Synced: 2025-08-20T18:39:39.951Z (10 months ago)
- Size: 371 KB
- Stars: 9
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
android-flatUiColors
====================
Android Colors for Flat UI Design
Colors: [flatuicolors.com](http://www.flatuicolors.com/)
Page: http://fbrinker.github.io/android-flatUiColors/
1. Overview
2. Installation
3. Usage
##1. Overview

##2. Installation
To adopt the colors, just copy the [colorsFlatUi.xml](../master/res/values/colorsFlatUi.xml) into your *res/values/* directory or paste the content of the [colorsFlatUi.xml](../master/res/values/colorsFlatUi.xml) into your *colors.xml* file.
##3. Usage
Now, you can use the colors in your xml layouts:
```xml
@color/flatui_midnight_blue
```
or in java like this:
```java
Color midnightBlue = getApplicationContext().getResources().getColor(R.id.flatui_midnight_blue)
MyTextView.setTextColor(midnightBlue);
```