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: 5 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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-08T16:44:31.000Z (over 10 years ago)
- Last Synced: 2024-07-01T10:56:18.096Z (10 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
- awesome-android-ui - https://github.com/atermenji/IconicDroid
- awesome-android-ui - https://github.com/atermenji/IconicDroid
README
## IconicDroid [](https://travis-ci.org/atermenji/IconicDroid) [](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).

## 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.**