Android非常有用的工具
2015-05-31 21:44
483 查看
1.android军火库(开源库的索引网站):https://android-arsenal.com/
2.分辨率换算工具:http://androidpixels.net/
3.在线制作工具(icon,9patch图):https://romannurik.github.io/AndroidAssetStudio/
4.android studio一键序列化插件(提高coding效率):https://github.com/mcharmas/android-parcelable-intellij-plugin
5.注意内存开销
对你所使用的语言与库的成本与开销有所了解,从开始到结束,在设计你的app时谨记这些信息。通常,表面上看起来无关痛痒(innocuous)的事情也许实际上会导致大量的开销。例如:Enums的内存消耗通常是static constants的2倍。你应该尽量避免在Android上使用enums。
在Java中的每一个类(包括匿名内部类)都会使用大概500 bytes。
每一个类的实例花销是12-16 bytes。
往HashMap添加一个entry需要额一个额外占用的32 bytes的entry对象。
相关文章推荐
- Android 字体
- Android水波纹实现
- 【Android】ListView 顶部浮动栏效果
- Android之Gallery和Spinner-Android学习之旅(二十九)
- Android之Gallery和Spinner-Android学习之旅(二十九)
- Android之Gallery和Spinner-Android学习之旅(二十九)
- 关于Android中ScrollView嵌套ListView的问题
- android 数据存储简介
- android studio 链式编程代码格式化
- android.graphics.Camera实现图像的旋转、缩放
- Android---51---加入多线程进行Socket通信
- Android的ExpandableListView-android学习之旅(二十八)
- Android的ExpandableListView-android学习之旅(二十八)
- Android的ExpandableListView-android学习之旅(二十八)
- Android文字转语音
- Android-Activity状态保存
- Android 2D Graphics学习(二)、Canvas篇2、Canvas裁剪和Region、RegionIterator 分类: Android基础知识学习
- android Graphics(三):区域(Range)
- android Graphics(四):canvas变换与操作
- 【Android】利用Java代码布局,按钮添加点击事件