2017 github 上android 源码(适合工作中开发)

来源:互联网 发布:女生篮球鞋 知乎 编辑:程序博客网 时间:2024/05/01 05:15

转载:
http://blog.csdn.NET/a774057695/article/details/49889437
https://github.com/XinRan5312/Android-open-project
目前包括:

Android 开源项目第一篇——个性化控件(View)篇  包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、FlipView、ColorPickView、GraphView、UI Style、其他Android 开源项目第二篇——工具库篇  包括依赖注入、图片缓存、网络请求、数据库 ORM 工具包、Android 公共库、高版本向低版本兼容库、多媒体、事件总线、传感器、安全、插件化、文件、其他Android 开源项目第三篇——优秀项目篇  比较有意思的完整的 Android 项目Android 开源项目第四篇——开发及测试工具篇  包括开发效率工具、开发自测相关、测试工具、开发及编译环境、其他Android 开源项目第五篇——优秀个人和团体篇  乐于分享并且有一些很不错的开源项目的个人和组织,包括 JakeWharton、Chris Banes、Koushik Dutta 等大牛

第一部分 个性化控件(View)

主要介绍那些不错个性化的 View,包括 ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、FlipView、ColorPickView、GraphView、UI Style 等等。
一、ListView

android-pulltorefresh一个强大的拉动刷新开源项目,支持各种控件下拉刷新,ListView、ViewPager、WebView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment 上下左右拉动刷新,比下面 johannilsson 那个只支持 ListView 的强大的多。并且它实现的下拉刷新 ListView 在 item 不足一屏情况下也不会显示刷新提示,体验更好。项目地址:https://github.com/chrisbanes/Android-PullToRefreshDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=trueAPP 示例:新浪微博各个页面android-pulltorefresh-listview下拉刷新 ListView,这个被很多人使用的项目实际有不少 bug,推荐使用 android-Ultra-Pull-to-Refresh项目地址:https://github.com/johannilsson/android-pulltorefreshDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refresh-listview-demo.apk?raw=trueandroid-Ultra-Pull-to-Refresh下拉刷新,第一个项目已经停止维护了,并且使用起来相对复杂,定制性也差。这个是替代和改良方案。这个继承于 ViewGroup 可以包含任何 View。功能甚至比 SwipeRefreshLayout 强大。使用起来非常简单。良好的设计,如果你想定制自己的 UI 样式,非常简单,就像给 ListView 加一个 Header View 那么简单。支持 API LEVEL >= 8项目地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh原理剖析文档:android-Ultra-Pull-to-RefreshDemo 地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/blob/master/ptr-demo/target/ultra-ptr-demo.apk?raw=true效果图:Renderingshttp://srain-github.qiniudn.com/ultra-ptr/release-to-refresh.gifhttp://srain-github.qiniudn.com/ultra-ptr/auto-refresh.gifhttp://srain-github.qiniudn.com/ultra-ptr/store-house-string-array.gifDragSortListView拖动排序的 ListView,同时支持 ListView 滑动 item 删除,各个 Item 高度不一、单选、复选、CursorAdapter 做为适配器、拖动背景变化等项目地址:https://github.com/bauerca/drag-sort-listviewDemo 地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslvAPP 示例:Wordpress AndroidSwipeListView支持定义 ListView 左右滑动事件,支持左右滑动位移,支持定义动画时间项目地址:https://github.com/47deg/android-swipelistviewDemo 地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistviewAPP 示例:微信SlideAndDragListView支持ListView的Item的拖动排序、左右滑动事件,可自定义左右滑动显示文字、图标、位移,同时支持onItemClick、onItemLongClick等监听器,提供丰富的回调接口。项目地址:https://github.com/yydcdut/SlideAndDragListViewDemo 地址:https://github.com/yydcdut/SlideAndDragListView/blob/master/apk/sdlv.apk?raw=trueAPP 示例:Android 手机QQ 5.0效果图:RenderingsAndroid-SwipeToDismiss滑动 Item 消失 ListView,支持 3.0 以下版本见:https://github.com/JakeWharton/SwipeToDismissNOA项目地址:https://github.com/romannurik/Android-SwipeToDismissDemo 地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_codeRecyclerViewSwipeDismiss轻量级支持 support-v7 中的 RecyclerView 的滑动删除(Swipe to dismiss)行为,不需要修改源代码,只要简单的绑定onTouchListener项目地址:https://github.com/CodeFalling/RecyclerViewSwipeDismiss效果图:RenderingsPinnedHeaderExpandableListView首先它是一个 ExpandableListView,但是它的头部可以固定,其次,在它的上面还有一个头部可以来回伸缩项目地址:https://github.com/singwhatiwanna/PinnedHeaderExpandableListView效果图:RenderingsAPP 示例:百度手机卫士垃圾清理界面StickyListHeadersGroupName 滑动到顶端时会固定不动直到另外一个 GroupName 到达顶端的 ExpandListView,支持快速滑动,支持 Android2.3 及以上项目地址:https://github.com/emilsjolander/StickyListHeaders效果图:RenderingsAPP 示例:Android 4.0 联系人pinned-section-listviewGroupName 滑动到顶端时会固定不动直到另外一个 GroupName 到达顶端的 ExpandListView项目地址:https://github.com/beworker/pinned-section-listview效果图:RenderingsPinnedHeaderListViewGroupName 滑动到顶端时会固定不动直到另外一个 GroupName 到达顶端的 ExpandListView项目地址:https://github.com/JimiSmith/PinnedHeaderListViewQuickReturnListView/ScrollView 的 header 或 footer,当向下滚动时消失,向上滚动时出现项目地址:https://github.com/lawloretienne/QuickReturnDemo 地址:https://play.google.com/store/apps/details?id=com.etiennelawlor.quickreturnQuickReturnHeaderListView/ScrollView 的 header 或 footer,当向下滚动时消失,向上滚动时出现项目地址:https://github.com/ManuelPeinado/QuickReturnHeaderDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=trueAPP 示例:google plusIndexableListViewListView 右侧会显示 item 首字母快捷索引,点击可快速滑动到某个 item项目地址:https://github.com/woozzu/IndexableListViewDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=trueAPP 示例:微信通讯录、小米联系人CustomFastScrollViewListView 快速滑动,同时屏幕中间 PopupWindows 显示滑动到的 item 内容或首字母项目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo效果图:RenderingsAndroid-ScrollBarPanelListView 滑动时固定的 Panel 指示显示在 scrollbar 旁边项目地址:https://github.com/rno/Android-ScrollBarPanel效果图:RenderingsSlideExpandableListView用户点击 listView item 滑出固定区域,其他 item 的区域收缩项目地址:https://github.com/tjerkw/Android-SlideExpandableListViewDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=trueJazzyListViewListView 及 GridView item 以特殊动画效果进入屏幕,效果包括 grow、cards、curl、wave、flip、fly 等等项目地址:https://github.com/twotoasters/JazzyListViewDemo 地址:https://play.google.com/store/apps/details?id=com.twotoasters.jazzylistview.sample在线演示:http://lab.hakim.se/scroll-effects/ListViewAnimations带 Item 显示动画的 ListView,动画包括底部飞入、其他方向斜飞入、下层飞入、渐变消失、滑动删除等项目地址:https://github.com/nhaarman/ListViewAnimationsDemo 地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimationsAPP 示例:Google plus、Google Now 卡片式进入、小米系统中应用商店、联系人、游戏中心、音乐、文件管理器的 ListView、Ultimate、Light Flow Lite、TreinVerkeer、Running Coach、Pearl Jam Lyrics、Calorie Chart、Car Hire、Super BART、DK FlashCards、Counter Plus、Voorlees Verhaaltjes 2.0DevsmartLib-Android横向 ListView项目地址:https://github.com/dinocore1/DevsmartLib-AndroidDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=trueTwoWayView横向 ListView 的效果,继承自 AdapterView项目地址:https://github.com/lucasr/twoway-viewHorizontalVariableListView支持 Item 宽度不一致的 ListView项目地址:https://github.com/sephiroth74/HorizontalVariableListViewLinearListView用 LinearLayout 实现的 ListView,可解决多个 ListView 并存等问题。目前自己也有需要,等亲自尝试过后会再具体介绍项目地址:https://github.com/frankiesardo/LinearListViewMultiChoiceAdapter支持多选的 ListView Adapter项目地址:https://github.com/ManuelPeinado/MultiChoiceAdapterDemo 地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demoEnhancedListView支持横向滑动删除列表项以及撤销删除的 ListView,该项目的前身是SwipeToDismissUndoList项目地址:https://github.com/timroes/EnhancedListViewDemo 地址:https://play.google.com/store/apps/details?id=de.timroes.android.listviewdemo&rdid=de.timroes.android.listviewdemoListBuddies自动滚动的双列 ListView ,两个 ListView 滚动速度不一致,有视差效果项目地址:https://github.com/jpardogo/ListBuddiesDemo 地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies效果图:RenderingsSwipeMenuListView针对 ListView item 的侧滑菜单项目地址:https://github.com/baoyongzhang/SwipeMenuListView效果图:RenderingsAPP 示例:手机 QQV5.0PagingListView分页加载的 ListView。当滑动到 ListView 底部最后一个元素时,显示一个进度行,然后加载下一页数据,并显示。项目地址:https://github.com/nicolasjafelle/PagingListViewPullZoomView支持下拉时 HeaderView 缩放的 ListView、ScrollView项目地址:https://github.com/Frank-Zhu/PullZoomView效果图:RenderingsPullToZoomInListView滑动 ListView 时使其 HeaderView 跟随滑动缩放项目地址:https://github.com/matrixxun/PullToZoomInListView效果图:RenderingsCalendarListview实现每个月一行日历效果的 ListView项目地址:https://github.com/traex/CalendarListview原理剖析文档:CalendarListview效果图:Renderingssticky-headers-recyclerviewGroupName 滑动到顶端时会固定不动直到另外一个 GroupName 到达顶端的 ListView,采用 support-v7 中的 RecyclerView 实现项目地址:https://github.com/timehop/sticky-headers-recyclerviewPullSeparateListView到达顶部或底部继续拉动时,实现 Item 间的相互分离,两种模式:(1) 全部分离的模式,即屏幕内所有 Item 都会分离 (2)部分分离模式,以点击位置为分界点,部分 item 分离项目地址:https://github.com/chiemy/PullSeparateListView效果图:RenderingsExpandableLayoutHeader 和 Content Item 都可以展开的 ExpandableListview项目地址:https://github.com/traex/ExpandableLayoutPagedHeadListView支持 paginated header 以及 material page indicator 的 ListView.项目地址:https://github.com/JorgeCastilloPrz/PagedHeadListView效果图:RenderingsCustomSwipeListView支持左滑弹出自定义菜单,右滑删除且允许撤销,同时可以自定义滑动动画时间和滑动触发事件的时机等。项目地址:https://github.com/xyczero/Android-CustomSwipeListViewDemo 地址:Download here效果图:RenderingsPull-to-Refresh.Rentals-Android提供一个简单可以自定义的下拉刷新实现,Yalantis 出品。项目地址:https://github.com/Yalantis/Pull-to-Refresh.Rentals-Android效果图:RenderingsScrollerCalendar实现每行显示一年的 12 个月份的 RecyclerView 年历项目地址:https://github.com/guanchao/ScrollerCalendar效果图:RenderingsExtractWordView一个可以提取单词的 ListView,支持"放大镜"效果。项目地址:https://github.com/jcodeing/ExtractWordViewDemo 地址:Download here效果图:RenderingsFlyRefresh支持 ListView, GridView, RecyclerView, ScrollView 的下拉刷新项目地址:https://github.com/race604/FlyRefresh效果图:RenderingsMVCHelper实现下拉刷新,滚动底部自动加载更多,分页加载,自动切换显示网络失败布局,暂无数据布局,支持任意 view,真正的 MVC 架构支持切换主流下拉刷新框架 Android-PullToRefresh-Library,android-Ultra-Pull-To-Refresh-library,SwipeRefreshLayout项目地址:https://github.com/LuckyJayce/MVCHelperDemo 地址:https://github.com/LuckyJayce/MVCHelper/blob/master/raw/MVCHelper_Demo.apk?raw=trueRecyclerViewSwipeDismiss支持滑动 Item 操作、点击展开、拖动排序、展开后拖动排序等特性的 RecyclerView项目地址:https://play.google.com/store/apps/details?id=com.h6ah4i.android.example.advrecyclerview视频:http://www.youtube.com/watch?feature=player_embedded&v=S7cSwMArjUQWaterDropListView模仿 iOS 下拉刷新“水滴”效果,支持下拉刷新和上拉加载项目地址:https://github.com/THEONE10211024/WaterDropListView效果图:RenderingsPopupListView實現ListItem 點擊後置頂並可顯示客製化添加的item的內部View 的ListView项目地址:https://github.com/s8871404/PopupListViewDemo 地址:https://play.google.com/store/apps/details?id=com.baobomb.popuplistview_sample效果图:Renderings

二、ActionBar

ActionBarSherlock为 Android 所有版本提供统一的 ActionBar,解决 4.0 以下 ActionBar 的适配问题项目地址:https://github.com/JakeWharton/ActionBarSherlockDemo 地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos标签:兼容库, ActionBarActionBar-PullToRefresh下拉刷新,ActionBar 出现加载中提示项目地址:https://github.com/chrisbanes/ActionBar-PullToRefreshDemo 地址:https://play.google.com/store/apps/details?id=uk.co.senab.actionbarpulltorefresh.samples.stockAPP 示例:Gmail,Google Plus,知乎等FadingActionBarListView 向下滚动逐渐显现的 ActionBar项目地址:https://github.com/ManuelPeinado/FadingActionBarDemo 地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demoAPP 示例:google music,知乎NotBoringActionBargoogle music 下拉收缩的 ActionBar项目地址:https://github.com/flavienlaurent/NotBoringActionBarDemo 地址:http://flavienlaurent.com/blog/2013/11/20/making-your-action-bar-not-boring/APP 示例:Google 音乐RefreshActionItem带进度显示和刷新按钮的 ActionBar项目地址:https://github.com/ManuelPeinado/RefreshActionItemDemo 地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.refreshactionitem.demoAPP 示例:The New York Times,DevAppsDirectGlassActionBar类似玻璃的有一定透明度的 ActionBar项目地址:https://github.com/ManuelPeinado/GlassActionBarDemo 地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.glassactionbardemoAPP 示例:google music

三、Menu

MenuDrawer滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕上下左右划出,支持当前 View 处于上下层,支持 Windows 边缘、ListView 边缘、ViewPager 变化划出菜单等。项目地址:https://github.com/SimonVT/android-menudrawerDemo 地址:http://simonvt.github.io/android-menudrawer/APP 示例:Gmail、Google Music 等大部分 google appSlidingMenu滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕左右划出,支持菜单 zoom、scale、slide up 三种动画样式出现。与 MenuDrawer 相比而言,SlidingMenu 支持菜单动画样式出现,MenuDrawer 支持菜单 view 处于内容的上下层项目地址:https://github.com/jfeinstein10/SlidingMenu原理剖析文档:SlidingMenuDemo 地址:https://play.google.com/store/apps/details?id=com.slidingmenu.exampleAPP 示例:Foursquare, LinkedIn, Zappos, Rdio, Evernote Food, Plume, VLC for Android, ESPN ScoreCenter, MLS MatchDay, 9GAG, Wunderlist 2, The Verge, MTG Familiar, Mantano Reader, Falcon Pro (BETA), MW3 BarracksArcMenu支持类似 Path 的左下角动画旋转菜单及横向划出菜单、圆心弹出菜单项目地址:https://github.com/daCapricorn/ArcMenu效果图:Renderingshttps://dl.dropboxusercontent.com/u/11369687/preview1.pnghttps://dl.dropboxusercontent.com/u/11369687/raymenu.pngAPP 示例:Pathandroid-satellite-menu类似 Path 的左下角动画旋转菜单项目地址:https://github.com/siyamed/android-satellite-menuDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/satellite-menu-demo.apk?raw=trueAPP 示例:Pathradial-menu-widget圆形菜单,支持二级菜单项目地址:https://code.google.com/p/radial-menu-widget/效果图:RenderingsAndroid Wheel Menu圆形旋转选取菜单项目地址:https://github.com/anupcowkur/Android-Wheel-Menu效果图:RenderingsFoldingNavigationDrawer滑动并以折叠方式打开菜单项目地址:https://github.com/tibi1712/FoldingNavigationDrawer-AndroidDemo 地址:https://play.google.com/store/apps/details?id=com.ptr.folding.sample效果图:RenderingsAndroidResideMenu仿 Dribbble 的边栏菜单项目地址:https://github.com/SpecialCyCi/AndroidResideMenu效果图:RenderingsCircularFloatingActionMenu一个可定制的圆形的浮动菜单控件,类似于 Path 的圆形菜单。这个控件的可定制性更强,可以很容易的定制菜单出现消失时的动画,起始角度和半径。项目地址:https://github.com/oguzbilgener/CircularFloatingActionMenu原理剖析文档:CircularFloatingActionMenuDemo 地址:https://github.com/oguzbilgener/CircularFloatingActionMenu/tree/master/samples效果图:RenderingsNavigationDrawerSINavigation Drawer 的一个简单实现,滑动并以折叠方式打开菜单项目地址:https://github.com/mmBs/NavigationDrawerSIDemo 地址:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi效果图:RenderingsAPP 示例:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersiDragLayout使用 support.v4 包下的 ViewDragHelper 实现 QQ5.0 侧滑项目地址:https://github.com/BlueMor/DragLayout效果图:RenderingsLDrawerMaterial Design 形式的展开折叠 Icon项目地址:https://github.com/ikimuhendis/LDrawer效果图:RenderingsFloating Action Button悬浮的圆形菜单栏,支持组建滚动时自动隐藏及其他设置项目地址:https://github.com/shamanland/floating-action-button效果图:RenderingsSide-Menu.Android分类侧滑菜单,Yalantis 出品。项目地址:https://github.com/Yalantis/Side-Menu.Android原理剖析文档:Side-Menu.Android效果图:RenderingsContext-Menu.Android可以方便快速集成漂亮带有动画效果的上下文菜单,Yalantis出品。项目地址:https://github.com/Yalantis/Context-Menu.Android效果图:RenderingsDroppy支持多种样式的下拉菜单项目地址:https://github.com/shehabic/DroppyMaterialDrawerMaterial Design 风格的导航抽屉,提供简便且强大的定制功能项目地址:https://github.com/mikepenz/MaterialDrawerDemo 地址:https://play.google.com/store/apps/details?id=com.mikepenz.materialdrawer.app效果图:RenderingsSlideBottomPanel底部划出菜单,滑动时背景图透明度渐变,支持嵌套 LiewView 或 ScrollView项目地址:https://github.com/kingideayou/SlideBottomPanelDemo 地址:SlideBottomPanelDemo 下载效果图:Renderings

四、ViewPager 、Gallery

ConvenientBanner通用的广告栏控件,让你轻松实现广告头效果。支持无限循环,可以设置自动翻页和时间(而且非常智能,手指触碰则暂停翻页,离开自动开始翻页。你也可以设置在界面onPause的时候不进行自动翻页,onResume之后继续自动翻页),并且提供多种翻页特效。 对比其他广告栏控件,大多都需要对源码进行改动才能加载网络图片,或者帮你集成不是你所需要的图片缓存库。而这个库能让有代码洁癖的你欢喜,不需要对库源码进行修改你就可以使用任何你喜欢的网络图片库进行配合。 项目地址:https://github.com/saiwu-bigkoo/Android-ConvenientBanner效果图:RenderingsAndroid-ViewPagerIndicator配合 ViewPager 使用的 Indicator,支持各种位置和样式项目地址:https://github.com/JakeWharton/Android-ViewPagerIndicatorDemo 地址:https://play.google.com/store/apps/details?id=com.viewpagerindicator.sampleAPP 示例:太多了。。JazzyViewPager支持 Fragment 切换动画的 ViewPager,动画包括转盘、淡入淡出、翻页、层叠、旋转、方块、翻转、放大缩小等,效果类似桌面左右切换的各种效果,不过桌面并非用 ViewPager 实现而已项目地址:https://github.com/jfeinstein10/JazzyViewPagerDemo 地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=trueJellyViewPager特殊切换动画的 ViewPager项目地址:https://github.com/chiemy/JellyViewPager效果图:RenderingsAndroid-DirectionalViewPager支持横向和纵向(垂直)的 ViewPager项目地址:https://github.com/JakeWharton/Android-DirectionalViewPagerDemo 地址:https://market.android.com/details?id=com.directionalviewpager.sampleFancyCoverFlow支持 Item 切换动画效果的类似 Gallery View项目地址:https://github.com/davidschreiber/FancyCoverFlowDemo 地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fancycoverflow.samples效果图:RenderingsAndroidTouchGallery支持双击或双指缩放的 Gallery(用 ViewPager 实现),相比下面的 PhotoView,在被放大后依然能滑到下一个 item,并且支持直接从 url 和文件中获取图片,项目地址:https://github.com/Dreddik/AndroidTouchGalleryDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=trueAPP 示例:类似微信中查看聊天记录图片时可双击放大,并且放大情况下能正常左右滑动到前后图片Android Auto Scroll ViewPagerAndroid 自动滚动 轮播循环的 ViewPager项目地址:https://github.com/Trinea/android-auto-scroll-view-pagerDemo 地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文档介绍:http://www.trinea.cn/android/auto-scroll-view-pager/Android PagerSlidingTabStrip配合 ViewPager 使用的 Indicator,支持 ViewPager Scroll 时 Indicator 联动项目地址:https://github.com/astuetz/PagerSlidingTabStrip原理剖析文档:Android PagerSlidingTabStripDemo 地址:https://play.google.com/store/apps/details?id=com.astuetz.viewpager.extensions.sampleViewPager3DViewPager3D 效果项目地址:https://github.com/inovex/ViewPager3DAnimaTabsview仿网易云音乐标签切换的动画,带透明小三角项目地址:https://github.com/wuyexiong/transparent-over-animtabsview在线演示:http://v.youku.com/v_show/id_XNzA4MjY5NjA0.htmlLoopingViewPager无限循环的 ViewPager项目地址:https://github.com/imbryk/LoopingViewPagerandroid_page_curl翻书卷曲效果项目地址:https://github.com/harism/android_page_curl在线演示:https://www.youtube.com/watch?v=iwu7P5PCpswAPP 示例:iReaderViewPagerIndicator简化并实现 android 的 TabHost 效果,顶部滑动 tab,引导页,支持自定义 tab 样式,自定义滑动块样式和位置,自定义切换 tab 的过渡动画,子界面的预加载和界面缓存,设置界面是否可滑动项目地址:https://github.com/LuckyJayce/ViewPagerIndicatorScreenSlideIndicator轻量级的圆形 Indicadtor,位置可以自由调整,不会对 ViewPager 产生任何影响。项目地址:ScreenSlidePager效果图:RenderingsSmartTabLayout自定义的 Tab title strip,基于 Google Samples 中的 android-SlidingTabBasic 项目,滑动时 Indicator 可平滑过渡。项目地址:https://github.com/ogaclejapan/SmartTabLayoutDemo 地址:https://play.google.com/store/apps/details?id=com.ogaclejapan.smarttablayout.demo效果图:RenderingsAndroidImageSliderAndroid 图片滑动项目地址:https://github.com/daimajia/AndroidImageSlider效果图:RenderingsApp示例:https://github.com/daimajia/AndroidImageSlider/releases/download/v1.0.8/demo-1.0.8.apkRecyclerViewPager完全继承自 RecyclerView,可以自定义触发翻页的距离,可自定义翻页速度,支持垂直方向的 ViewPager,支持 Fragment。项目地址:RecyclerViewPager效果图:RenderingsCircleIndicator轻量级ViewPager指示器,支持三种不同的模式项目地址:CircleIndicator效果图:RenderingsRenderingsRenderings

五、GridView

StaggeredGridView允许非对齐行的 GridView,类似 Pinterest 的瀑布流,并且跟 ListView 一样自带 View 缓存,继承自 ViewGroup项目地址:https://github.com/maurycyw/StaggeredGridViewDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=trueAPP 示例:Pinterest 等AndroidStaggeredGrid允许非对齐行的 GridView,类似 Pinterest 的瀑布流,继承自 AbsListView项目地址:https://github.com/etsy/AndroidStaggeredGridAPP 示例:Pinterest 等PinterestLikeAdapterView允许非对齐行的 GridView,类似 Pinterest 的瀑布流,允许下拉刷新项目地址:https://github.com/GDG-Korea/PinterestLikeAdapterViewAPP 示例:Pinterest 等DraggableGridViewItem 可拖动交换位置的 GridView,实际是自己继承 ViewGroup 实现,类似桌面的单屏效果,可屏幕自动上下滚动进行 Item 移动交换,多屏效果见下面 PagedDragDropGrid项目地址:https://github.com/thquinn/DraggableGridViewDemo 地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=trueStickyGridHeadersGroupName 滑动到顶端时会固定不动直到另外一个 GroupName 到达顶端的 GridView项目地址:https://github.com/TonicArtos/StickyGridHeaders效果图:RenderingsPagedDragDropGridItem 可拖动交换位置、拖动删除的自定义控件,实际是自己继承 ViewGroup 实现,类似桌面的多屏效果,可拖动到屏幕边缘,屏幕自动左右滚动进行 Item 移动交换,可拖动进行删除,单屏效果见上面 DraggableGridView项目地址:https://github.com/mrKlar/PagedDragDropGrid在线演示:http://youtu.be/FYTSRfthSuQAndroid-DraggableGridViewPagerItem 可拖动交换位置的 GridView,实际是自己继承 ViewGroup 实现,类似桌面的多屏效果,可屏幕自动左右滚动进行 Item 移动交换,单屏效果见上面 DraggableGridView项目地址:https://github.com/zzhouj/Android-DraggableGridViewPagerDemo 地址:https://github.com/Trinea/trinea-download/blob/master/draggable-grid-viewpager-demo.apk?raw=trueTwoWayGridView可横向滚动的 GridView项目地址:https://github.com/jess-anders/two-way-gridviewPagingGridView分页加载的 GridView。当滑动到 GridView 底部最后一个行时,显示一个进度行,然后加载下一页数据,并显示。项目地址:https://github.com/nicolasjafelle/PagingGridViewAsymmetricGridView一个支持跨行和跨列可变 Item 大小的 GridView项目地址:https://github.com/felipecsl/AsymmetricGridViewDemo 地址:https://play.google.com/store/apps/details?id=com.felipecsl.asymmetricgridview.app效果图:RenderingsGridView with Header and Footer和ListView一样带头部和底部的GridView,用法和ListView一样项目地址:https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter效果图:Renderings

六、ImageView

PhotoView支持双击或双指缩放的 ImageView,在 ViewPager 等 Scrolling view 中正常使用,相比上面的 AndroidTouchGallery,不仅支持 ViewPager,同时支持单个 ImageView项目地址:https://github.com/chrisbanes/PhotoView原理剖析文档:PhotoViewDemo 地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sampleAPP 示例:photupandroid-gif-drawable支持 gif 显示的 view,用 jni 实现的,编译生成 so 库后直接 xml 定义 view 即可,而且本身不依赖于其他开源项目所以相对下面的 ImageViewEx 简单的多项目地址:https://github.com/koral--/android-gif-drawableImageViewEx支持 Gif 显示的 ImageView,依赖很多,编译过程很繁琐项目地址:https://github.com/frapontillo/ImageViewExDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=trueRoundedImageView带圆角的 ImageView项目地址:https://github.com/vinc3m1/RoundedImageView效果图:RenderingsSelectableRoundedImageViewImageView 允许四个角的每一个有不同的半径值。也允许椭圆形、圆形的形状或者边项目地址:https://github.com/pungrue26/SelectableRoundedImageViewDemo 地址:https://play.google.com/store/apps/details?id=com.joooonho效果图:RenderingsColorArt根据图片的均色设置背景色显示文字和图片,类似 itune11 中效果项目地址:https://github.com/MichaelEvans/ColorArtDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/color-art-demo.apk?raw=trueCircleImageView圆形的 ImageView项目地址:https://github.com/hdodenhof/CircleImageView效果图:RenderingsImageViewZoom支持放大和平移的 ImageView项目地址:https://github.com/sephiroth74/ImageViewZoomAPP 示例:https://play.google.com/store/apps/details?id=com.aviary.android.featherKenBurnsView实现 Ken Burns effect 效果,达到身临其境效果的 ImageView项目地址:https://github.com/flavioarfaria/KenBurnsViewCustomShapeImageView各种形状的 ImageView, 相比上面的圆形 ImageView,多了更多形状项目地址:https://github.com/MostafaGazar/CustomShapeImageView效果图:RenderingsShape Image View可以自定义各种形状的 ImageView, 并且支持边框项目地址:https://github.com/siyamed/android-shape-imageview效果图:Renderingshttps://github.com/siyamed/android-shape-imageview/raw/master/images/all-samples.pngTextDrawable一个用于生成带有文本或者字母的图片的轻量级库。扩展自 Drawable,因此可用于现有/自定义/网络等 ImageView 类,并且包含一个流接口用于创建 drawables 以及一个定制的 ColorGenerator项目地址:https://github.com/amulyakhare/TextDrawable效果图:Renderingsandroid-smart-image-view可从 URL 或 contact address book 加载图片的 ImageView,支持缓存项目地址:https://github.com/loopj/android-smart-image-viewPhotoView支持双指/双击缩放的ImageView,支持从一个PhotoView缩放到另外一个PhotoView(点击图片放大预览),相对于其他PhototView有更加平滑的缩放,平移的动画,并且支持所有的ScaleType,可以作为普通的ImageView使用项目地址:https://github.com/bm-x/PhotoView效果图:Renderings

七、ProgressBar

SmoothProgressBar水平进度条项目地址:https://github.com/castorflex/SmoothProgressBarDemo 地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sampleMaterialProgessBarMaterial Design 的进度条,支持 Android 4.0项目地址:https://github.com/DreaminginCodeZH/MaterialProgressBarDemo 地址:https://github.com/DreaminginCodeZH/MaterialProgressBar/blob/master/dist/sample.apkProgressWheel支持进度显示的圆形 ProgressBar项目地址:https://github.com/Todd-Davies/ProgressWheelDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=trueandroid-square-progressbar在图片周围显示进度项目地址:https://github.com/mrwonderman/android-square-progressbarDemo 地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example效果图:RenderingsAPP 示例:squareHoloCircularProgressBarAndroid4.1 时钟 App 样式项目地址:https://github.com/passsy/android-HoloCircularProgressBar效果图:RenderingsAPP 示例:Android4.1 时钟 AppProgressButton通过图钉的不同状态显示进度项目地址:https://github.com/f2prateek/progressbutton文档介绍:http://f2prateek.com/progressbutton/效果图:RenderingsGoogleProgressBar类似 google 多个圆形卡片翻转的 progressBar项目地址:https://github.com/jpardogo/GoogleProgressBar效果图:RenderingsTH-ProgressButton带圆形进度显示的按钮项目地址:https://github.com/torryharris/TH-ProgressButton效果图:Renderingshttps://raw.github.com/Vyshakh-K/TH-ProgressButton/master/screenshots/progressshot2.pngNumberProgressBar带数字进度的进度条项目地址:https://github.com/daimajia/NumberProgressBar效果图:RenderingsCircularProgressDrawable带圆形进度显示的进度条项目地址:https://github.com/Sefford/CircularProgressDrawable效果图:RenderingsAndroid-RoundCornerProgressBarAndroid 圆角 ProgressBar,可自定义圆角颜色和半径,包括带 Icon 和不带 Icon 两种类型。项目地址:https://github.com/akexorcist/Android-RoundCornerProgressBar效果图:Renderingscircular-progress-button带进度显示的 Button项目地址:https://github.com/dmytrodanylyk/circular-progress-button效果图:RenderingsWaveView一个波纹效果的 View,可用来做 ProgressBar项目地址:https://github.com/john990/WaveViewDemo 地址:https://raw.github.com/john990/WaveView/master/screenshot%26apk/demo.unaligned.apk效果图:RenderingsMaterialLoadingProgressBar抽取自 SwipeRefreshLayout 的 Material Design 进度指示器项目地址:https://github.com/lsjwzh/MaterialLoadingProgressBar效果图:RenderingsMetaballLoadingA 2d metaball loading 项目地址:https://github.com/dodola/MetaballLoading 效果图:Renderings 效果图:RenderingsSectorProgressView一个圆形或环形的进度显示控件,用圆中扇形的角度大小来表示进度信息项目地址:https://github.com/timqi/SectorProgressViewDemo:apk download 效果图:ColorfulRingProgressView SectorProgressView

八、TextView

包括 TextView 及所有继承自 TextView 控件,如 EditText、Button、RadioButton

android-flowtextview文字自动环绕其他 View 的 Layout项目地址:https://github.com/deano2390/FlowTextView效果图:RenderingsAndroid Form EditText验证输入合法性的编辑框,支持输入、英文、ip、url 等多种正则验证项目地址:https://github.com/vekexasia/android-edittext-validatorDemo 地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexampleEmojicon支持 emojis 的 TextView 和 EditText项目地址:https://github.com/rockerhieu/emojicon文档介绍:http://rockerhieu.com/emojicon/android-circlebuttonAndroid 圆形按钮,实际实现是继承自 ImageView项目地址:https://github.com/markushi/android-circlebuttonDemo 地址:https://github.com/markushi/android-circlebutton/blob/master/example/example.apkSegmented Radio Buttons for AndroidiOS’s segmented controls 的实现项目地址:https://github.com/vinc3m1/android-segmentedradiobuttonDemo 地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true效果图:RenderingsChips EditText Library支持国家名字联想从而选择显示该国国旗的 EditText,实际就是通过 SpannableStringBuilder 实现项目地址:https://github.com/kpbird/chips-edittext-libraryDemo 地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/binAutoFitTextView可固定边界内容字体大小自适应的 TextView项目地址:https://github.com/grantland/android-autofittextviewShimmer for Android文字发淡光的 TextView项目地址:https://github.com/RomainPiel/Shimmer-androidTitanic可以显示水位上升下降(不知道该怎么描述 囧)的 TextView项目地址:https://github.com/RomainPiel/Titanic效果图:Renderingsandroid-iconify提供带 Icon 的 TextView,Menu,Button 等项目地址:https://github.com/JoanZapata/android-iconifyCalligraphy让我们在 android 开发中使用自定义字体变得更加简单项目地址:https://github.com/chrisjenx/Calligraphy效果图:RenderingsCreditsRoll类似星球大战字幕效果的 TextView项目地址:https://github.com/frakbot/CreditsRollandroid-process-buton带加载或提交进度的 Button项目地址:https://github.com/dmytrodanylyk/android-process-butonFButton扁平化的 Button项目地址:https://github.com/hoang8f/android-flat-buttonDemo 地址:https://play.google.com/store/apps/details?id=info.hoang8f.fbutton.demoFloatingActionButton一个类似 Android 版 Google+浮动功能按钮的控件,可以响应 ListView 的滚动事件。当列表向上滚动的时候会自动显示,向下滚动的时候自动隐藏。项目地址:https://github.com/makovkastar/FloatingActionButtonDemo 地址:https://github.com/makovkastar/FloatingActionButton/tree/master/效果图:RenderingsAndroid SaripaarAndroid 表单验证项目地址:https://github.com/ragunathjawahar/android-saripaar/JumpingBeans文字像 Mexican beans 一样跳动项目地址:https://github.com/frakbot/JumpingBeansDemo 地址:http://play.google.com/store/apps/details?id=net.frakbot.jumpingbeans.demo效果图:RenderingsFancyButtons一个不用图片就可以帮助我们创建出漂亮按钮的库。项目地址:https://github.com/medyo/fancybuttonsDemo 地址:https://github.com/medyo/fancybuttons/tree/master/samples效果图:Renderingshttps://raw.githubusercontent.com/medyo/fancybuttons/master/screenshots/fancy2.pngAndroid-RobotoTextView一个实现了所有 Roboto 字体的 TextView,包括新出的 Roboto Slab 字体。项目地址:https://github.com/johnkil/Android-RobotoTextViewDemo 地址:http://play.google.com/store/apps/details?id=com.devspark.robototextviewDemo 项目:https://github.com/johnkil/Android-RobotoTextView/tree/master/robototextview-sample效果图:RenderingsAndroid-WizardPager一个表单向导库项目地址:https://github.com/romannurik/android-wizardpagerDemo 项目:https://github.com/str4d/android-wizardpager/tree/textfield效果图:RenderingsRippleView一个实现了 Android L 上才引入的点击按钮后出现水波纹效果的按钮项目地址:https://github.com/siriscac/RippleViewDemo 项目:https://github.com/siriscac/RippleView/tree/master/RippleViewExample效果图:RenderingsRippleEffect一个实现 Material Design Ripple 效果的库,支持 Android API 9+以上版本。项目地址:https://github.com/traex/RippleEffectDemo 项目:https://github.com/traex/RippleEffect/tree/master/sample效果图:RenderingsRippleCompat 使用易于移植的方式为UI控件实现波纹效应,可以适配控件原背景及Palette支持。api简单,可自定义效果,兼容至Android API 7+。 项目地址:https://github.com/desmond1121/RippleCompat Demo 项目:https://github.com/desmond1121/RippleCompat/tree/master/app 效果图: Renderings

palette效果: Renderings

Android Floating Label Widgets包含一系列控件,这些控件特点是:有默认值,当值不为空时默认值浮动到上面变为提示项目地址:https://github.com/marvinlabs/android-floatinglabel-widgetsDemo 地址:https://play.google.com/store/apps/details?id=com.marvinlabs.widget.floatinglabel.demo在线演示:http://www.youtube.com/watch?v=hpZD9gJcRg0&feature=youtu.beMaterialEditTextEditText 的 Material Design 实现。包含 Google Material Design Spec中的 UI 效果和一些新增特性。项目地址:https://github.com/rengwuxian/MaterialEditTextMaterialEditText 实现 Material Design 中 Ripple 效果线条背景的 EditText。直接替换原生 EditText 即可集成。MultiActionTextView可以分别给 TextView 中的某几个字设置点击事件的 TextView项目地址:https://github.com/ajaysahani/MultiActionTextView效果图:RenderingsToggleButton状态切换的 Button,类似 iOS,用 View 实现项目地址:https://github.com/zcweng/ToggleButton效果图:RenderingsSlideSwitch状态切换的开关,可以设置为类似 IOS 的圆形,也可以设置为矩形,用 View 实现项目地址:https://github.com/Leaking/SlideSwitch效果图:RenderingsExpandableTextView可展开和收缩内容的 TextView。项目地址:https://github.com/Manabu-GT/ExpandableTextView效果图:RenderingsTagCloudView(支持 SingleLine 模式的标签云)标签云效果,只需要一行代码即可设置为 SingleLine 模式,轻松实现知乎问题话题列表效果。SingleLine 模式时末尾文字及图片可自定义。 项目地址:https://github.com/kingideayou/TagCloudView示例APK地址:https://github.com/kingideayou/TagCloudView/raw/master/apk/Demo.apkAPP示例:知乎效果图:RenderingsBubbleTextView Android Bubble View 项目地址:https://github.com/dupengtao/BubbleTextView 效果图:Renderings

九、ScrollView

Discrollview支持滚动时 Item 淡入淡出,平移,缩放效果的 ScrollView项目地址:https://github.com/flavienlaurent/discrollviewDemo 地址:https://github.com/flavienlaurent/discrollview/raw/master/sample.apkPullScrollView仿照新浪微博 Android 客户端个人中心的 ScrollView,下拉背景伸缩回弹效果。项目地址:https://github.com/MarkMjw/PullScrollView效果图:RenderingsArcLayout一个非常简单的弧布局库项目地址:https://github.com/ogaclejapan/ArcLayoutDemo 地址:https://play.google.com/store/apps/details?id=com.ogaclejapan.arclayout.demo效果图:Renderingshttps://raw.githubusercontent.com/ogaclejapan/ArcLayout/master/art/demo2.gifParallaxScrollView支持视差滚动的 ScrollView ,背景图片的滚动速度小于 ScrollView 中子控件的滚动速度项目地址:https://github.com/chrisjenx/ParallaxScrollViewDemo 地址:http://cloud.github.com/downloads/chrisjenx/ParallaxScrollView/ParallaxScrollViewDemo-v1.0.5.apkAKParallax-Android支持视差滚动的 ScrollView项目地址:https://github.com/ideaismobile/AKParallax-AndroidDemo 地址:https://play.google.com/store/apps/details?id=com.appkraft.parallax_sampleAndroid-ObservableScrollView监听滚动视图滚动事件的库,帮助与 Toolbar 的交互动效处理与 Material Design 的实现项目地址:https://github.com/ksoichiro/Android-ObservableScrollViewDemo 地址:https://play.google.com/store/apps/details?id=com.github.ksoichiro.android.observablescrollview.samples2OverScrollView有弹性的 ScrollView,实现了当手指滑动到 ScrollView 的顶部、底部时,可以继续的向上、向下拉伸。当释放手指的时候,向上、下回弹项目地址:https://github.com/EverythingMe/OverScrollView

十、TimeView

包括 TimePicker、DatePicker、CalendarView、Clock 等时间相关控件

android-times-squareAndroid 日历时间部件,支持选取单个日期,多个日期,及日期区间段和对话框形式显示项目地址:https://github.com/square/android-times-squareDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/times-square-demo.apk?raw=trueandroid-calendar-card日历项目地址:https://github.com/kenumir/android-calendar-cardDemo 地址:https://play.google.com/store/apps/details?id=com.wt.calendarcardsample效果图:RenderingsAndroidWheelAndroid Wheel 支持城市、多种日期时间、密码、图片项目地址:https://code.google.com/p/android-wheel/效果图:RenderingsGoogleDateTimePickers时间选择部件项目地址:https://github.com/Mirkoddd/GoogleDateTimePickers文档介绍:https://play.google.com/store/apps/details?id=com.mirko.sample&hl=itDateTimePicker日期选择部件(Google Agenda 的样式风格)项目地址:https://github.com/flavienlaurent/datetimepickerDemo 地址:https://raw.github.com/biboune/datetimepicker/master/datetimepicker-sample.apk效果图:Renderingsandroid-betterpickers提供日期、数字、时间(数字方式和钟表方式)、重复周期(闹钟的周期重复)、HMS(时、分、秒)的选择,支持以 DialogFragment 的弹窗选择项目地址:https://github.com/derekbrameyer/android-betterpickersDemo 地址:https://play.google.com/store/apps/details?id=com.doomonafireball.betterpickers.sample效果图:RenderingsAndroid Week View日期控件,支持周,天视图,支持自定义样式项目地址:https://github.com/alamkanak/Android-Week-View效果图:RenderingsPickerView仿 iOS 的 PickerView 控件,有时间选择和选项选择并支持一二三级联动效果,TimePopupWindow 时间选择器,支持年月日时分,年月日,时分等格式;OptionsPopupWindow 选项选择器,支持一,二,三级选项选择,并且可以设置是否联动项目地址:https://github.com/saiwu-bigkoo/Android-PickerView效果图:RenderingsCountdownViewAndroid 倒计时控件,使用Canvas绘制,支持多种样式项目地址:https://github.com/iwgang/CountdownView效果图:Renderings

十一、TipView

包括 Toast、角标、UndoBar 等提示性控件

SVProgressHUD SVProgressHUD For Android 精仿iOS的提示库 SVProgressHUD,api也几乎一样。项目地址:https://github.com/saiwu-bigkoo/Android-SVProgressHUD效果图:RenderingsCrouton丰富样式的 Toast,允许 alert、comfirm、info 样式及点击消失样式,允许设置 Toast 显示时间,允许自定义 View。 本文 32. SuperToasts 为其扩展版项目地址:https://github.com/keyboardsurfer/CroutonDemo 地址:http://play.google.com/store/apps/details?id=de.keyboardsurfer.app.demo.croutonsupertooltips带动画效果的 Tips 显示项目地址:https://github.com/nhaarman/supertooltipsDemo 地址:https://play.google.com/store/apps/details?id=com.haarman.supertooltipsAndroid ViewBadger为其他 View 添加角标(消息圆点)等项目地址:https://github.com/jgilfelt/android-viewbadgerDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/android-viewbadger.apk?raw=true效果图:RenderingsSuperToasts更丰富样式的 toast,支持 Button、Progress、Horizontal Progress 样式、支持进入动画、支持撤销及其动画设置项目地址:https://github.com/JohnPersano/SuperToastsDemo 地址:https://play.google.com/store/apps/details?id=com.supertoastsdemo效果图:RenderingsUndoBar屏幕底部显示取消或是确认的 PopupWindows项目地址:https://github.com/soarcn/UndoBar效果图:RenderingsUndoBar屏幕底部显示取消或是确认某操作项目地址:https://github.com/jenzz/Android-UndoBar效果图:RenderingsAndroid-ActionItemBadge可以在 ActionBar 的 MenuItem 上显示一个小角标项目地址:https://github.com/mikepenz/Android-ActionItemBadge效果图:RenderingsSnackBarMaterial Design 风格的 Toast,类似 Google inbox 中的提示项目地址:https://github.com/MrEngineer13/SnackBarDemo 地址:https://play.google.com/store/apps/details?id=com.mrengineer13.snackbar.sample效果图:RenderingsHeadsUp在 2.3 上使用 android 5.0 的 HeadsUp 效果项目地址:https://github.com/zzz40500/HeadsUp效果图:![Renderings](gif](http://upload-images.jianshu.io/upload_images/166866-543a5d26ab71d0f6.gif)

十二、FlipView

android-flip类似 Flipboard 翻转动画的实现项目地址:https://github.com/openaphid/android-flipDemo 地址:https://github.com/openaphid/android-flip/blob/master/FlipView/Demo/APK/Aphid-FlipView-Demo.apk?raw=trueAPP 示例:flipboardFlipImageView支持 x、y、z 及动画选择的翻转动画的实现项目地址:https://github.com/castorflex/FlipImageViewDemo 地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.flipimageviewFoldableLayoutFlip 翻转效果的 ListView,目前还不支持 ListView 缓存项目地址:https://github.com/alexvasilkov/FoldableLayoutDemo 地址:http://play.google.com/store/apps/details?id=com.alexvasilkov.foldablelayout.sampleFlipViewPager.DracoFlip 翻转效果的 ViewPager项目地址:https://github.com/Yalantis/FlipViewPager.Draco效果:flip.gif

十三、ColorPickView

ColorPickerView颜色选择器,支持 PopupWindows 或新的 Activity 中打开项目地址:https://code.google.com/p/color-picker-view/效果图:RenderingsHoloColorPicker颜色选择器项目地址:https://github.com/LarsWerkman/HoloColorPickerDemo 地址:https://docs.google.com/file/d/0BwclyDTlLrdXRzVnTGJvTlRfU2s/editColorPickerPreference颜色选择器项目地址:https://github.com/attenzione/android-ColorPickerPreference效果图:RenderingsColorPicker颜色选择器(Google Agenda 中的样式风格)项目地址:https://github.com/flavienlaurent/colorpickerDemo 地址:https://raw.github.com/biboune/colorpicker/master/colorpicker-sample.apk效果图:Renderings

十四、GraphView

MPAndroidChart强大的图表绘制工具,支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、网状图等;支持图的拖拽缩放;支持 Android 2.2 以上,支持横纵轴缩放,多指缩放,展现动画、高亮、保存到 sdcard、从文件读取图表项目地址:https://github.com/PhilJay/MPAndroidChartDemo 地址:https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexampleDemo 项目:https://github.com/PhilJay/MPAndroidChart/tree/master/MPChartExample效果图:Renderingshttps://camo.githubusercontent.com/78b4bc4e50e151970961daf56e81c4c0db72d27c/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f73696d706c6564657369676e5f6261726368617274332e706e67https://camo.githubusercontent.com/65f51783ec05038730b481ed614b57a94e867d86/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f626172636861727432642e706e67https://camo.githubusercontent.com/f66a35bf430b12480d3e2ed8e3bc8d7a17db950f/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f626172636861727433642e706e67https://camo.githubusercontent.com/60bd0d71462ad577df775b956944b191e939728a/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d50416e64726f696443686172742f6d61737465722f73637265656e73686f74732f70696563686172745f686f6c657261646975735f73706163652e706e67https://camo.githubusercontent.com/6b254aa699df7f9464967009129c3017de721b77/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d50416e64726f696443686172742f6d61737465722f73637265656e73686f74732f7363617474657263686172742e706e67在线演示:https://www.youtube.com/watch?v=ufaK_Hd6BpIachartengine强大的图表绘制工具,支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、拨号图/表、立方线图及各种图的结合项目地址:https://code.google.com/p/achartengine/效果图:Renderingshttp://www.achartengine.org/dimages/sales_line_and_area_chart.pnghttp://www.achartengine.org/dimages/temperature_range_chart.pnghttp://www.achartengine.org/dimages/combined_chart.pnghttp://www.achartengine.org/dimages/budget_chart.png官网网址:http://www.achartengine.org/APP 示例:Wordpress Android,Google AnalyticsGraphView绘制图表和曲线图的 View,可用于 Android 上的曲形图、柱状图、波浪图展示项目地址:https://github.com/jjoe64/GraphViewDemo 项目:https://github.com/jjoe64/GraphView-DemosAPP 示例:Wordpress Android,Google AnalyticsHoloGraphLibrary绘制现状图、柱状图、饼状图项目地址:https://bitbucket.org/danielnadeau/holographlibrary/src文档介绍:https://bitbucket.org/danielnadeau/holographlibrary/wiki/HomeXCL-ChartsXCL-Charts 基于原生的 Canvas 来绘制各种图表,在设计时,尽量在保证开发效率的同时,给使用者提供足够多的定制化能力。因此使用简便,同时具有相当灵活的定制能力。目前支持 3D/非 3D 柱形图(Bar Chart)、3D/非 3D 饼图(Pie Chart)、堆积图(Stacked Bar Chart)、面积图(Area Chart)、 折线图(Line Chart)、曲线图(Spline Chart)、环形图(Dount Chart)、南丁格尔玫瑰图(Rose Chart)、仪表盘(Dial Chart)、刻度盘(Gauge Chart)、雷达图(Radar Chart)、圆形图(Circle Chart)等图表。其它特性还包括支持图表缩放、手势移动、动画显示效果、高密度柱形显示、图表分界定制线、多图表的混合显示及同数据源不同类型图表切换等。项目地址:https://github.com/xcltapestry/XCL-ChartsDemo 地址:https://github.com/xcltapestry/XCL-Charts/blob/master/XCL-Charts-demo/bin/XCL-Charts-demo.apk?raw=trueEazeGraphAndroid 图表库,支持柱状图、分层柱状图、饼状图、线性图项目地址:https://github.com/blackfizz/EazeGraphDemo 地址:https://play.google.com/store/apps/details?id=org.eazegraph.appWilliamChart绘制图表的库,支持 LineChartView、BarChartView 和 StackBarChartView 三中图表类型,并且支持 Android 2.2 及以上的系统。项目地址:https://github.com/diogobernardino/WilliamChartDemo 地址:https://play.google.com/store/apps/details?id=com.db.williamchartdemoDemo 项目:https://github.com/diogobernardino/WilliamChart/tree/master/sample效果图:RenderingsRenderingsRenderingsHelloCharts for Android支持折线图、柱状图、饼图、气泡图、组合图;支持预览、放大缩小,滚动,部分图表支持动画;支持 Android 2.2 以上项目地址:https://github.com/lecho/hellocharts-androidDemo 地址:https://play.google.com/store/apps/details?id=lecho.lib.hellocharts.samples在线演示:https://www.youtube.com/watch?v=xbSBjyjH2SY

十五、UI Style

不同样式的系统 UI 风格,如 IOS、Bootstrap 风格

UITableViewios 风格控件,包括 Button、ListView、TableView项目地址:https://github.com/thiagolocatelli/android-uitableviewDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/ui-tableview-demo.apk?raw=trueATableViewios 风格控件项目地址:https://github.com/dmacosta/ATableViewDemo 地址:https://play.google.com/store/apps/details?id=com.nakardo.atableview.demoCards-UI卡片式 View,支持单个卡片,item 为卡片的 ListView项目地址:https://github.com/afollestad/Cards-UIDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/cards-ui-demo.apk?raw=truecardslib卡片式 View,支持单个卡片,item 为卡片的 ListView 和 GridView项目地址:https://github.com/gabrielemariotti/cardslibDemo 地址:https://play.google.com/store/apps/details?id=it.gmariotti.cardslib.demoAndroid-BootstrapBootstrap 风格的按钮项目地址:https://github.com/Bearded-Hen/Android-Bootstrap效果图:RenderingsMaterial Design Android LibraryAndroid L 中 Material Design 风格的组件适配到 Android 2.2+项目地址:https://github.com/navasmdc/MaterialDesignLibraryAndroid FlatUIAndroid 扁平化风格的组件,支持一些自定义样式项目地址:https://github.com/eluleci/FlatUI效果图:Renderingscheesesquare全新 Android 设计库演示 Demo,包括 Collapsing Toolbar、FloatingActionButton、View anchoring、NavigationView、Snackbar项目地址:https://github.com/chrisbanes/cheesesquare效果图:Renderings

十六、其他

SwipeBackLayout左右或向上滑动返回的 Activity项目地址:https://github.com/Issacw0ng/SwipeBackLayoutDemo 地址:https://play.google.com/store/apps/details?id=me.imid.swipebacklayout.demoAPP 示例:知乎android-styled-dialogs可自定义样式的 dialog,默认与 Holo 主题样式一致,在 Android2.2 以上同一样式项目地址:https://github.com/inmite/android-styled-dialogsDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/styled-dialogs-demo.apk?raw=trueAndroid Sliding Up Panel可拖动的 View,能在当前 Activity 上扶起一个可拖动的 Panel项目地址:https://github.com/umano/AndroidSlidingUpPanelDemo 地址:https://play.google.com/store/apps/details?id=com.sothree.umanoAPP 示例:Google Music 精简播放栏TableFixHeaders第一列固定的 Table项目地址:https://github.com/InQBarna/TableFixHeadersDemo 地址:http://bit.ly/13buAIqInscription可用于展示应用 change 和 new feature 信息项目地址:https://github.com/MartinvanZ/InscriptionActivityTransitionActivity 切换动画,包括渐变、flip、某个位置进入等等项目地址:https://github.com/ophilbert/ActivityTransition文档介绍:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=trueEasyAndroidAnimations针对 View 的各种动画项目地址:https://github.com/2359media/EasyAndroidAnimationsViewAnimation对android view 动画进行封装,实现起更简单,自带三种常见运动路径,其他的可自定义项目地址:https://github.com/guohuanwen/ViewAniamtion效果图:ViewAnimationAPP 示例:QQ名片圈圈效果AndroidLoadingAnimation多种android加载动画项目地址:https://github.com/guohuanwen/AndroidLoadingAnimation效果图:TaiJIViewandroid-lockpatternAndroid 的图案密码解锁项目地址:https://code.google.com/p/android-lockpattern/原理剖析文档:android-lockpatternDemo 地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo文档介绍:https://code.google.com/p/android-lockpattern/wiki/QuickUseAPP 示例:Android 开机的图案密码解锁,支付宝的密码解锁PatternLock另一个 Android 图案解锁库项目地址:https://github.com/DreaminginCodeZH/PatternLockDemo 地址:https://github.com/DreaminginCodeZH/PatternLock/raw/master/dist/sample.apk效果图:RenderingsAPP 示例:Android 开机的图案密码解锁,支付宝的密码解锁RangeBar类似于 SeekBar,不同的是可以选择一个范围内的值而不是单个值项目地址:https://github.com/edmodo/range-barDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/range-bar-demo.apk?raw=true效果图:RenderingsChromeView利用 Chromium 实现的 WebView,解决各个 Android 版本 WebView 不同的问题,同时利用最新 Chrome 代码项目地址:https://github.com/pwnall/chromeviewandroid-phased-seek-bar支持预先定义状态的 SeekBar项目地址:https://github.com/ademar111190/android-phased-seek-bar效果图:RenderingsAndroid Slider Preference Library可添加到设置中的基于对话框的 RankBar 小部件项目地址:https://github.com/jayschwa/AndroidSliderPreferenceShowcaseView library用于高亮显示应用程序的特定部分,从而突出突出重点项目地址:https://github.com/amlcurran/ShowcaseViewandroid-segmented-controlAndroid 上的 Segmented Controls,相当于 RadioButton 组项目地址:https://github.com/hoang8f/android-segmented-controlSwipeable Cards类似 Tinder 的卡片效果,可以加载图片并动画效果展示,向左滑动表示喜欢,向右表示不喜欢项目地址:https://github.com/kikoso/Swipeable-CardsDemo 地址:https://play.google.com/store/apps/details?id=info.hoang8f.fbutton.demoEdgeEffectOverride改变 ScrollView, ListView, ExpandableListView, GridView, ViewPager 等滚动控件滚动到边缘的颜色效果项目地址:https://github.com/AndroidAlliance/EdgeEffectOverrideandroid-pinned-header-listviews使 ExpandListView 的 Group 滑动到顶端时会固定不动直到另外一个 Group 到达顶端项目地址:https://github.com/rtyley/android-pinned-header-listviewsAndroidSwipeLayout滑动 Layout,支持单个 View,ListView,GridView项目地址:https://github.com/daimajia/AndroidSwipeLayoutDemo 地址:Download Demo效果图:RenderingsDynamicCardLayout在 Android 中实现的类似 Windows8 的瓷片布局项目地址:https://github.com/dodola/DynamicCardLayout效果图:RenderingsEmoticons-Keyboard带表情情符号的自定义键盘项目地址:https://github.com/chiragjain/Emoticons-Keyboard效果图:RenderingsAndroid Typeface Helper可以帮你轻松实现自定义字体的库项目地址:https://github.com/norbsoft/android-typeface-helper效果图:RenderingsAndroid-Anim-Playground几个动画效果,其中第二个基于 android-svg 的绘制效果非常好项目地址:https://github.com/Tibolte/Android-Anim-Playground效果图:RenderingsAlertView 仿iOS的AlertViewController 几乎完美还原iOS 的 AlertViewController ,同时支持Alert和ActionSheet模式,每一个细节都是精雕细琢,并把api封装成懒到极致模式,一行代码就可以进行弹窗.项目地址:https://github.com/saiwu-bigkoo/Android-AlertView效果图:RenderingsNiftyDialogEffects支持自定义飞入动画样式的 Dialog项目地址:https://github.com/sd6352051/NiftyDialogEffects效果图:Renderings在线演示:http://tympanus.net/Development/ModalWindowEffects/PostOffice创建 Holo 及 Material Design 样式的 Dialog项目地址:https://github.com/r0adkll/PostOffice效果图:RenderingsSwipecards类似 Tinder 的卡片效果,可以加载图片并动画效果展示,向左滑动表示喜欢,向右表示不喜欢,根据 Kikoso's Swipeable-Cards 改造而来项目地址:https://github.com/Diolor/SwipecardsSeekArc圆形的 SeekBar项目地址:https://github.com/TriggerTrap/SeekArc效果图:RenderingsBlurDialogFragment显示 DialogFragment 时背景模糊效果项目地址:https://github.com/tvbarthel/BlurDialogFragmentDemo 地址:https://play.google.com/store/apps/details?id=fr.tvbarthel.lib.blurdialogfragment.samplerange-seek-bar随机值选取的 SeekBar项目地址:https://github.com/yahoo/android-range-seek-bar效果图:RenderingsMaterialRangeBar可以选择一个范围内的值而不是单个值的 SeekBar,RangeBar 的 Material Design 风格适配项目地址:https://github.com/oli107/material-range-bar效果图:RenderingsMaterialListMaterial Design 风格的 CardView项目地址:https://github.com/dexafree/MaterialListDemo 地址:https://play.google.com/store/apps/details?id=com.dexafree.materiallistviewexample效果图:Renderingsroad-trip设置 path 的各种动画效果,以及如何实现复杂路径动画,类似于 ios 中的指纹注册界面的指纹动画效果项目地址:https://github.com/romainguy/road-trip效果图:Renderingsdialogplus一个简单的 Android 对话框,支持不同的弹出模式项目地址:https://github.com/orhanobut/dialogplus效果图:RenderingsFlowLayout一个简单的流式布局,用法类似 LinearLayout,但是能够让子元素根据宽度自动换行项目地址:FLowLayout效果图:Renderings

第二部分 工具库

主要包括那些不错的开发库,包括依赖注入框架、图片缓存、网络请求、数据库 ORM 建模、Android 公共库、Android 高版本向低版本兼容、多媒体相关及其他。
一、依赖注入 DI

通过依赖注入减少 View、服务、资源简化初始化,事件绑定等重复繁琐工作

AndroidAnnotations(Code Diet)android 快速开发框架项目地址:https://github.com/excilys/androidannotations文档介绍:https://github.com/excilys/androidannotations/wiki官网网址:http://androidannotations.org/特点:(1) 依赖注入:包括 view,extras,系统服务,资源等等(2) 简单的线程模型,通过 annotation 表示方法运行在 ui 线程还是后台线程(3) 事件绑定:通过 annotation 表示 view 的响应事件,不用在写内部类(4) REST 客户端:定义客户端接口,自动生成 REST 请求的实现(5) 没有你想象的复杂:AndroidAnnotations 只是在在编译时生成相应子类(6) 不影响应用性能:仅 50kb,在编译时完成,不会对运行时有性能影响。其他:与 roboguice 的比较:roboguice 通过运行时读取 annotations 进行反射,所以可能影响应用性能,而 AndroidAnnotations 在编译时生成子类,所以对性能没有影响roboguice帮你处理了很多代码异常,利用 annotation 使得更少的代码完成项目项目地址:https://github.com/roboguice/roboguice文档介绍:https://github.com/roboguice/roboguice/wikibutterknife利用 annotation 帮你快速完成 View 的初始化,减少代码项目地址:https://github.com/JakeWharton/butterknife文档介绍:http://jakewharton.github.io/butterknife/Dagger依赖注入,适用于 Android 和 Java项目地址:https://github.com/square/dagger原理剖析文档:Dagger文档介绍:http://square.github.io/dagger/

二、图片缓存

Android-Universal-Image-Loader图片缓存,目前使用最广泛的图片缓存,支持主流图片缓存的绝大多数特性。项目地址:https://github.com/nostra13/Android-Universal-Image-Loader原理剖析文档:Android-Universal-Image-LoaderDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/universal-imageloader-demo.apk?raw=true文档介绍:http://www.intexsoft.com/blog/item/74-universal-image-loader-part-3.htmlpicassosquare 开源的图片缓存项目地址:https://github.com/square/picasso文档介绍:http://square.github.io/picasso/特点:(1)可以自动检测 adapter 的重用并取消之前的下载(2)图片变换(3)可以加载本地资源(4)可以设置占位资源(5)支持 debug 模式Cube ImageLoader阿里巴巴一淘使用的图片加载,综合了 Android-Universal-Image-Loader 和 square 等组件优点,简单易用,良好的中文文档支持项目地址:https://github.com/etao-open-source/cube-sdkDemo 地址:https://github.com/liaohuqiu/cube-sdk/raw/master/cube-sdk-sample.apk文档介绍:http://cube-sdk.liaohuqiu.net/效果图:Renderingsfresco一款强大的图片缓存工具,由 Facebook 开发项目地址:https://github.com/facebook/fresco文档介绍:http://frescolib.org/特点:(1) 两个内存缓存加上磁盘缓存构成了三级缓存(2) 支持流式,可以类似网页上模糊渐进式显示图片(3) 对多帧动画图片支持更好,如 Gif、WebP(4) 更多样的显示,如圆角、进度条、点击重试、自定义对焦点(5) 更多样的加载,如支持 EXIF、全面支持 WebP(6) 支持 Android 2.3+GlideGlide 是一个 android 平台上的快速和高效的开源的多媒体资源管理库,提供 多媒体文件的压缩,内存和磁盘缓存, 资源池的接口。它可以最大性能地在 Android 设备上读取、解码、显示图片和视频。Glide 可以将远程的图片、视频、动画图片等缓存在设备本地便于提高用户浏览图片的流畅体验。项目地址:https://github.com/bumptech/glide特点:(1) GIF 动画的解码(2) 本地视频剧照的解码(3) 支持缩略图(4) Activity 生命周期的集成(5) 转码的支持(6) 动画的支持(7) OkHttp 和 Volley 的支持

三、网络请求

VolleyGoogle 提供的网络通信库,使得网络请求更简单、更快速项目地址:https://android.googlesource.com/platform/frameworks/volley文档介绍:http://commondatastorage.googleapis.com/io-2013/presentations/110%20-%20Volley-%20Easy,%20Fast%20Networking%20for%20Android.pdfAsynchronous Http Client for AndroidAndroid 异步 Http 请求项目地址:https://github.com/loopj/android-async-http文档介绍:http://loopj.com/android-async-http/特点:(1) 在匿名回调中处理请求结果(2) 在 UI 线程外进行 http 请求(3) 文件断点上传(4) 智能重试(5) 默认 gzip 压缩(6) 支持解析成 Json 格式(7) 可将 Cookies 持久化到 SharedPreferencesandroid-query异步加载,更少代码完成 Android 加载项目地址:https://github.com/androidquery/androidquery 或 https://code.google.com/p/android-query/Demo 地址:https://play.google.com/store/apps/details?id=com.androidquery文档介绍:https://code.google.com/p/android-query/#Why_AQuery?特点:https://code.google.com/p/android-query/#Why_AQuery?Async Http ClientJava 异步 Http 请求项目地址:https://github.com/AsyncHttpClient/async-http-client文档介绍:http://sonatype.github.io/async-http-client/Ion支持图片、json、http post 等异步请求项目地址:https://github.com/koush/ion文档介绍:https://github.com/koush/ion#more-examplesHttp Request项目地址:https://github.com/kevinsawicki/http-request文档介绍:https://github.com/kevinsawicki/http-request#examplesokhttpsquare 开源的 http 工具类项目地址:https://github.com/square/okhttp文档介绍:http://square.github.io/okhttp/特点:(1) 支持 SPDY( http://zh.wikipedia.org/wiki/SPDY )协议。SPDY 协议是 Google 开发的基于传输控制协议的应用层协议,通过压缩,多路复用(一个 TCP 链接传送网页和图片等资源)和优先级来缩短加载时间。(2) 如果 SPDY 不可用,利用连接池减少请求延迟(3) Gzip 压缩(4) Response 缓存减少不必要的请求RetrofitRESTFUL API 设计项目地址:https://github.com/square/retrofit文档介绍:http://square.github.io/retrofit/RoboSpiceAndroid 异步网络请求工具,支持缓存、REST 等等项目地址:https://github.com/stephanenicolas/robospiceDemo 地址:https://github.com/stephanenicolas/RoboDemo/downloadsTwistVolleyTwistVolley 是对 Volley 的一个封装库。提供类似 Picasso 一样的串联式 API。使得使用 Volley 更加方便。项目地址:https://github.com/TwistedEquations/TwistVolley

四、数据库 orm 工具包

orm 的 db 工具类,简化建表、查询、更新、插入、事务、索引的操作

greenDAOAndroid Sqlite orm 的 db 工具类项目地址:https://github.com/greenrobot/greenDAO文档介绍:http://greendao-orm.com/documentation/官网网址:http://greendao-orm.com/特点:(1) 性能佳(2) 简单易用的 API(3) 内存小好小(4) 库大小小ActiveAndroidAndroid Sqlite orm 的 db 工具类项目地址:https://github.com/pardom/ActiveAndroid文档介绍:https://github.com/pardom/ActiveAndroid/wiki/_pagesSprinklesAndroid Sqlite orm 的 db 工具类,比较显著的特点就是配合 https://github.com/square/retrofit 能保存从服务器获取的数据项目地址:https://github.com/emilsjolander/sprinkles文档介绍:http://emilsjolander.github.io/blog/2013/12/18/android-with-sprinkles/Realm移动端的数据库,适用于 Phone、Tablet、Wearable,支持 ORM,线程安全、支持连表及数据库加密,比 SQLite 性能更好项目地址:https://github.com/realm/realm-java文档介绍:http://realm.io/docs/java/0.72.0/ormlite-android项目地址:https://github.com/j256/ormlite-android文档介绍:http://ormlite.com/sqlite_java_android_orm.shtmlSchematic根据 SQLite 生成 ContentProvider项目地址:https://github.com/SimonVT/schematicDBFlowAndroid SQLite ORM 工具库。综合了 Active Android, Schematic, Ollie,Sprinkles 等库的优点;通过注解实现,性能好;能生成 ContentProvider。项目地址:https://github.com/Raizlabs/DBFlow文档介绍:https://github.com/Raizlabs/DBFlow#usage-docs

五、Android 公共库

GuavaGoogle 的基于 java1.6 的类库集合的扩展项目,包括 collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O 等等. 这些高质量的 API 可以使你的 JAVa 代码更加优雅,更加简洁项目地址:https://code.google.com/p/guava-libraries/文档介绍:https://code.google.com/p/guava-libraries/wiki/GuavaExplainedAndroidCommonAndroid 公共库项目地址:https://github.com/Trinea/AndroidCommonDemo 地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文档介绍:http://www.trinea.cn/android/android-common-lib/包括:a. ImageCache 图片缓存,包含内存和 Sdcard 缓存http://www.trinea.cn/android/android-imagecache/特点:(1)支持预取新图片,支持等待队列(2)包含二级缓存,可自定义文件名保存规则(3)可选择多种缓存算法(FIFO、LIFO、LRU、MRU、LFU、MFU 等 13 种)或自定义缓存算法(4)可方便的保存及初始化恢复数据(5)支持不同类型网络处理(6)可根据系统配置初始化缓存等HttpCache Http 缓存文档介绍:http://www.trinea.cn/android/android-http-cache特点是:(1) 根据 cache-control、expires 缓存 http 请求(2) 支持同步、异步 Http 请求(3) 在匿名回调中处理请求结果(4) 在 UI 线程外进行 http 请求(5) 默认 gzip 压缩(2) 公共 View(下拉及底部加载更多 ListView、底部加载更多 ScrollView、滑动一页 Gallery)(3) Android 常用工具类(网络、下载、Android 资源操作、shell、文件、Json、随机数、Collection 等等)DropDownListView 下拉刷新及滑动到底部加载更多 ListView文档介绍:http://www.trinea.cn/android/dropdown-to-refresh-and-bottom-load-more-listview/shipfaster整合了 Dagger Otto Retrofit Robolectric Picasso OkHttp,方便快速开发项目地址:https://github.com/pyricau/shipfasterCleanAndroidCode整合了 Dagger Otto AndroidAnnotations,方便快速开发项目地址:https://github.com/pyricau/CleanAndroidCodexUtils基于 Afinal,包含 DbUtils、ViewUtils、HttpUtils、BitmapUtils 四大模块,可用于快速开发项目地址:https://github.com/wyouflf/xUtils原理剖析文档:xUtilsAfinalAfinal 是一个 android 的 ioc,orm 框架,内置了四大模块功能:FinalAcitivity,FinalBitmap,FinalDb,FinalHttp。通过 finalActivity,我们可以通过注解的方式进行绑定 ui 和事件。通过 finalBitmap,我们可以方便的加载 bitmap 图片,而无需考虑 oom 等问题。通过 finalDB 模块,我们一行代码就可以对 android 的 sqlite 数据库进行增删改查。通过 FinalHttp 模块,我们可以以 ajax 形式请求 http 数据项目地址:https://github.com/yangfuhai/afinal官网网址:http://www.afinal.orgUltimateAndroidUltimateAndroid 是一个快速开发 Android 应用的框架,框架目前主要包含的功能有 View Injection,ORM,异步网络请求和图片加载,自动化脚本测试,磁盘 LRU 等功能.同时提供了类似于 TripleDes、Webview 快速设置、Md5 处理、String 处理,Https 处理等常用工具类,还有超过 100 多种 UI 控件效果。项目地址:https://github.com/cymcsg/UltimateAndroid官网网址:http://blog.marshalchen.com/UltimateAndroid/SAFSAF(Simple Android Framework)是一个简单的 android 框架,它为开发 Android app 提供了基础性组件。项目地址:https://github.com/fengzhizi715/SAF官网网址:http://www.salesuite.cn/包括:(1)Event Bus(事件总线)(2) Rest Client(http 的框架)(3) Image Cache(图片缓存)(4) Dependency Injection(依赖注入)(5) Sqlite ORM(sqlite 的 orm)(6) Router(Activity、Fragment 的 Router)(7) Utils(各种常用的工具类)BarberCustom View 神器。通过简单的注解帮助你大大减少 Custom View 中的代码量。由于和 ButterKnife 一样使用了 Annotation Proccessor ,所以对程序性能没有影响。项目地址:https://github.com/hzsweers/barberdevice-year-classA library that analyzes an Android device's specifications and calculates which year the device would be considered "high end”.(facebook 开发的检测手机主流配置工具)项目地址:https://github.com/facebook/device-year-classRxAndroid对RxJava在Android上的扩展,使得Android上也很容易实现reactive components,简化线程操作,从而写出很漂亮的代码。项目地址:https://github.com/ReactiveX/RxAndroid文档介绍:给Android 开发者的 RxJava 详解

六、Android 高版本向低版本兼容

Nine Old Androids将 Android 3.0(Honeycomb)所有动画 API(ObjectAnimator ValueAnimator 等)兼容到 Android1.0项目地址:https://github.com/JakeWharton/NineOldAndroids原理剖析文档:Nine Old AndroidsDemo 地址:https://play.google.com/store/apps/details?id=com.jakewharton.nineoldandroids.sample文档介绍:http://nineoldandroids.com/HoloEverywhere将 Android 3.0 的 Holo 主题兼容到 Android2.1++项目地址:https://github.com/Prototik/HoloEverywhereDemo 地址:https://raw.github.com/Prototik/HoloEverywhere/repo/org/holoeverywhere/demo/2.1.0/demo-2.1.0.apk文档介绍:http://android-developers.blogspot.com/2012/01/holo-everywhere.htmlSherlockNavigationDrawer将 Android NavigationDrawer 和 ActionbarSherlock 结合,解决 4.0 以下 NavigationDrawer 的适配问题项目地址:https://github.com/tobykurien/SherlockNavigationDrawer文档介绍:http://developer.android.com/training/implementing-navigation/nav-drawer.htmlNotifications4EveryWhere将 Android 4.1 的 Notification 兼容到 Android2.2++项目地址:https://github.com/youxiachai/Notifications4EveryWhereAndroid Switch Widget Backport将 Android Switch 和 SwitchPreference 的兼容到 Android2.1++项目地址:https://github.com/BoD/android-switch-backportDemo 地址:https://play.google.com/store/apps/details?id=org.jraf.android.backport.switchwidget.sample文档介绍:https://github.com/BoD/android-switch-backport#using-the-switchandroid-datepicker将 Android 4.0 的 datepicker 兼容到 Android2.2++项目地址:https://github.com/SimonVT/android-datepickerTransitions EverywhereAndroid 4.4 的 Transitions API 兼容到 Android 2.2 以上项目地址:https://github.com/andkulikov/transitions-everywhere

七、多媒体相关

cocos2d-x跨平台的 2d 游戏框架,支持 Android、IOS、Linux、Windows 等众多平台项目地址:https://github.com/cocos2d/cocos2d-x文档介绍:http://www.cocos2d-x.org/wiki官网网址:http://www.cocos2d-x.org/Vitamio是一款 Android 与 iOS 平台上的全能多媒体开发框架项目地址:https://github.com/yixia/VitamioBundle网站介绍:http://www.vitamio.org/docs/特点:(1) 全面支持硬件解码与 GPU 渲染(2) 能够流畅播放 720P 甚至 1080P 高清 MKV,FLV,MP4,MOV,TS,RMVB 等常见格式的视频(3) 在 Android 与 iOS 上跨平台支持 MMS, RTSP, RTMP, HLS(m3u8)等常见的多种视频流媒体协议,包括点播与直播。VDPlayerSDK最容易集成的开源播放器组件,支持直播,支持软硬解切换,支持清晰度切换项目地址:https://github.com/SinaVDDeveloper/Demo 地址:https://github.com/SinaVDDeveloper/demo文档介绍:https://github.com/SinaVDDeveloper/sinavideo_playersdk特点:(1) 使用自定义控件方式提供播放器UI,不需要视频相关知识,能编写android应用就能使用(2) 软硬解切换、点播直播支持(3) 解码内核小于4M,更方便集成到非专业视频app中(4) 修正一些vitaimio的问题,比如m3u8可以拖动等等PhotoProcessing利用 ndk 处理图片库,支持 Instafix、Ansel、Testino、XPro、Retro、BW、Sepia、Cyano、Georgia、Sahara、HDR、Rotate(旋转)、Flip(翻转)等各种特效项目地址:https://github.com/lightbox/PhotoProcessingDemo 地址:https://github.com/Trinea/TrineaDownload/blob/master/photo-processing.apk?raw=trueAndroid StackBlur图片模糊效果工具类项目地址:https://github.com/kikoso/android-stackblurDemo 地址:https://github.com/kikoso/android-stackblur/blob/master/StackBlurDemo/bin/StackBlurDemo.apk?raw=true文档介绍:https://github.com/kikoso/android-stackblur#usageBitmap Smart Clipping using OpenCV图片智能裁剪保留重要部分显示项目地址:https://github.com/beartung/tclip-android利用淘宝的 http://code.taobao.org/p/tclip/ 库完成一淘玩客正在使用的图片裁剪,自动识别图片中的重要区域,并且在图片裁剪时保留重要区域特点:(1). 能进行人脸识别。图片中有人脸,将自动视为人脸区域为重要区域,将不会被裁剪掉(2).自动其它重要区域。如果图片中未识别出人脸,则会根据特征分布计算出重区域Cropper图片局部剪切工具,可触摸控制选择区域或旋转项目地址:https://github.com/edmodo/cropper文档介绍:https://github.com/edmodo/cropper/wiki效果图:Renderingsandroid-crop图片裁剪 Activity项目地址:https://github.com/jdamcd/android-crop效果图:RenderingsTileView可分块显示大图,支持 2D 拖动、双击、双指放大、双指捏合项目地址:https://github.com/moagrius/TileViewDemo 地址:http://moagrius.github.io/TileView/TileViewDemo.apkBlurEffectForAndroidDesign图片模糊效果项目地址:https://github.com/PomepuyN/BlurEffectForAndroidDesignandroid-eyePC 端网页查看同一局域网内的手机摄像头内容,可以用来监控哦项目地址:https://github.com/Teaonly/android-eyeDemo 地址:https://play.google.com/store/apps/details?id=teaonly.droideyelibpng for AndroidPNG 图片的 jni 库,支持几乎 png 的所有特性项目地址:https://github.com/julienr/libpng-android文档介绍:http://www.libpng.org/pub/png/libpng.htmlandroid-gpuimage基于 GPU 的图片滤镜项目地址:https://github.com/CyberAgent/android-gpuimageAndroidFaceCropper图片脸部自动识别,将识别后的局部图片返回项目地址:https://github.com/lafosca/AndroidFaceCropperAndroid Video Crop利用 TextureView 播放和剪切视频,类似 ImageView.setScaleType项目地址:https://github.com/dmytrodanylyk/android-video-cropDemo 地址:https://github.com/lafosca/AndroidFaceCropper/releases/download/1.0/FaceCropper-sample-debug-unaligned.apksvg-androidAndroid Svg 矢量图形支持项目地址:https://github.com/japgolly/svg-android https://github.com/japgolly/svg-androidAndroid Visualizer从 Android MediaPlayer 获得音频,然后像 iTunes 及 WinAmp 一样展示音轨项目地址:https://github.com/felixpalmer/android-visualizerExoPlayer包括仪表板和 SmoothStreaming 自适应回放,缓存持久化和自定义渲染器,方便自定义和扩展,并且可以通过应用商店更新项目地址:https://github.com/google/ExoPlayerDanmakuFlameMasterandroid 上开源弹幕解析绘制引擎项目项目地址:https://github.com/ctiao/DanmakuFlameMaster

八、事件总线(订阅者模式)

通过发布/订阅事件解耦事件发送和接受,从而简化应用程序组件(Activities, Fragments 及后台线程)之间的通信

EventBusgreenrobot 的开源项目项目地址:https://github.com/greenrobot/EventBus原理剖析文档:EventBus文档介绍:https://github.com/greenrobot/EventBus#general-usage-and-api特点:(1) 支持在不同类型的线程中处理订阅,包括发布所在线程,UI 线程、单一后台线程、异步线程(2) 支持事件优先级定义,支持优先级高的订阅者取消事件继续传递,支持粘性事件,是不是跟系统的有序广播、粘性广播很像啊(3) 不是基于 annotations(4) 性能更优(5) 体积小(6) 支持单例创建或创建多个对象(7) 支持根据事件类型订阅OttoSquare 的开源项目,基于 Guava 的 Android 优化项目地址:https://github.com/square/otto文档介绍:http://square.github.io/otto/EventBus 与 Otto 的功能及性能对比文档EventBus 与 Otto 性能对比 Demo Apk

九、传感器

Great Android Sensing ToolkitAndroid 感应器工具包,包含示例及使用过程中可能需要的算法项目地址:https://github.com/gast-lib/gast-libDemo 地址:https://play.google.com/store/apps/details?id=root.gast.playground文档介绍:https://github.com/gast-lib/gast-lib#documentationSensorManagerAndroid 传感器管理项目地址:https://github.com/nlathia/SensorManager文档介绍:https://docs.google.com/document/d/1TqThJULb-4e6TGb1gdkAaPCfyuXStjJpbnt7a0OZ9OE/editGPSLogger记录 GPS 信息项目地址:https://github.com/mendhak/gpsloggerDemo 地址:https://play.google.com/store/apps/details?id=com.mendhak.gpslogger文档介绍:http://code.mendhak.com/gpslogger/Pedometer计步器,使用硬件计步感应器项目地址:https://github.com/j4velin/PedometerleapcastChromeCast 模拟器的 App项目地址:https://github.com/dz0ny/leapcastArduino-Communicator与 Arduino 通信的 App项目地址:https://github.com/jeppsson/Arduino-Communicatorandroid-pedometerAndroid 计步器项目地址:https://github.com/bagilevi/android-pedometerDemo 地址:http://pedometer.googlecode.com/files/Pedometer-1.4.apkOwnTracks for Android自己的轨迹记录项目地址:https://github.com/owntracks/androidShake Detector library for AndroidAndroid 手机震动摇晃检测库,提供供 UI 线程调用的回调接口项目地址:https://github.com/tbouron/ShakeDetectorDemo 地址:https://play.google.com/store/apps/details?id=com.github.tbouron.shakedetector.exampleAndroid heart rate monitorAndroid 心跳检测项目地址:https://github.com/phishman3579/android-heart-rate-monitorBluetooth LE Library for Android蓝牙源信息,包括宝库 Mac、更新时间、RSSI、UUID、信号源距离、影响范围等信息项目地址:https://github.com/alt236/Bluetooth-LE-Library---AndroidDemo 地址:https://play.google.com/store/apps/details?id=uk.co.alt236.btlescanfarebot通过 NFC 从公交卡中读取数据的一个应用项目地址:https://github.com/codebutler/farebot

十、安全

SQLCipherSqlite 加密工具项目地址:https://github.com/sqlcipher/sqlcipher文档介绍:http://sqlcipher.net/sqlcipher-for-android/Conceal快速高效的进行文件加密解密项目地址:https://github.com/facebook/conceal文档介绍:https://github.com/facebook/conceal#usageAndroid-PasscodeLock应用锁,每次启动或从任何 Activity 启动应用都需要输入四位数字的密码方可进入项目地址:https://github.com/wordpress-mobile/Android-PasscodeLockDemo 地址:https://play.google.com/store/apps/details?id=org.wordpress.androidAPP 示例:Wordpress Android,支付宝,挖财GlowPadBackport将 Android4.2 的锁屏界面解锁扩展到 Android1.6 及 1.6+项目地址:https://github.com/rock3r/GlowPadBackportDemo 地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample效果图:RenderingsGlowPadViewAndroid 4 锁屏界面解锁项目地址:https://github.com/nadavfima/GlowPadView效果图:RenderingsAndroid-InsecureBank关于 Android 不安全性的示例项目地址:https://github.com/dineshshetty/Android-InsecureBankv2

十一、插件化

更多见:Android 插件化作用、概念以及不错的资料(包括开源项目)和解决方案

dynamic-load-apkAndroid 动态加载 Apk,热部署,利用 ClassLoader 以及 Activity 代理的方式解决项目地址:https://github.com/singwhatiwanna/dynamic-load-apk原理剖析文档:dynamic-load-apk文档介绍:http://blog.csdn.net/singwhatiwanna/article/details/22597587Android Dynamic Loader点评的实现方式,和上面不同的是:他不是用代理 Activity 的方式实现而是用 Fragment 以及 Schema 的方式实现项目地址:https://github.com/mmin18/AndroidDynamicLoaderDemo 地址:https://github.com/mmin18/AndroidDynamicLoader/raw/master/host.apkxCombineAndroid App 插件式插件开发,插件必须先安装,更推荐看上面两个开源项目项目地址:https://github.com/wyouflf/xCombine文档介绍:http://my.oschina.net/u/1171837/blog/155377Android Plugin FrameworkAndroid 插件式开发,开放的源码目前不完整项目地址:https://github.com/umeng/apfAndroid OpenAtlasAndroid插件框架,基于OSGI,非代理方式,组件需要在宿主中声明项目地址:https://github.com/bunnyblue/OpenAtlasDemo 地址:https://github.com/bunnyblue/OpenAtlasExtension/blob/master/Dist/OpenAtlasLauncher.apkmultidex安装多 dex 的 classloader项目地址:https://github.com/casidiablo/multidexANR-WatchDogAndroid ANR 监听,通过监听自己的 UI Thread 是否被执行确定是否发生了 ANR,并可以设置相关事件项目地址:https://github.com/SalomonBrys/ANR-WatchDog

十二、文件

对不同文档类型的处理,包括 PDF、Word、EPub、Html、Zip 等

purePDF允许从任何运行的 SWF 文件读取和创建 PDF 文档项目地址:https://github.com/sephiroth74/purePDFandroid-pdfview快速解析 pdf 的 view,默认支持手势缩放和相关动画项目地址:https://github.com/JoanZapata/android-pdfviewOffice 365 SDK for Android Preview可支持 Microsoft SharePoint Lists, Microsoft SharePoint Files, Microsoft Exchange Calendar, Microsoft Exchange Contacts, Microsoft Exchange Mail项目地址:https://github.com/OfficeDev/Office-365-SDK-for-AndroidOpenSpritz-AndroidEPub 阅读器项目地址:https://github.com/OnlyInAmerica/OpenSpritz-Androidjsoup一个解析 html 的 java 库,可方便的提取和操作数据项目地址:https://github.com/jhy/jsoup官网网址:http://jsoup.org/作用:(1) 从一个 url、文件或 string 获得 html 并解析(2) 利用 dom 遍历或 css 选择器查找、提取数据(3) 操作 html 元素(4) 根据白名单去除用于提交的非法数据防止 xss 攻击(5) 输出整齐的 htmlZIPjava 压缩和解压库项目地址:https://github.com/zeroturnaround/zt-zip文档介绍:https://github.com/zeroturnaround/zt-zip#examples作用:(1) 解压和压缩,并支持文件夹内递归操作(2) 支持包含和排除某些元素(3) 支持重命名元素(4) 支持遍历 zip 包内容(5) 比较两个 zip 包等功能Image File Selector轻量级的图片文件选择器,用系统api选取,压缩和裁切图片,可以方便的得要指定尺寸的图片项目地址:https://github.com/sw926/ImageFileSelector

十三、其他

Salvage view带 View 缓存的 Viewpager PagerAdapter,很方便使用项目地址:https://github.com/JakeWharton/salvageAndroid Priority Job QueueAndroid 后台任务队列项目地址:https://github.com/path/android-priority-jobqueue文档介绍:https://github.com/path/android-priority-jobqueue#getting-startedCobub Razor开源的 mobile 行为分析系统,包括 web 端、android 端,支持 ios 和 window phone项目地址:https://github.com/cobub/razorDemo 地址:http://demo.cobub.com/razor官网网址:http://dev.cobub.com/CountlyAndroid 移动端数据采集分析系统项目地址:https://github.com/Countly/countly-sdk-android官网网址:https://count.ly/aFileChooser文件选择器,可内嵌到程序中,而无需使用系统或三方文件选择器。项目地址:https://github.com/iPaulPro/aFileChooserandroidpn基于 xmpp 协议的消息推送解决方案,包括服务器端和 android 端。项目地址:https://github.com/dannytiehui/androidpnBoltsAndroid 的异步编程模式项目地址:https://github.com/BoltsFramework/Bolts-Android/与 AsyncTask 比较:(1) 使用的是无大小限制的线程池(2) 任务可组合可级联,防止了代码耦合CastCompanionLibrary-android使 Android 程序中更快的接入 Google Cast项目地址:https://github.com/googlecast/CastCompanionLibrary-android文档介绍:https://developers.google.com/cast/CastVideos-android从 Android 设备分享 Video 通过 Google Cast项目地址:https://github.com/googlecast/CastVideos-android文档介绍:https://developers.google.com/cast/Uninstall_StaticsAndroid 应用自身被卸载监听及打开浏览器等反馈功能实现项目地址:https://github.com/sevenler/Uninstall_Statics文档介绍:http://www.cnblogs.com/zealotrouge/p/3157126.htmlhttp://www.cnblogs.com/zealotrouge/p/3159772.htmlMemento保证在系统配置改变时,Activity 中的某些数据可以简单安全的保持不变项目地址:https://github.com/mttkay/memento文档介绍:https://github.com/mttkay/memento#usageFreeFlow布局引擎,更简单的创建自定义布局,并且当数据和布局改变时更美观的过渡动画项目地址:https://github.com/Comcast/FreeFlowDemo 地址:https://github.com/Comcast/FreeFlow/releasesAndroid Gesture Detectors FrameworkAndroid 手势框架,支持双指旋转、移动、平移、缩放等项目地址:https://github.com/Almeros/android-gesture-detectorsMapbox Android SDKAndroid Map 的替代版项目地址:https://github.com/mapbox/mapbox-android-sdkActivity animationActivity 跳转动画,支持各个方向波浪的效果项目地址:https://github.com/flavienlaurent/activityanimation在线演示:https://www.youtube.com/watch?v=-E0sc6w_JckKryoNet通过 NIO 提供客户端和服务器端 TCP/UDP 网络传输的 Java 库项目地址:https://github.com/EsotericSoftware/kryonetRebound一个模仿弹簧反弹的 Java 库,可用于创建动画项目地址:https://github.com/facebook/reboundAndroid Social Networks社交网络接入统一管理器,可方便的从 Twitter, LinkedIn, Facebook, Google Plus 登陆、获得个人信息、发送消息、发送专篇、添加或删除好友项目地址:https://github.com/antonkrasov/AndroidSocialNetworksDemo 地址:https://play.google.com/store/apps/details?id=com.github.androidsocialnetworks.apidemosSmartAppUpdatesAndroid App 增量升级,包含前后端方案、Demo、以及 so 库,可用于商店或大体积 App 差分升级项目地址:https://github.com/cundong/SmartAppUpdatesMagnet创建类似 Facebook 聊天桌面悬浮窗的效果项目地址:https://github.com/premnirmal/MagnetAcDisplay将 Android 的通知都集中到锁屏显示项目地址:https://github.com/AChep/AcDisplayDemo 地址:https://play.google.com/store/apps/details?id=com.achep.acdisplayQrCodeScanZXing 和 ZBar 结合的二维码扫描项目,提高了扫描效率项目地址:https://github.com/SkillCollege/QrCodeScan效果图:RenderingsAndroid-ScreenShot实现 android 系统截屏功能项目地址:https://github.com/Android-ScreenShot/AndroidScreenShotService文档介绍:http://blog.csdn.net/buptgshengod/article/details/39155979card.io SDK for Android信用卡扫描 Android SDK项目地址:https://github.com/card-io/card.io-Android-SDKDemo 项目:https://github.com/card-io/card.io-Android-SDK/tree/master/SampleAppASNETwitter, Facebook, Google Plus, LinkedIn, Instagram, Vkontakte, Odnoklassniki 的集成库,包括他们的大多数功能项目地址:https://github.com/gorbin/ASNEDemo 地址:https://play.google.com/store/apps/details?id=com.gorbin.androidsocialnetworksextended.asneAndroid Signature PadAndroid 自定义的签名 View,可自定义笔颜色和大小项目地址:https://github.com/gcacace/android-signaturepadDemo 项目:https://github.com/gcacace/android-signaturepad/tree/master/SignaturePad-ExampleTeleportAndroid Wear 数据同步和消息传送库项目地址:https://github.com/Mariuxtheone/TeleportDebugLog可以帮你创建更简单和更容易理解的调试日志,能够友好的显示调试信息所在类和函数。项目地址:https://github.com/MustafaFerhan/DebugLog效果图:RenderingsLogger简单、美观而且十分强大的 Android 日志工具项目地址:https://github.com/orhanobut/loggerDemo 地址:https://github.com/orhanobut/logger/tree/master/app效果图:RenderingsPhrasesquare 组开源大牛写的字符串替换类项目地址:https://github.com/square/phraseColorPhrase模仿 phrase 写的对字符串个别字符颜色改变的类,高效强大!项目地址:https://github.com/THEONE10211024/ColorPhrase效果图:RenderingsPinyinSearch一个为 T9 搜索和 Qwerty 搜索,提供数据解析与匹配等方法的拼音搜索 java 库。项目地址: https://github.com/handsomezhou/PinyinSearchLibraryDemo 地址: ContactsSearch AppSearch效果图:RenderingsAPP 示例: 通讯录应用,微信电话本PrainViewPaintView 是一个画图工具:可直接使用设定按钮来实现已拥有的方法,且拓展性强基础功能:更换颜色、更换橡皮、以及更换橡皮和笔的粗细、清屏、倒入图片特殊功能:保存画笔轨迹帧动画、帧动画导入导出、ReDo和UnDo项目地址:Paintview效果图:p1p2demo地址:apk地址原理解析:PaintView 绘图控件解析CodeViewCodeView代码查看/修改工具: 基于WebView制作的代码编辑器,实现代码高亮,暗色主题项目地址:CodeView效果图:p3p4demo地址:apk地址ExplorerView文件浏览器:继承自ListView,可拓展性强,可进行文件类型分析项目地址:CodeView效果图:p5p6demo地址:apk地址ReadView小说阅读器,支持文字字体、颜色、背景、进度等多种调整,支持一键设置。项目地址:ReadView效果图:p7demo地址:apk地址MarkDownView支持MarkDown语法的渲染器,基于WebView的MarkDown渲染器,支持标准化的MarkDown语法, 调用接口和CodeView保持一致使用简便项目地址:ReadView效果图:markdowndemo地址:apk地址VerTextView竖行排版的TextView:支持竖行排版,添加了下划线功能,开启简便,下划线粗细、颜色、间距均可自定义,接口调用方式与TextView相似,使用简便。项目地址:ReadView效果图:vertextviewdemo地址:apk地址

第三部分 优秀项目

主要介绍那些 Android 还不错的完整项目,目前包含的项目主要依据是项目有意思或项目分层规范比较好。
一、系统及平台

Linux项目地址:https://github.com/torvalds/linuxAndroid项目地址:https://android.googlesource.com/

二、项目

ZXing二维码扫描工具项目地址:https://github.com/zxing/zxing 或 https://code.google.com/p/zxing/APK 地址:https://play.google.com/store/apps/details?id=com.google.zxing.client.android其他:现在市面上很多应用的二维码扫描功能都是从这个修改而来photup编辑机批量上传照片到 facebook 上项目地址:https://github.com/chrisbanes/photupAPK 地址:https://play.google.com/store/apps/details?id=uk.co.senab.photup其他:代码分包合理,很棒。不过这个项目依赖的开源项目比较多,比较难编译github-androidGithub 的 Android 客户端项目项目地址:https://github.com/github/androidAPK 地址:https://play.google.com/store/apps/details?id=com.github.mobileNotesMIUI 便签项目地址:https://github.com/MiCode/NotesAPK 地址:https://github.com/Trinea/TrineaDownload/blob/master/miui-note-demo.apk?raw=true其他:项目分包比较合理,相比较 miui 的文件管理器 https://github.com/MiCode/FileExplorer 代码规范较好得多weicuiyuan四次元-新浪微博客户端项目地址:https://github.com/qii/weiciyuanAPK 地址:https://play.google.com/store/apps/details?id=org.qii.weiciyuangnucash-android一个记账理财软件项目地址:https://github.com/codinguser/gnucash-androidAPK 地址:http://play.google.com/store/apps/details?id=org.gnucash.androidAntennaPod支持 rss 订阅、音乐订阅项目地址:https://github.com/danieloeh/AntennaPodAPK 地址:https://play.google.com/store/apps/details?id=de.danoeh.antennapodChaseWhisplyProject打鬼游戏项目地址:https://github.com/tvbarthel/ChaseWhisplyProjectAPK 地址:https://play.google.com/store/apps/details?id=fr.tvbarthel.games.chasewhisplyTweet Lanes功能完整的 Twitter 客户端项目地址:https://github.com/chrislacy/TweetLanesAPK 地址:https://play.google.com/store/apps/details?id=com.tweetlanes.androidFinancius简单易用的记账程序项目地址:https://github.com/mvarnagiris/FinanciusAPK 地址:https://play.google.com/store/apps/details?id=com.code44.financetodo.txt-androidtodo.txt 的官方 Android 应用项目地址:https://github.com/ginatrapani/todo.txt-androidAPK 地址:https://play.google.com/store/apps/details?id=com.todotxt.todotxttouchsimpletask基于 todo.txt 官方应用的另一个客户端项目地址:https://github.com/mpcjanssen/simpletask-androidAPK 地址:https://play.google.com/store/apps/details?id=nl.mpcjanssen.todotxtholoMuzei Live Wallpaper定时更换桌面精美壁纸项目地址:https://github.com/romannurik/muzeiAPK 地址:https://play.google.com/store/apps/details?id=net.nurik.roman.muzeiScanbook扫描搜索查询图书信息项目地址:https://github.com/JayFang1993/ScanBookAPK 地址:http://www.wandoujia.com/apps/com.scanbookioschedThe Google I/O 2014 Android App项目地址:https://github.com/google/ioschedAPK 地址:https://play.google.com/store/apps/details?id=com.google.samples.apps.iosched

第四部分 开发工具及测试工具

主要介绍和 Android 开发工具和测试工具相关的开源项目。
一、开发效率工具

Parceler通过注解及工具类自动完成实体类 Parcelable 及值传递项目地址:https://github.com/johncarl81/parcelerJson2Java根据 JSon 数据自动生成对应的 Java 实体类,还支持 Parcel、Gson Annotations 对应代码自动生成。期待后续的提取父类以及多 url 构建整个工程的功能项目地址:https://github.com/jonfhancock/JsonToJava在线演示:http://jsontojava.appspot.com/IntelliJ Plugin for Android Parcelable boilerplate code generationAndroid studio 插件,生成 Parcelable 代码项目地址:https://github.com/mcharmas/android-parcelable-intellij-plugin效果图:RenderingsAndroid Holo Colors IntelliJ PluginAndroid studio 插件,生成 holo 样式 9 patch 图片项目地址:https://github.com/jeromevdl/android-holo-colors-idea-plugin效果图:RenderingsAndroid Drawable Factory用于生成各个分辨率的图片项目地址:https://github.com/tizionario/AndroidDrawableFactory效果图:RenderingsSelectorChapek for AndroidAndroid Studio 插件,可根据固定文件名格式资源自动生成 drawable selectors xml 文件。项目地址:https://github.com/inmite/android-selector-chapekAndroid Action Bar Style GeneratorAndroid ActionBar 样式生成器,可在线选择 ActionBar 样式自动生成所需要的图片资源及 xml 文件项目地址:https://github.com/jgilfelt/android-actionbarstylegenerator在线演示:http://jgilfelt.github.io/android-actionbarstylegenerator/ButterKnifeZelezny用于快速生成ButterKnifeView 注入代码的 Android Studio/IDEA 插件项目地址:https://github.com/inmite/android-butterknife-zeleznyRoboCoP利用 Gradle task 根据固定格式的 json 文件生成 ContentProvider项目地址:https://github.com/mediarain/RoboCoPappiconsizes用于生成各个分辨率的图片项目地址:http://www.appiconsizes.com/Gradle Retrolambda PluginRetrolambda是将 Java8 的 Lambdas 应用于 Java7 的工具,本项目是 Gradle 插件,通过 Retrolambda 从而使 Java 或 Android 项目用 Java8 的 Lambdas 编写,将编译后的字节码转换为 Java6 和 7 的字节码从而正常运行项目地址:https://github.com/evant/gradle-retrolambdaDagger IntelliJ Plugindagger 的 intellij 插件项目地址:https://github.com/square/dagger-intellij-pluginAndroid Gen Drawable Maven plugin在编译时根据 SVG 描述文件生成不同分辨率的 jpg、png 或点 9 图片项目地址:https://github.com/avianey/androidgendrawable-maven-pluginAndroid Asset Studio各种 Android 资源自动生成器,包括启动图标、ActionBar 图标、通知栏图标、点 9 等项目地址:https://github.com/romannurik/AndroidAssetStudio在线演示:http://romannurik.github.io/AndroidAssetStudio/jsonschema2pojo根据 Json 内容生成 java 对象,支持 jackjson 和 gson项目地址:https://github.com/joelittlejohn/jsonschema2pojo在线演示:http://www.jsonschema2pojo.org/GsonFormat根据 JSONObject 格式的字符串,自动生成实体类参数的 Android Studio/IntelliJ IDEA 插件项目地址:https://github.com/zzz40500/GsonFormat效果图:Renderings9-Patch-Resizer自动生成 png 及点 9 图片的不同分辨率版本项目地址:https://github.com/redwarp/9-Patch-ResizerAndroidLocalizationer可用于将项目中的 string 资源自动翻译为其他语言的 Android Studio/IntelliJ IDEA 插件项目地址:https://github.com/westlinkin/AndroidLocalizationerMaterial Palette一个将现有的色彩方案组合成材料设计的调色板方案,提供下载。选取两个主要色彩后便可以提供下载,提供下载的格式可以是 android 的资源 xml 文件,以色彩的方式提供,也可以是 CSS、SVG、PNG 等常见格式文件。项目地址:http://www.materialpalette.com/

二、开发自测相关

Quality Tools for AndroidAndroid 测试及自测工具集合和示例项目地址:https://github.com/stephanenicolas/Quality-Tools-for-Androidandroid-test-kitGoogle 的 Android 测试工具包括 GoogleInstrumentationTestRunner(增强版的 InstrumentationTestRunner)和 Espresso(用于快速写出可靠测试用例的 API)项目地址:https://code.google.com/p/android-test-kit/文档介绍:https://code.google.com/p/android-test-kit/w/listrobolectric测试用例编写框架项目地址:https://github.com/robolectric/robolectricDemo 地址:https://github.com/robolectric/robolectricsample文档介绍:http://robolectric.org/特点:(1). 不需要模拟器在一般 JVM 就可以运行测试用例(2). 能完成在真机上的大部分测试包括感应器其他的测试用例及相关模块 Mock 可见:android-mock, mockito, easy-mockAndroid FEST提供一些列方便的断言,可用于提高编写 Android 自测代码效率项目地址:https://github.com/square/fest-androidBoundBox可用于测试类各种访问权限的属性、方法。实际是通过 BoundBox 这个 annotation 生成一个属性和方法都是 public 权限的中间类并对此类进行测试完成的项目地址:https://github.com/stephanenicolas/boundboxHugo用于打印函数信息及执行时间的工具,仅在 debug 模式生效项目地址:https://github.com/JakeWharton/hugoscalpel在应用下面添加一层用于界面调试项目地址:https://github.com/JakeWharton/scalpelAndroid Screenshot libraryAndroid 截图工具类,用于在持续集成时截图项目地址:https://github.com/rtyley/android-screenshot-libsonar-android-lint-plugin将 android lint 的错误在 sonar 中展现项目地址:https://github.com/SonarCommunity/sonar-android

三、测试工具

Spoon可用于 android 不同机型设备自动化测试,能将应用 apk 和测试 apk 运行在不同机器上并生成相应测试报告。项目地址:https://github.com/square/spoonTencent APTAPT 是腾讯开源的一个 Android 平台高效性能测试组件,提供丰富实用的功能,适用于开发自测、定位性能瓶颈;测试人员完成性能基准测试、竞品对比测试项目地址:https://github.com/stormzhang/APTEmmagee网易开源的性能测试工具,包括 CPU、内存、网络流量、启动时间、电池状态等项目地址:https://github.com/NetEase/EmmageeAndroid py-uiautomatorpy-uiautomator 是一个对 Android uiautomator 用 Python 进行封装的测试框架.项目地址:https://github.com/xiaocong/uiautomatorAugmented Traffic Control模拟网络状况,包括带宽、时延抖动、丢包率、错包率、包重排率项目地址:https://github.com/facebook/augmented-traffic-controlstetho强大的 Android Debug 工具。支持网络请求监控以及数据库查看,可以和 Chrome DevTools 结合或者命令行模式。项目地址:https://github.com/facebook/stetho

四、开发及编译环境

Buckfacebook 开源的 Android 编译工具,效率是 ant 的两倍。主要优点在于:(1) 加快编译速度,通过并行利用多核 cpu 和跟踪不变资源减少增量编译时间实现(2) 可以在编译系统中生成编译规则而无须另外的系统生成编译规则文件(3) 编译同时可生成单元测试结果(4) 既可用于 IDE 编译也可用于持续集成编译(5) facebook 持续优化中项目地址:https://github.com/facebook/buckAndroid Maven PluginAndroid Maven 插件,可用于对 android 三方依赖进行管理。在 J2EE 开发中,maven 是非常成熟的依赖库管理工具,可统一管理依赖库。项目地址:https://github.com/jayway/maven-android-pluginumeng-muti-channel-build-tool渠道打包工具项目地址:https://github.com/umeng/umeng-muti-channel-build-tool另可参见 Google 的构建系统 Gradle:http://tools.android.com/tech-docs/new-build-system/user-guideGenymotion目前最好用最快的 android 模拟器项目地址:http://www.genymotion.com/Android studio 集成控件: http://plugins.jetbrains.com/plugin/7269?pr=ideaCyril Mottier 推荐:http://cyrilmottier.com/2013/06/27/a-productive-android-development-environment/gradle-mvn-push方便的将 Gradle 的 Artifacts 上传到 Maven 仓库项目地址:https://github.com/chrisbanes/gradle-mvn-push文档介绍:https://github.com/chrisbanes/gradle-mvn-push#usageAndroid Emulator Plugin for JenkinsAndroid 模拟器 jenkins 插件,用于 Jenkins 做持续集成时跑模拟器测试项目地址:https://github.com/jenkinsci/android-emulator-pluginAndroid Maven Plugin管理应用所需要的依赖库。包括的构建工具有 Maven、Gradle、ant、sbt项目地址:https://github.com/mosabua/maven-android-sdk-deployerSDK Manager Plugin下载和管理 Android SDK 的 Gradle 插件项目地址:https://github.com/JakeWharton/sdk-manager-pluginGradle Protobuf Plugin将.proto 文件转换成 Java 文件的 gradle 插件项目地址:https://github.com/andrewkroh/gradle-protobuf-pluginChromeADBChrome 的 Adb 插件,当登录后,能看到所有连接的设备并操作,可以看应用、进程、内存及磁盘使用情况等项目地址:https://github.com/importre/chromeadb

五、其他

ViewServer允许 app 运行在任何手机上都可以用 HierarchyViewer 查看项目地址:https://github.com/romainguy/ViewServerGridWichterle for Android在整个系统上显示一个 grid,用来帮助查看应用布局及使得布局更美观,可设置 grid 网格大小和颜色,android 推荐 48dp 和 8dp,可见 Android Design Guidelines – Metrics and Grids,比起 hierarchyviewer 相差甚远,不过偶尔可用来作为布局查看工具。项目地址:https://github.com/inmite/android-grid-wichterleDemo 地址:https://play.google.com/store/apps/details?id=eu.inmite.android.gridwichterleCatlog手机端 log 查看工具,支持不同颜色显示、关键字过滤、级别过滤、进程 id 过滤、录制功能等项目地址:https://github.com/nolanlawson/Catlog在线演示:https://play.google.com/store/apps/details?id=com.nolanlawson.logcatPID Cat根据 package 查看 logcat 日志项目地址:https://github.com/JakeWharton/pidcatACRA应用崩溃信息日志上报到 GoogleDoc 工具,网页版展现结果三方开源地址https://github.com/BenoitDuffez/crashreportsviewer项目地址:https://github.com/ACRA/acra文档介绍:https://github.com/ACRA/acra/wiki/BasicSetupCrashlytics提供丰富的应用崩溃信息日志收集轻量级,丰富,可自定义应用崩溃信息收集器,附有邮件通知项目地址:http://www.crashlytics.com/集成插件:Android Studio, Eclipse and IntelliJAndroid Resource Navigatorchrome 插件,可以方便的查看 github 上 android 源码工程的 styles.xml 和 themes.xml。主要功能:(1) 快速打开 android styles.xml themes.xml(2) 方便在资源间跳转。styles.xml themes.xml 文件中资源链接跳转,可以方便跳转到某个资源(3) 方便查找某个 style 和 theme。chrome 地址栏输入 arn+tab+搜索内容回车即可(4) 自动下载不同分辨率下的 drawable(5) 通过映射查找那些不是按照固定命名规则命名的 style 和 theme项目地址:https://github.com/jgilfelt/android-resource-navigator在线演示:https://chrome.google.com/webstore/detail/android-resource-navigato/agoomkionjjbejegcejiefodgbckeebo?hl=en&gl=GBandroid-resource-remover根据 lint 的提示删除项目中无用的资源,减少包的大小项目地址:https://github.com/KeepSafe/android-resource-removerTelescope通过手势截图以特定主题发送到特定邮箱地址报告 Bug项目地址:https://github.com/mattprecious/telescopeComplete Android Fragment & Activity Lifecycle完整的 Android Fragment/Activity 生命周期图项目地址:https://github.com/xxv/android-lifecycleBugsnag Notifier for Android通过Thread.UncaughtExceptionHandler捕获应用未处理的异常崩溃 Bug 并用 Notification 展示同时上传到后台服务器项目地址:https://github.com/bugsnag/bugsnag-android文档介绍:https://github.com/bugsnag/bugsnag-android#installation--setupMaterial Design IconsGoogle Material Design 规范中的 Icon项目地址:https://github.com/google/material-design-iconsscrollscreenshotAndroid 滚动屏幕自动截图 jar 包,支持纵向、横向滚动截屏拼接项目地址:https://github.com/PGSSoft/scrollscreenshot效果图:Renderingsdroidicon1600+的海量 Icon,包括 750+的 Material Design icons项目地址:https://github.com/theDazzler/droidiconleakcanaryAndroid 内存泄露检测工具,集成方便,出现泄露后报告直观项目地址:https://github.com/square/leakcanary效果图:RenderingsCacheUtilsLibrary将任何Java Object类型的数据序列化后写入缓存文件,将来使用时读取缓存文件并反序列化成对应Java Object的库项目地址:https://github.com/westlinkin/CacheUtilsLibrary

第五部分

主要介绍那些乐于分享并且有一些很不错的开源项目的个人和组织。Follow 大神,深挖大神的项目和 following,你会发现很多。
一、个人

JakeWharton就职于 Square,绝对牛逼的大神,项目主要集中在 Android 版本兼容,ViewPager 及开发工具上Github 地址:https://github.com/JakeWharton代表作:ActionBarSherlock,Android-ViewPagerIndicator,Nine Old Androids,SwipeToDismissNOA,hugo,butterknife,Android-DirectionalViewPager, scalpelpidcat 另外对 square 及其他开源项目有很多贡献主页:http://jakewharton.com/Chris BanesGithub 地址:https://github.com/chrisbanes代表作:ActionBar-PullToRefresh,PhotoView,Android-BitmapCache,Android-PullToRefresh主页:http://chris.banes.me/Koushik Dutta就职于 ClockworkModGithub 地址:https://github.com/koush代表作:Superuser,AndroidAsync,UrlImageViewHelper,ion, 另外对https://github.com/CyanogenMod 的开源项目有很多贡献主页:http://koush.com/Simon VigGithub 地址:https://github.com/SimonVT代表作:android-menudrawer,MessageBar主页:http://simonvt.net/Manuel PeinadoGithub 地址:https://github.com/ManuelPeinado代表作:FadingActionBar,GlassActionBar,RefreshActionItem,QuickReturnHeaderEmil Sj?landerGithub 地址:https://github.com/emilsjolander代表作:StickyListHeaders,sprinkles,android-FlipView主页:http://emilsjolander.se/greenrobotGithub 地址:https://github.com/greenrobot代表作:greenDAO,EventBus主页:http://greenrobot.de/Jeff GilfeltGithub 地址:https://github.com/jgilfelt代表作:android-mapviewballoons,android-viewbadger,android-actionbarstylegenerator,android-sqlite-asset-helper主页:http://jeffgilfelt.comRomain GuyAndroid team 成员(2013.10 已离开 Android team,仍在 Google)Github 地址:https://github.com/romainguy代表作:ViewServer主页:http://www.curious-creature.org/category/android/個人攝影作品:http://www.flickr.com/photos/romainguysephiroth74就职于 Aviary.comGithub 地址:https://github.com/sephiroth74代表作:ImageViewZoom,HorizontalVariableListView,AndroidWheel,purePDF主页:http://www.sephiroth.it/Cyril MottierGoogle 开发者专家认证,发布一些 Android 技巧及文章Github 地址:https://github.com/cyrilmottier代表作:GreenDroid,Polaris主页:http://cyrilmottier.com/

二、组织

Square有态度有良心的企业,很多不错的分享Github 地址:https://github.com/square代表作:okhttp、fest-android,android-times-square、picasso、dagger、spoon 等等主页:http://square.github.io/Inmite s.r.o.Github 地址:https://github.com/inmite代表作:android-styled-dialogs,android-grid-wichterle,android-selector-chapek主页:http://www.inmite.eu/

三、博客

部分国外著名 Android 开发者信息

0 0
原创粉丝点击