摘要: 1、抽象布局标签 (1) 标签include标签常用于将布局中的公共部分提取出来供其他layout共用,以实现布局模块化,这在布局编写方便提供了大大的便利。下面以在一个布局main.xml中用include引入另一个布局foot.xml为例。main.mxl代码如下:Java123456789101... 阅读全文
posted @ 2014-03-01 14:20 Leo的银弹 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 推荐书籍我推荐下面两本书:The Busy Coder’s Guide to Android Development《The Busy Coder’s Guide to Android Development》(Mark Murphy著)。 这本书最大的特色就在于它的覆盖广度(此书有超过2000页的... 阅读全文
posted @ 2014-03-01 14:15 Leo的银弹 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1、Catlog 手机端log查看工具,支持不同颜色显示、关键字过滤、级别过滤、进程id过滤、录制功能等项目地址:https://github.com/nolanlawson/Catlog在线演示:https://play.google.com/store/apps/details?id=com.n... 阅读全文
posted @ 2014-03-01 14:11 Leo的银弹 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1.ZIP java压缩和解压库 项目地址:https://github.com/zeroturnaround/zt-zip文档介绍:https://github.com/zeroturnaround/zt-zip#examples作用:(1) 解压和压缩,并支持文件夹内递归操作(2) 支持包含和排... 阅读全文
posted @ 2014-03-01 14:08 Leo的银弹 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1. ActionBarSherlock 为Android所有版本提供统一的ActionBar,解决4.0以下ActionBar的适配问题项目地址:https://github.com/JakeWharton/ActionBarSherlockDemo地址:https://play.google.... 阅读全文
posted @ 2014-03-01 14:05 Leo的银弹 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1. Guava Google的基于java1.6的类库集合的扩展项目 包括collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O等等. 这... 阅读全文
posted @ 2014-03-01 14:03 Leo的银弹 阅读(412) 评论(0) 推荐(0) 编辑
摘要: orm的db工具类,简化建表、查询、更新、插入、事务、索引的操作1. greenDAO Android Sqlite orm的db工具类项目地址:https://github.com/greenrobot/greenDAO文档介绍:http://greendao-orm.com/documenta... 阅读全文
posted @ 2014-03-01 13:57 Leo的银弹 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 1. Asynchronous Http Client for Android Android异步Http请求项目地址:https://github.com/loopj/android-async-http文档介绍:http://loopj.com/android-async-http/特点:(1... 阅读全文
posted @ 2014-03-01 13:57 Leo的银弹 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1. Android-Universal-Image-Loader 图片缓存 目前使用最广泛的图片缓存,支持主流图片缓存的绝大多数特性。项目地址:https://github.com/nostra13/Android-Universal-Image-LoaderDemo地址:https://gith... 阅读全文
posted @ 2014-03-01 13:56 Leo的银弹 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 通过依赖注入减少View、服务、资源简化初始化,事件绑定等重复繁琐工作1. AndroidAnnotations(Code Diet) android快速开发框架项目地址:https://github.com/excilys/androidannotations文档介绍:https://githu... 阅读全文
posted @ 2014-03-01 13:54 Leo的银弹 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 1. Crouton 丰富样式的Toast 允许alert、comfirm、info样式及点击消失样式,允许设置Toast显示时间,允许自定义View。项目地址:https://github.com/keyboardsurfer/CroutonDemo地址:http://play.google.co... 阅读全文
posted @ 2014-03-01 13:52 Leo的银弹 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 1. android-times-square Android日历部件 支持选取单个日期,多个日期,及日期区间段和对话框形式显示项目地址:https://github.com/square/android-times-squareDemo地址:https://github.com/Trinea/Tr... 阅读全文
posted @ 2014-03-01 13:49 Leo的银弹 阅读(682) 评论(0) 推荐(0) 编辑
摘要: 1. achartengine 强大的图标绘制工具 支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、拨号图/表、立方线图及各种图的结合项目地址:https://code.google.com/p/achartengine/官方网站:http://www.... 阅读全文
posted @ 2014-03-01 12:36 Leo的银弹 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1. SmoothProgressBar 水平进度条 项目地址:https://github.com/castorflex/SmoothProgressBarDemo地址:https://play.google.com/store/apps/details?id=fr.castorflex.andr... 阅读全文
posted @ 2014-03-01 12:33 Leo的银弹 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 1. PhotoView 支持双击或双指缩放的ImageView 在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不仅支持ViewPager,同时支持单个ImageView项目地址:https://github.com/chrisban... 阅读全文
posted @ 2014-03-01 12:32 Leo的银弹 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1. StaggeredGridView 允许非对齐行的GridView 类似Pinterest的瀑布流,并且跟ListView一样自带View缓存,继承自ViewGroup项目地址:https://github.com/maurycyw/StaggeredGridViewDemo地址:https:... 阅读全文
posted @ 2014-03-01 12:27 Leo的银弹 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1. Android-ViewPagerIndicator 鼎鼎大名,配合ViewPager使用的Indicator,支持各种位置和样式项目地址:https://github.com/JakeWharton/Android-ViewPagerIndicatorDemo地址:https://play... 阅读全文
posted @ 2014-03-01 12:25 Leo的银弹 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 1. MenuDrawer 滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕上下左右划出,支持当前View处于上下层,支持Windows边缘、ListView边缘、ViewPager变化划出菜单等。项目地址:https://github.com/SimonVT/android-menudrawerD... 阅读全文
posted @ 2014-03-01 12:24 Leo的银弹 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 1. ActionBarSherlock 鼎鼎大名, 为Android所有版本提供统一的ActionBar,解决4.0以下ActionBar的适配问题项目地址:https://github.com/JakeWharton/ActionBarSherlockDemo地址:https://play.g... 阅读全文
posted @ 2014-03-01 12:22 Leo的银弹 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 资料转载地址:https://github.com/Trinea/android-open-project1. android-pulltorefresh 一个强大的拉动刷新开源项目,支持各种控件下拉刷新ListView、ViewPager、WevView、ExpandableListView、G... 阅读全文
posted @ 2014-03-01 12:19 Leo的银弹 阅读(840) 评论(0) 推荐(0) 编辑