Iconic Droid Android Drawable组件
IconicDroid是一个自定义的Android Drawable,允许从几种标志性字体中绘制图标。它并非独立的JAR文件,因为字体资源以原始资源的形式存储。可以通过将项目包含到Eclipse或Ant中来使用它。
示例代码:
IconicFontDrawable iconicFontDrawable = new IconicFontDrawable(getContext());
iconicFontDrawable.setIcon(EntypoSocialIcon.GITHUB);
iconicFontDrawable.setIconColor(Color.GREEN);
findViewById(R.id.some_view).setBackground(iconicFontDrawable);
下载地址
用户评论