Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atermenji/IconicDroid
IconicDroid is a custom Android Drawable which allows to draw icons from several iconic fonts.
https://github.com/atermenji/IconicDroid
Last synced: 3 months ago
JSON representation
IconicDroid is a custom Android Drawable which allows to draw icons from several iconic fonts.
- Host: GitHub
- URL: https://github.com/atermenji/IconicDroid
- Owner: atermenji
- License: apache-2.0
- Created: 2012-12-05T13:49:34.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-08T16:44:31.000Z (almost 10 years ago)
- Last Synced: 2024-07-01T10:56:18.096Z (5 months ago)
- Language: Java
- Homepage:
- Size: 767 KB
- Stars: 385
- Watchers: 31
- Forks: 108
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## IconicDroid [![Build Status](https://travis-ci.org/atermenji/IconicDroid.png)](https://travis-ci.org/atermenji/IconicDroid) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-IconicDroid-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1150)
IconicDroid is a custom [Android Drawable](http://developer.android.com/reference/android/graphics/drawable/Drawable.html) which allows to draw icons from several iconic fonts.
Try out the sample application on the [Google Play](https://play.google.com/store/apps/details?id=com.atermenji.android.iconicdroid.sample).
![IconicDroid example](http://habrastorage.org/storage2/b8f/243/d96/b8f243d96a656f3b94e2ee6e5d36f8f9.png?raw=true)
## Usage### Including in your project
IconicDroid is presented as an [Android library project](http://developer.android.com/guide/developing/projects/projects-eclipse.html).
It is not a standalone JAR because fonts are stored as a raw resources.You can include this project by [referencing it as a library project](http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject) in Eclipse or ant.
### Sample usage
**Code:**
```java
IconicFontDrawable iconicFontDrawable = new IconicFontDrawable(getContext());
iconicFontDrawable.setIcon(EntypoSocialIcon.GITHUB);
iconicFontDrawable.setIconColor(Color.GREEN);findViewById(R.id.some_view).setBackground(iconicFontDrawable);
```## Available fonts
- Entypo pictograms by Daniel Bruce — www.entypo.com
- FontAwesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome/
- Iconic font by P.J. Onori - http://somerandomdude.com/work/iconic/## License
* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
**Note that all fonts have their own license.**