标签:
1.nineoldandroids-2.4.0.jar
下载地址:http://nineoldandroids.com/
作用:动画集合,支持动画的旋转,缩放,移动,渐入效果
2.guava.jar
下载地址:https://github.com/google/guava
作用:
The Guava project contains several of Google‘s core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.
Requires JDK 1.6 or higher (as of 12.0).
3.jsr305.jar
下载地址:http://code.google.com/p/jsr-305/ 这个地址是谷歌的git地址,如果不能打开,可以连接:
https://github.com/1049884729/jsr-305
作用:
This project contains reference implementations, test cases, and other documents under source code control for Java Specification Request 305: Annotations for Software Defect
Detection. More information at the Google group: http://groups.google.com/group/jsr-305
4.protobuf.jar
下载地址:https://github.com/google/protobuf
作用:
Otto is an event bus designed to decouple different parts of your application while still allowing them to communicate efficiently.
Forked from Guava, Otto adds unique functionality to an already refined event bus as well as specializing it to the Android platform.
Otto是Square公司在他们应用中使用的Event Bus实现。从Guava中演变而来,并且专注于Android平台。
通过使用Otto,Square公司的应用组件间不紧密耦合了,单元测试也更加容易了。
您可以通过Otto项目的主页来了解更多内容或者查看Otto项目的源代码。
EventBus 是http://greenrobot.de 出品的另外一个Event Bus类库,功能稍微多一点。
参考:http://blog.csdn.net/wangjia55/article/details/17148535
11.Fonts 字库:
Arimo 字体:
http://www.fontsquirrel.com/fonts/arimo/fonts/arimo
https://www.google.com/fonts#UsePlace:use/Collection:Arimo
public class Y_fonts extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); /* * 必须事先在assets底下创建一fonts文件夹 并放入要使用的字体文件(.ttf) * 并提供相对路径给creatFromAsset()来创建Typeface对象 */ Typeface fontFace = Typeface.createFromAsset(getAssets(), "fonts/STXINGKA.TTF"); // 字体文件必须是true type font的格式(ttf); // 当使用外部字体却又发现字体没有变化的时候(以 Droid Sans代替),通常是因为 // 这个字体android没有支持,而非你的程序发生了错误 TextView text = (TextView) findViewById(R.id.ttf); text.setTypeface(fontFace); }
标签:
原文地址:http://blog.csdn.net/zouchengxufei/article/details/43190445