atermenji / iconicdroid Goto Github PK
View Code? Open in Web Editor NEWIconicDroid is a custom Android Drawable which allows to draw icons from several iconic fonts.
License: Apache License 2.0
IconicDroid is a custom Android Drawable which allows to draw icons from several iconic fonts.
License: Apache License 2.0
The icons in the FontAwesomeIcon.java file and the font file itself are out of date... If you look at the FontAwesome website, you will find a lot of icons that I can't use...
Particularly, I downloaded the font file from the website and started mapping again the characters that I'm using...
How to use this library icons to navigation drawer items icons.
Hi, ss it possible to add via gradle?? Thanks.
hello , Execuse!How to use this them in xml ,for ui I wantt use java
It would be great to have an AAR maven repo
MenuItem.setIcon() comes out blank when I set an iconic drawable
I'm dealing with your project and first is all, for me it is very usefull.
But...
I want to attach a single icon as an DrawableLeft/DrawableRight etc. but it doesn't work.
My code
IconicFontDrawable iconicFontDrawable = new IconicFontDrawable(this);
iconicFontDrawable.setIcon(EntypoSocialIcon.GITHUB);
iconicFontDrawable.setIconColor(Color.BLACK);
TextView v = (TextView) findViewById(R.id.textview);
if (v != null) {
T.setBackground(iconicFontDrawable);
T.setCompoundDrawables(null,null, iconicFontDrawable, null);
T.setCompoundDrawablesWithIntrinsicBounds(null, null, iconicFontDrawable, null);
}
Only setBackgrounds() works, but not the two other methods. But why is it so? I mean, neither Eclipse nor Android Studio complains about these methods in that way.
I really miss it!
For some reason two of each icon are displayed. one on top of the other on the kindle. This is happening on my app and also the sample app this repo.
Please see these images as an example http://imgur.com/a/E6l2V
The icon starts off doubled then when I select a different icon from the spinner, it doesn't remove the old one, it just ads it on top
All icons in my app are doubled on top of each other.
I played around with the library and my wild wild guess is invalidateSelf() but I don't know
The functions setIntrinsicHeight and setIntrinsicWidth doesn't work in my case. I want to stretch an icon with a height of 75 and a width of 300.
code
TextView v= (TextView) findViewById(R.id.textView1);
IconicFontDrawable iconicFontDrawable = new IconicFontDrawable(getApplicationContext());
iconicFontDrawable.setIcon(FontAwesomeIcon.TOOGLE_ON);
iconicFontDrawable.setIconColor(Color.BLACK);
iconicFontDrawable.setIntrinsicHeight(75);
iconicFontDrawable.setIntrinsicWidth(300);
v.setCompoundDrawablesWithIntrinsicBounds(iconicFontDrawable, null, null, null);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.