android 常用 开源控件
2017-08-11 11:02
141 查看
Android中国开发精英
目前包括:
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、WevView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment上下左右拉动刷新,比下面johannilsson那个只支持ListView的强大的多。并且它实现的下拉刷新ListView在item不足一屏情况下也不会显示刷新提示,体验更好。
项目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各个页面
android-pulltorefresh-listview
下拉刷新ListView,这个被很多人使用的项目实际有不少bug,推荐使用上面的android-pulltorefresh
项目地址:https://github.com/johannilsson/android-pulltorefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refresh-listview-demo.apk?raw=true
android-Ultra-Pull-to-Refresh
下拉刷新,第一个项目已经停止维护了,并且使用起来相对复杂,定制性也差。这个是替代和改良方案。这个继承于ViewGroup可以包含任何View。功能甚至比SwipeRefreshLayout强大。使用起来非常简单。良好的设计,如果你想定制自己的UI样式,非常简单,就像给ListView加一个Header View那么简单。支持 API LEVEL >= 8
项目地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh
Demo地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/blob/master/ptr-demo/target/ultra-ptr-demo.apk?raw=true
效果图:
![](https://camo.githubusercontent.com/21d883e62e35cfee5c6966037372b807222eeca0/687474703a2f2f737261696e2d6769746875622e71696e6975646e2e636f6d2f756c7472612d7074722f636f6e7461696e732d616c6c2d6f662d76696577732e676966)
![](https://camo.githubusercontent.com/921261316db487c69d94db549fb2d17b92e2ecf2/687474703a2f2f737261696e2d6769746875622e71696e6975646e2e636f6d2f756c7472612d7074722f72656c656173652d746f2d726566726573682e676966)
![](https://camo.githubusercontent.com/88cdf877aa0a1fb19506ecf3404447eba59e68cc/687474703a2f2f737261696e2d6769746875622e71696e6975646e2e636f6d2f756c7472612d7074722f6175746f2d726566726573682e676966)
![](https://camo.githubusercontent.com/588a2ef2cdcfb6c71e88437df486226dd15605b3/687474703a2f2f737261696e2d6769746875622e71696e6975646e2e636f6d2f756c7472612d7074722f73746f72652d686f7573652d737472696e672d61727261792e676966)
DropDownListView
下拉刷新及滑动到底部加载更多ListView
项目地址:https://github.com/Trinea/AndroidCommon
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文档介绍:http://www.trinea.cn/android/dropdown-to-refresh-and-bottom-load-more-listview/
DragSortListView
拖动排序的ListView,同时支持ListView滑动item删除,各个Item高度不一、单选、复选、CursorAdapter做为适配器、拖动背景变化等
项目地址:https://github.com/bauerca/drag-sort-listview
Demo地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslv
APP示例:Wordpress Android
SwipeListView
支持定义ListView左右滑动事件,支持左右滑动位移,支持定义动画时间
项目地址:https://github.com/47deg/android-swipelistview
Demo地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview
APP示例:微信
Android-SwipeToDismiss
滑动Item消失ListView,支持3.0以下版本见:https://github.com/JakeWharton/SwipeToDismissNOA
项目地址:https://github.com/romannurik/Android-SwipeToDismiss
Demo地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_code
PinnedHeaderExpandableListView
首先它是一个ExpandableListView,但是它的头部可以固定,其次,在它的上面还有一个头部可以来回伸缩
项目地址:https://github.com/singwhatiwanna/PinnedHeaderExpandableListView
效果图:
![](https://camo.githubusercontent.com/fa7f516b0b6e2921007a17cbc359b3f661f32226/687474703a2f2f696d672e626c6f672e6373646e2e6e65742f32303134303531313135313534363834333f77617465726d61726b2f322f746578742f6148523063446f764c324a736232637559334e6b626935755a58517663326c755a33646f5958527064324675626d453d2f666f6e742f3561364c354c32542f666f6e7473697a652f3430302f66696c6c2f49304a42516b46434d413d3d2f646973736f6c76652f37302f677261766974792f536f75746845617374)
APP示例:百度手机卫士垃圾清理界面
StickyListHeaders
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView,支持快速滑动,支持Android2.3及以上
项目地址:https://github.com/emilsjolander/StickyListHeaders
效果图:
![](https://camo.githubusercontent.com/98735db4a6bb0a6a5e2f8d40a44577c1867cd2af/68747470733a2f2f7261772e6769746875622e636f6d2f656d696c736a6f6c616e6465722f537469636b794c697374486561646572732f6d61737465722f64656d6f2e676966)
APP示例:Android 4.0联系人
pinned-section-listview
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView
项目地址:https://github.com/beworker/pinned-section-listview
效果图:
PinnedHeaderListView
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView
项目地址:https://github.com/JimiSmith/PinnedHeaderListView
QuickReturn
ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现
项目地址:https://github.com/lawloretienne/QuickReturn
Demo地址:https://play.google.com/store/apps/details?id=com.etiennelawlor.quickreturn
QuickReturnHeader
ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现
项目地址:https://github.com/ManuelPeinado/QuickReturnHeader
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=true
APP示例:google plus
IndexableListView
ListView右侧会显示item首字母快捷索引,点击可快速滑动到某个item
项目地址:https://github.com/woozzu/IndexableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=true
APP示例:微信通讯录、小米联系人
CustomFastScrollView
ListView快速滑动,同时屏幕中间PopupWindows显示滑动到的item内容或首字母
项目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo
效果图:
![](https://camo.githubusercontent.com/f25663215b51817b26a8c1d6a3792363107d9436/68747470733a2f2f7261772e6769746875622e636f6d2f6e6f6c616e6c6177736f6e2f437573746f6d466173745363726f6c6c5669657744656d6f2f6d61737465722f6578616d706c652e706e67)
Android-ScrollBarPanel
ListView滑动时固定的Panel指示显示在scrollbar旁边
项目地址:https://github.com/rno/Android-ScrollBarPanel
效果图:
![](https://github.com/rno/Android-ScrollBarPanel/raw/master/demo_capture.png)
SlideExpandableListView
用户点击listView item滑出固定区域,其他item的区域收缩
项目地址:https://github.com/tjerkw/Android-SlideExpandableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true
JazzyListView
ListView及GridView item以特殊动画效果进入屏幕,效果包括grow、cards、curl、wave、flip、fly等等
项目地址:https://github.com/twotoasters/JazzyListView
Demo地址: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/ListViewAnimations
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimations
APP示例: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.0
DevsmartLib-Android
横向ListView
项目地址:https://github.com/dinocore1/DevsmartLib-Android
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true
TwoWayView
横向ListView的效果,继承自AdapterView
项目地址:https://github.com/lucasr/twoway-view
HorizontalVariableListView
支持Item宽度不一致的ListView
项目地址:https://github.com/sephiroth74/HorizontalVariableListView
LinearListView
用LinearLayout实现的ListView,可解决多个ListView并存等问题。目前自己也有需要,等亲自尝试过后会再具体介绍
项目地址:https://github.com/frankiesardo/LinearListView
MultiChoiceAdapter
支持多选的ListView Adapter
项目地址:https://github.com/ManuelPeinado/MultiChoiceAdapter
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo
EnhancedListView
支持横向滑动删除列表项以及撤销删除的ListView,该项目的前身是SwipeToDismissUndoList
项目地址:https://github.com/timroes/EnhancedListView
Demo地址:https://play.google.com/store/apps/details?id=de.timroes.android.listviewdemo&rdid=de.timroes.android.listviewdemo
ListBuddies
自动滚动的双列ListView ,两个ListView滚动速度不一致,有视差效果
项目地址:https://github.com/jpardogo/ListBuddies
Demo地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies
效果图:
![](https://camo.githubusercontent.com/263db3cffd142dbbacf06fb43aaa5997ff1c243e/68747470733a2f2f7261772e6769746875622e636f6d2f6a706172646f676f2f4c697374427564646965732f6d61737465722f6172742f73637265656e73686f745f6c697374627564646965735f322e706e67)
SwipeMenuListView
针对ListView item的侧滑菜单
项目地址:https://github.com/baoyongzhang/SwipeMenuListView
效果图:
![](https://raw.githubusercontent.com/baoyongzhang/SwipeMenuListView/master/demo.gif)
APP示例:手机QQV5.0
PagingListView
分页加载的ListView。当滑动到ListView底部最后一个元素时,显示一个进度行,然后加载下一页数据,并显示。
项目地址:https://github.com/nicolasjafelle/PagingListView
PullZoomView
支持下拉时HeaderView缩放的ListView、ScrollView
项目地址:https://github.com/Frank-Zhu/PullZoomView
效果图:
PullToZoomInListView
滑动ListView时使其HeaderView跟随滑动缩放
项目地址:https://github.com/matrixxun/PullToZoomInListView
效果图:
CalendarListview
实现每个月一行日历效果的ListView
项目地址:https://github.com/traex/CalendarListview
效果图:
![](https://github.com/traex/CalendarListview/raw/master/demo.gif)
sticky-headers-recyclerview
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ListView,采用support-v7中的RecyclerView实现
项目地址:https://github.com/timehop/sticky-headers-recyclerview
PullSeparateListView
到达顶部或底部继续拉动时,实现Item间的相互分离,两种模式:(1) 全部分离的模式,即屏幕内所有Item都会分离 (2)部分分离模式,以点击位置为分界点,部分item分离
项目地址:https://github.com/chiemy/PullSeparateListView
效果图:
![](https://github.com/chiemy/PullSeparateListView/raw/master/capture.gif)
ExpandableLayout
Header 和 Content Item 都可以展开的 ExpandableListview
项目地址:https://github.com/traex/ExpandableLayout
PagedHeadListView
支持paginated header以及material page indicator的ListView.
项目地址:https://github.com/JorgeCastilloPrz/PagedHeadListView
效果图:
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
CustomSwipeListView
支持左滑弹出自定义菜单,右滑删除且允许撤销,同时可以自定义滑动动画时间和滑动触发事件的时机等。
项目地址:https://github.com/xyczero/Android-CustomSwipeListView
效果图:
![](https://camo.githubusercontent.com/2b591ec8112f00704aced5c85eb50e1e2a84c9b3/687474703a2f2f3775326a73772e636f6d312e7a302e676c622e636c6f7564646e2e636f6d2f676974687562437573746f6d53776970654c697374766965775f5365742e504e47)
Demo地址:Download here
二、ActionBar
ActionBarSherlock
为Android所有版本提供统一的ActionBar,解决4.0以下ActionBar的适配问题
项目地址:https://github.com/JakeWharton/ActionBarSherlock
Demo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos
APP示例:太多了。。现在连google都在用
ActionBar-PullToRefresh
下拉刷新,ActionBar出现加载中提示
项目地址:https://github.com/chrisbanes/ActionBar-PullToRefresh
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.actionbarpulltorefresh.samples.stock
APP示例:Gmail,Google plus,知乎等
FadingActionBar
ListView向下滚动逐渐显现的ActionBar
项目地址:https://github.com/ManuelPeinado/FadingActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demo
APP示例:google music,知乎
NotBoringActionBar
google music下拉收缩的ActionBar
项目地址:https://github.com/flavienlaurent/NotBoringActionBar
Demo地址:http://flavienlaurent.com/blog/2013/11/20/making-your-action-bar-not-boring/
APP示例:Google音乐
RefreshActionItem
带进度显示和刷新按钮的ActionBar
项目地址:https://github.com/ManuelPeinado/RefreshActionItem
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.refreshactionitem.demo
APP示例:The New York Times,DevAppsDirect.
GlassActionBar
类似玻璃的有一定透明度的ActionBar
项目地址:https://github.com/ManuelPeinado/GlassActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.glassactionbardemo
APP示例:google music
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
三、Menu
MenuDrawer
滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕上下左右划出,支持当前View处于上下层,支持Windows边缘、ListView边缘、ViewPager变化划出菜单等。
项目地址:https://github.com/SimonVT/android-menudrawer
Demo地址:http://simonvt.github.io/android-menudrawer/
APP示例:Gmail、Google Music等大部分google app
SlidingMenu
滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕左右划出,支持菜单zoom、scale、slide up三种动画样式出现。与MenuDrawer相比而言,SlidingMenu支持菜单动画样式出现,MenuDrawer支持菜单view处于内容的上下层
项目地址:https://github.com/jfeinstein10/SlidingMenu
Demo地址:https://play.google.com/store/apps/details?id=com.slidingmenu.example
APP示例: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 Barracks
ArcMenu
支持类似Path的左下角动画旋转菜单及横向划出菜单、圆心弹出菜单
项目地址:https://github.com/daCapricorn/ArcMenu
效果图:
https://dl.dropboxusercontent.com/u/11369687/preview1.png
https://dl.dropboxusercontent.com/u/11369687/raymenu.png
APP示例:Path
android-satellite-menu
类似Path的左下角动画旋转菜单
项目地址:https://github.com/siyamed/android-satellite-menu
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/satellite-menu-demo.apk?raw=true
APP示例:Path
radial-menu-widget
圆形菜单,支持二级菜单
项目地址:https://code.google.com/p/radial-menu-widget/
效果图:http://farm8.staticflickr.com/7377/11621125154_d1773c2dcc_o.jpg
Android Wheel Menu
圆形旋转选取菜单
项目地址:https://github.com/anupcowkur/Android-Wheel-Menu
效果图:
![](https://camo.githubusercontent.com/d1881a5c22e294ccfb3c71fb7b52b54649455326/68747470733a2f2f7261772e6769746875622e636f6d2f616e7570636f776b75722f416e64726f69642d576865656c2d4d656e752f6d61737465722f67726170686963732f776865656c2e676966)
FoldingNavigationDrawer
滑动并以折叠方式打开菜单
项目地址:https://github.com/tibi1712/FoldingNavigationDrawer-Android
Demo地址:https://play.google.com/store/apps/details?id=com.ptr.folding.sample
效果图:
AndroidResideMenu
仿 Dribbble 的边栏菜单
项目地址:https://github.com/SpecialCyCi/AndroidResideMenu
效果图:
![](https://github.com/SpecialCyCi/AndroidResideMenu/raw/master/2.gif)
CircularFloatingActionMenu
一个可定制的圆形的浮动菜单控件,类似于Path的圆形菜单。这个控件的可定制性更强,可以很容易的定制菜单出现消失时的动画,起始角度和半径。
项目地址:https://github.com/oguzbilgener/CircularFloatingActionMenu
Demo地址:https://github.com/oguzbilgener/CircularFloatingActionMenu/tree/master/samples
效果图:
![](https://raw.githubusercontent.com/oguzbilgener/CircularFloatingActionMenu/master/assets/circularfab.gif)
NavigationDrawerSI
Navigation Drawer的一个简单实现,滑动并以折叠方式打开菜单
项目地址:https://github.com/mmBs/NavigationDrawerSI
Demo地址:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi
效果图:
![](https://raw.githubusercontent.com/mmBs/NavigationDrawerSI/master/images/screens.png)
APP示例:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi
DragLayout
使用support.v4包下的ViewDragHelper实现QQ5.0侧滑
项目地址:https://github.com/BlueMor/DragLayout
效果图:
![](https://github.com/BlueMor/DragLayout/raw/master/screenshots/123.gif)
LDrawer
Material Design 形式的展开折叠Icon
项目地址:https://github.com/ikimuhendis/LDrawer
效果图:
![](https://raw.githubusercontent.com/IkiMuhendis/LDrawer/master/images/animated.gif)
Floating Action Button
悬浮的圆形菜单栏,支持组建滚动时自动隐藏及其他设置
项目地址:https://github.com/shamanland/floating-action-button
效果图:
![](https://camo.githubusercontent.com/c679cb23cf62830b0d4037e17cf2d8d4090bc3c8/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f69643d3042776830534e4c506d6a5142526b466f5a4530345646393051324d)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
四、ViewPager 、Gallery
Android-ViewPagerIndicator
配合ViewPager使用的Indicator,支持各种位置和样式
项目地址:https://github.com/JakeWharton/Android-ViewPagerIndicator
Demo地址:https://play.google.com/store/apps/details?id=com.viewpagerindicator.sample
APP示例:太多了。。
JazzyViewPager
支持Fragment切换动画的ViewPager,动画包括转盘、淡入淡出、翻页、层叠、旋转、方块、翻转、放大缩小等,效果类似桌面左右切换的各种效果,不过桌面并非用ViewPager实现而已
项目地址:https://github.com/jfeinstein10/JazzyViewPager
Demo地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
JellyViewPager
特殊切换动画的ViewPager
项目地址:https://github.com/chiemy/JellyViewPager
效果图:
![](https://github.com/chiemy/JellyViewPager/raw/master/capture.gif)
Android-DirectionalViewPager
支持横向和纵向(垂直)的ViewPager
项目地址:https://github.com/JakeWharton/Android-DirectionalViewPager
Demo地址:https://market.android.com/details?id=com.directionalviewpager.sample
android-pulltorefresh
支持下拉刷新的ViewPager
项目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各个页面
FancyCoverFlow
支持Item切换动画效果的类似Gallery View
项目地址:https://github.com/davidschreiber/FancyCoverFlow
Demo地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fancycoverflow.samples
效果图:
AndroidTouchGallery
支持双击或双指缩放的Gallery(用ViewPager实现),相比下面的PhotoView,在被放大后依然能滑到下一个item,并且支持直接从url和文件中获取图片,
项目地址:https://github.com/Dreddik/AndroidTouchGallery
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=true
APP示例:类似微信中查看聊天记录图片时可双击放大,并且放大情况下能正常左右滑动到前后图片
Android Auto Scroll ViewPager
Android自动滚动 轮播循环的ViewPager
项目地址:https://github.com/Trinea/android-auto-scroll-view-pager
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文档介绍:http://www.trinea.cn/android/auto-scroll-view-pager/
Salvage view
带View缓存的Viewpager PagerAdapter,很方便使用
项目地址:https://github.com/JakeWharton/salvage
Android PagerSlidingTabStrip
配合ViewPager使用的Indicator,支持ViewPager Scroll时Indicator联动
项目地址:https://github.com/astuetz/PagerSlidingTabStrip
Demo地址:https://play.google.com/store/apps/details?id=com.astuetz.viewpager.extensions.sample
ViewPager3D
ViewPager3D效果
项目地址:https://github.com/inovex/ViewPager3D
AnimaTabsview
仿网易云音乐标签切换的动画,带透明小三角
项目地址:https://github.com/wuyexiong/transparent-over-animtabsview
在线演示:http://v.youku.com/v_show/id_XNzA4MjY5NjA0.html
LoopingViewPager
无限循环的ViewPager
项目地址:https://github.com/imbryk/LoopingViewPager
android_page_curl
翻书卷曲效果
项目地址:https://github.com/harism/android_page_curl
APP示例:iReader
在线演示:https://www.youtube.com/watch?v=iwu7P5PCpsw
ViewPagerIndicator
简化并实现android的TabHost效果,顶部滑动tab,引导页,支持自定义tab样式,自定义滑动块样式和位置,自定义切换tab的过渡动画,子界面的预加载和界面缓存,设置界面是否可滑动
项目地址:https://github.com/LuckyJayce/ViewPagerIndicator
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
五、GridView
StaggeredGridView
允许非对齐行的GridView,类似Pinterest的瀑布流,并且跟ListView一样自带View缓存,继承自ViewGroup
项目地址:https://github.com/maurycyw/StaggeredGridView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=true
APP示例:Pinterest等
AndroidStaggeredGrid
允许非对齐行的GridView,类似Pinterest的瀑布流,继承自AbsListView
项目地址:https://github.com/etsy/AndroidStaggeredGrid
APP示例:Pinterest等
PinterestLikeAdapterView
允许非对齐行的GridView,类似Pinterest的瀑布流,允许下拉刷新
项目地址:https://github.com/GDG-Korea/PinterestLikeAdapterView
APP示例:Pinterest等
DraggableGridView
Item可拖动交换位置的GridView,实际是自己继承ViewGroup实现,类似桌面的单屏效果,可屏幕自动上下滚动进行Item移动交换,多屏效果见下面PagedDragDropGrid
项目地址:https://github.com/thquinn/DraggableGridView
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
StickyGridHeaders
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的GridView
项目地址:https://github.com/TonicArtos/StickyGridHeaders
效果图:
PagedDragDropGrid
Item可拖动交换位置、拖动删除的自定义控件,实际是自己继承ViewGroup实现,类似桌面的多屏效果,可拖动到屏幕边缘,屏幕自动左右滚动进行Item移动交换,可拖动进行删除,单屏效果见上面DraggableGridView
项目地址:https://github.com/mrKlar/PagedDragDropGrid
在线演示:http://youtu.be/FYTSRfthSuQ
Android-DraggableGridViewPager
Item可拖动交换位置的GridView,实际是自己继承ViewGroup实现,类似桌面的多屏效果,可屏幕自动左右滚动进行Item移动交换,单屏效果见上面DraggableGridView
项目地址:https://github.com/zzhouj/Android-DraggableGridViewPager
Demo地址:https://github.com/Trinea/trinea-download/blob/master/draggable-grid-viewpager-demo.apk?raw=true
TwoWayGridView
可横向滚动的GridView
项目地址:https://github.com/jess-anders/two-way-gridview
PagingGridView
分页加载的GridView。当滑动到GridView底部最后一个行时,显示一个进度行,然后加载下一页数据,并显示。
项目地址:https://github.com/nicolasjafelle/PagingGridView
AsymmetricGridView
一个支持跨行和跨列可变Item大小的GridView
项目地址:https://github.com/felipecsl/AsymmetricGridView
Demo地址:https://play.google.com/store/apps/details?id=com.felipecsl.asymmetricgridview.app
效果图:
![](https://raw.githubusercontent.com/felipecsl/AsymmetricGridView/master/screenshots/ss_5_cols.png)
GridView with Header and Footer
和ListView一样带头部和底部的GridView,用法和ListView一样
项目地址:https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter
效果图:
![](https://raw.githubusercontent.com/liaohuqiu/android-GridViewWithHeaderAndFooter/master/screen-shot.png)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
六、ImageView
PhotoView
支持双击或双指缩放的ImageView,在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不仅支持ViewPager,同时支持单个ImageView
项目地址:https://github.com/chrisbanes/PhotoView
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sample
APP示例:photup
android-gif-drawable
支持gif显示的view,用jni实现的,编译生成so库后直接xml定义view即可,而且本身不依赖于其他开源项目所以相对下面的ImageViewEx简单的多
项目地址:https://github.com/koral--/android-gif-drawable
ImageViewEx
支持Gif显示的ImageView,依赖很多,编译过程很繁琐
项目地址:https://github.com/frapontillo/ImageViewEx
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true
RoundedImageView
带圆角的ImageView
项目地址:https://github.com/vinc3m1/RoundedImageView
效果图:
![](https://camo.githubusercontent.com/ed1e075be6ed97fa9091d3702e9b96d3e85b7a35/68747470733a2f2f7261772e6769746875622e636f6d2f6d616b6572616d656e2f526f756e646564496d616765566965772f6d61737465722f73637265656e73686f742e706e67)
SelectableRoundedImageView
ImageView允许四个角的每一个有不同的半径值。也允许椭圆形、圆形的形状或者边
项目地址:https://github.com/pungrue26/SelectableRoundedImageView
Demo地址:https://play.google.com/store/apps/details?id=com.joooonho
效果图:
![](https://camo.githubusercontent.com/25d2e5fb8783b5dd09c00b03091172a79c69350e/687474703a2f2f692e696d6775722e636f6d2f55355653376d322e706e673f31)
ColorArt
根据图片的均色设置背景色显示文字和图片,类似itune11中效果
项目地址:https://github.com/MichaelEvans/ColorArt
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/color-art-demo.apk?raw=true
CircleImageView
圆形的ImageView
项目地址:https://github.com/hdodenhof/CircleImageView
效果图:
![](https://camo.githubusercontent.com/e17a2a83e3e205a822d27172cb3736d4f441344d/68747470733a2f2f7261772e6769746875622e636f6d2f68646f64656e686f662f436972636c65496d616765566965772f6d61737465722f73637265656e73686f742e706e67)
ImageViewZoom
支持放大和平移的ImageView
项目地址:https://github.com/sephiroth74/ImageViewZoom
APP示例:https://play.google.com/store/apps/details?id=com.aviary.android.feather
KenBurnsView
实现Ken Burns effect效果,达到身临其境效果的ImageView
项目地址:https://github.com/flavioarfaria/KenBurnsView
CustomShapeImageView
各种形状的ImageView, 相比上面的圆形ImageView,多了更多形状
项目地址:https://github.com/MostafaGazar/CustomShapeImageView
效果图:
Shape Image View
可以自定义各种形状的ImageView, 并且支持边框
项目地址:https://github.com/siyamed/android-shape-imageview
效果图:
![](https://github.com/siyamed/android-shape-imageview/raw/master/images/shader-buble.png)
![](https://github.com/siyamed/android-shape-imageview/raw/master/images/all-samples.png)
TextDrawable
一个用于生成带有文本或者字母的图片的轻量级库。扩展自Drawable,因此可用于现有/自定义/网络等ImageView类,并且包含一个流接口用于创建drawables以及一个定制的ColorGenerator
项目地址:https://github.com/amulyakhare/TextDrawable
效果图:
![](https://raw.githubusercontent.com/amulyakhare/TextDrawable/master/screens/screen7.png)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
七、ProgressBar
SmoothProgressBar
水平进度条
项目地址:https://github.com/castorflex/SmoothProgressBar
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample
ProgressWheel
支持进度显示的圆形ProgressBar
项目地址:https://github.com/Todd-Davies/ProgressWheel
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=true
android-square-progressbar
在图片周围显示进度
项目地址:https://github.com/mrwonderman/android-square-progressbar
Demo地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example
效果图:
APP示例:square
HoloCircularProgressBar
Android4.1 时钟App样式
项目地址:https://github.com/passsy/android-HoloCircularProgressBar
效果图:
![](https://camo.githubusercontent.com/1df9a18184ed40918d7135d5db345fe1070137a7/68747470733a2f2f7261772e6769746875622e636f6d2f7061737373792f616e64726f69642d486f6c6f43697263756c617250726f67726573734261722f6d61737465722f7261772f73637265656e73686f74312e706e67)
APP示例:Android4.1时钟App
ProgressButton
通过图钉的不同状态显示进度
项目地址:https://github.com/f2prateek/progressbutton
效果图:
![](https://camo.githubusercontent.com/a5eb0cefeef3c5a9047feacd154f82549b6fadc4/687474703a2f2f66327072617465656b2e636f6d2f70726f6772657373627574746f6e2f7374617469632f7374617465732e706e67)
文档介绍:http://f2prateek.com/progressbutton/
GoogleProgressBar
类似google 多个圆形卡片翻转的progressBar
项目地址:https://github.com/jpardogo/GoogleProgressBar
效果图:
![](https://raw.githubusercontent.com/jpardogo/GoogleProgressBar/master/art/GoogleProgressBar.gif)
TH-ProgressButton
带圆形进度显示的按钮
项目地址;https://github.com/torryharris/TH-ProgressButton
效果图:
![](https://camo.githubusercontent.com/2bff83a17ac1f8cc8f8996ec138a3d65b5f19721/68747470733a2f2f7261772e6769746875622e636f6d2f56797368616b682d4b2f54482d50726f6772657373427574746f6e2f6d61737465722f73637265656e73686f74732f70726f677265737373686f74312e706e67)
![](https://camo.githubusercontent.com/1d05b0eead0103fe7843cbb7bacdff7445ef201b/68747470733a2f2f7261772e6769746875622e636f6d2f56797368616b682d4b2f54482d50726f6772657373427574746f6e2f6d61737465722f73637265656e73686f74732f70726f677265737373686f74322e706e67)
NumberProgressBar
带数字进度的进度条
项目地址:https://github.com/daimajia/NumberProgressBar
效果图:
![](https://camo.githubusercontent.com/0c92568af7ec4e04e2e1503acdd2ca99854ab0b5/687474703a2f2f7777332e73696e61696d672e636e2f6d773639302f36313064633033346a77316566797264386e376937673230637a30326d7135662e676966)
CircularProgressDrawable
带圆形进度显示的进度条
项目地址:https://github.com/Sefford/CircularProgressDrawable
效果图:
![](https://raw.githubusercontent.com/Sefford/CircularProgressDrawable/master/overshoot.gif)
circular-progress-button
带进度显示的Button
项目地址:https://github.com/dmytrodanylyk/circular-progress-button
效果图:
![](https://raw.githubusercontent.com/dmytrodanylyk/circular-progress-button/master/screenshots/intro.gif)
WaveView
一个波纹效果的 View,可用来坐 ProgressBar
项目地址:https://github.com/john990/WaveView
Demo地址:https://raw.github.com/john990/WaveView/master/screenshot%26apk/demo.unaligned.apk
效果图:
![](https://camo.githubusercontent.com/60722e9d4f2d2daa78a8650cb27a32adea82bdd4/68747470733a2f2f7261772e6769746875622e636f6d2f6a6f686e3939302f57617665566965772f6d61737465722f73637265656e73686f7425323661706b2f73637265656e73686f742e676966)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
八、TextView包括TextView及所有继承自TextView控件,如EditText、Button、RadioButton
1. android-flowtextview
文字自动环绕其他View的Layout
项目地址:https://code.google.com/p/android-flowtextview/
效果图:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png
Android Form EditText
验证输入合法性的编辑框,支持输入、英文、ip、url等多种正则验证
项目地址:https://github.com/vekexasia/android-edittext-validator
Demo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample
Emojicon
支持emojis的TextView和EditText
项目地址:https://github.com/rockerhieu/emojicon
文档介绍:http://rockerhieu.com/emojicon/
android-circlebutton
Android圆形按钮,实际实现是继承自ImageView
项目地址:https://github.com/markushi/android-circlebutton
Demo地址:https://github.com/markushi/android-circlebutton/blob/master/example/example.apk
Segmented Radio Buttons for Android
iOS’s segmented controls的实现
项目地址:https://github.com/vinc3m1/android-segmentedradiobutton
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
效果图:
![](https://camo.githubusercontent.com/e0fc8a3b305192d4203ed89873adb5f89c9d636d/68747470733a2f2f7261772e6769746875622e636f6d2f76696e63336d312f616e64726f69642d7365676d656e746564726164696f627574746f6e2f6d61737465722f73637265656e732f7365676d656e746564726164696f2e706e67)
Chips EditText Library
支持国家名字联想从而选择显示该国国旗的EditText,实际就是通过SpannableStringBuilder实现
项目地址:https://github.com/kpbird/chips-edittext-library
Demo地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/bin
AutoFitTextView
可固定边界内容字体大小自适应的TextView
项目地址:https://github.com/grantland/android-autofittextview
Shimmer for Android
文字发淡光的TextView
项目地址:https://github.com/RomainPiel/Shimmer-android
Titanic
可以显示水位上升下降(不知道该怎么描述 囧)的TextView
项目地址:https://github.com/RomainPiel/Titanic
效果图:
![](https://github.com/RomainPiel/Titanic/raw/master/titanic.gif)
android-iconify
提供带Icon的TextView,Menu,Button等
项目地址:https://github.com/JoanZapata/android-iconify
Calligraphy
让我们在android开发中使用自定义字体变得更加简单
项目地址 :https://github.com/chrisjenx/Calligraphy
效果图:
![](https://github.com/chrisjenx/Calligraphy/raw/master/screenshot.png)
CreditsRoll
类似星球大战字幕效果的TextView
项目地址:https://github.com/frakbot/CreditsRoll
android-process-buton
带加载或提交进度的Button
项目地址:https://github.com/dmytrodanylyk/android-process-buton
FButton
扁平化的Button
项目地址:https://github.com/hoang8f/android-flat-button
Demo地址:https://play.google.com/store/apps/details?id=info.hoang8f.fbutton.demo
FloatingActionButton
一个类似Android版Google+浮动功能按钮的控件,可以响应ListView的滚动事件。当列表向上滚动的时候会自动显示,向下滚动的时候自动隐藏。
项目地址:https://github.com/makovkastar/FloatingActionButton
Demo地址:https://github.com/makovkastar/FloatingActionButton/tree/master/
效果图:
![](https://raw.githubusercontent.com/makovkastar/FloatingActionButton/master/art/demo.gif)
Android Saripaar
Android表单验证
项目地址:https://github.com/ragunathjawahar/android-saripaar/
JumpingBeans
文字像 Mexican beans 一样跳动
项目地址:https://github.com/frakbot/JumpingBeans
Demo地址:http://play.google.com/store/apps/details?id=net.frakbot.jumpingbeans.demo
效果图:
![](https://github.com/frakbot/JumpingBeans/raw/master/art/jumpingdots.gif)
FancyButtons
一个不用图片就可以帮助我们创建出漂亮按钮的库。
项目地址:https://github.com/medyo/fancybuttons
Demo地址:https://github.com/medyo/fancybuttons/tree/master/samples
效果图:
Android-RobotoTextView
一个实现了所有Roboto字体的TextView,包括新出的Roboto Slab字体。
项目地址:https://github.com/johnkil/Android-RobotoTextView
Demo地址:http://play.google.com/store/apps/details?id=com.devspark.robototextview
Demo项目:https://github.com/johnkil/Android-RobotoTextView/tree/master/robototextview-sample
效果图:
![](https://camo.githubusercontent.com/f058c810055e1ff12fa995346059ad399d9c0f95/687474703a2f2f6934362e74696e797069632e636f6d2f6239646736392e706e67)
>
Android-WizardPager
一个表单向导库
项目地址:https://github.com/romannurik/android-wizardpager
Demo项目:https://github.com/str4d/android-wizardpager/tree/textfield
效果图:
![](https://camo.githubusercontent.com/685a1eee3b9b7eb6a0409061031654ea7d6b0b17/68747470733a2f2f6c68352e676f6f676c6575736572636f6e74656e742e636f6d2f2d664944555a3074514373632f554a4e4c6a6e504c5447492f41414141414141416f4f382f784b63654f61746c6a50302f773431332d683638392d6e6f2f322e706e67)
RippleView
一个实现了 Android L 上才引入的点击按钮后出现水波纹效果的按钮
项目地址:https://github.com/siriscac/RippleView
Demo项目:https://github.com/siriscac/RippleView/tree/master/RippleViewExample
效果图:
![](https://camo.githubusercontent.com/eec41193900aad4803dcf18bc9915fafa3f7d1cf/68747470733a2f2f7261772e6769746875622e636f6d2f73697269736361632f526970706c65566965772f6d61737465722f53637265656e732f53637265656e2e676966)
RippleEffect
一个实现Material Design Ripple效果的库,支持Android API 9+以上版本。
项目地址:https://github.com/traex/RippleEffect
Demo项目:https://github.com/traex/RippleEffect/tree/master/sample
效果图:
![](https://raw.githubusercontent.com/traex/RippleEffect/master/header.png)
Android Floating Label Widgets
包含一系列控件,这些控件特点是:有默认值,当值不为空时默认值浮动到上面变为提示
项目地址:https://github.com/marvinlabs/android-floatinglabel-widgets
Demo地址:https://play.google.com/store/apps/details?id=com.marvinlabs.widget.floatinglabel.demo
在线演示:http://www.youtube.com/watch?v=hpZD9gJcRg0&feature=youtu.be
MaterialEditText
EditText 的 Material Design 实现。包含 Google Material Design Spec中的UI效果和一些新增特性。
项目地址:https://github.com/rengwuxian/MaterialEditText
MultiActionTextView
可以分别给TextView中的某几个字设置点击事件的TextView
项目地址:https://github.com/ajaysahani/MultiActionTextView
效果图:
![](https://camo.githubusercontent.com/1223e37d084e84ec0e22a1b27e7513661d0e1b39/687474703a2f2f692e696d6775722e636f6d2f773934576f53582e706e67)
ToggleButton
状态切换的 Button,类似 iOS,用 View 实现
项目地址:https://github.com/zcweng/ToggleButton
效果图:
![](https://github.com/zcweng/ToggleButton/raw/master/ToggleButtonSample/21879.gif)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
ExpandableTextView
可展开和收缩内容的TextView。
项目地址:https://github.com/Manabu-GT/ExpandableTextView
效果图:
![](https://camo.githubusercontent.com/8bf46083b3bd152c2051ae4c234649dbbb975376/68747470733a2f2f7261772e6769746875622e636f6d2f4d616e6162752d47542f457870616e6461626c6554657874566965772f6d61737465722f6172742f726561646d655f64656d6f2e676966)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
九、ScrollView
Discrollview
支持滚动时Item淡入淡出,平移,缩放效果的ScrollView
项目地址:https://github.com/flavienlaurent/discrollview
Demo地址:https://github.com/flavienlaurent/discrollview/raw/master/sample.apk
PullScrollView
仿照新浪微博Android客户端个人中心的ScrollView,下拉背景伸缩回弹效果。
项目地址:https://github.com/MarkMjw/PullScrollView
效果图:
![](https://camo.githubusercontent.com/b8d70527473ed429fe0e859687cd6fbbf6afad40/68747470733a2f2f7261772e6769746875622e636f6d2f4d61726b4d6a772f50756c6c5363726f6c6c566965772f6d61737465722f53637265656e73686f74732f312e706e67)
ParallaxScrollView
支持视差滚动的ScrollView ,背景图片的滚动速度小于ScrollView中子控件的滚动速度
项目地址:https://github.com/chrisjenx/ParallaxScrollView
Demo地址:http://cloud.github.com/downloads/chrisjenx/ParallaxScrollView/ParallaxScrollViewDemo-v1.0.5.apk
AKParallax-Android
支持视差滚动的ScrollView
项目地址:https://github.com/ideaismobile/AKParallax-Android
Demo地址:https://play.google.com/store/apps/details?id=com.appkraft.parallax_sample
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
Android-ObservableScrollView
监听滚动视图滚动事件的库,帮助与Toolbar的交互动效处理与Material Design的实现
项目地址:https://github.com/ksoichiro/Android-ObservableScrollView
Demo地址:https://play.google.com/store/apps/details?id=com.github.ksoichiro.android.observablescrollview.samples2
十、TimeView包括TimePicker、DatePicker、CalendarView、Clock等时间相关控件
android-times-square
Android日历时间部件,支持选取单个日期,多个日期,及日期区间段和对话框形式显示
项目地址:https://github.com/square/android-times-square
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/times-square-demo.apk?raw=true
android-calendar-card
日历
项目地址:https://github.com/kenumir/android-calendar-card
Demo地址:https://play.google.com/store/apps/details?id=com.wt.calendarcardsample
效果图:
![](https://camo.githubusercontent.com/728274270522e2326d22ceb0bce4700fdd4e289f/68747470733a2f2f7261772e6769746875622e636f6d2f6b656e756d69722f616e64726f69642d63616c656e6461722d636172642f6d61737465722f63616c656e6461722d636172642d73616d706c652f5f776f726b2f6465766963652d323031332d31302d31322d3135313830312e706e67)
AndroidWheel
Android Wheel支持城市、多种日期时间、密码、图片
项目地址:https://code.google.com/p/android-wheel/
效果图:
![](https://camo.githubusercontent.com/e9a9430ac807dcfcde5ebc407684a8b7459bb9bd/687474703a2f2f6661726d362e737461746963666c69636b722e636f6d2f353533322f31313632313532383738365f323230633034306261355f6f2e6a7067)
GoogleDateTimePickers
时间选择部件
项目地址:https://github.com/Mirkoddd/GoogleDateTimePickers
文档介绍:https://play.google.com/store/apps/details?id=com.mirko.sample&hl=it
DateTimePicker
日期选择部件(Google Agenda的样式风格)
项目地址:https://github.com/flavienlaurent/datetimepicker
Demo地址:https://raw.github.com/biboune/datetimepicker/master/datetimepicker-sample.apk
效果图:
![](https://camo.githubusercontent.com/493edeea3eb553ad0d0b121dbead0d7ec6a858f2/68747470733a2f2f7261772e6769746875622e636f6d2f6269626f756e652f6461746574696d657069636b65722f6d61737465722f67726170686963732f696d67312e706e67)
android-betterpickers
提供日期、数字、时间(数字方式和钟表方式)、重复周期(闹钟的周期重复)、HMS(时、分、秒)的选择,支持以DialogFragment的弹窗选择
项目地址:https://github.com/derekbrameyer/android-betterpickers
Demo地址:https://play.google.com/store/apps/details?id=com.doomonafireball.betterpickers.sample效果图:
![](https://camo.githubusercontent.com/897ae3c71b49c4366565f3480719647687b1804a/68747470733a2f2f7261772e6769746875622e636f6d2f646572656b6272616d657965722f616e64726f69642d6265747465727069636b6572732f6d61737465722f73616d706c652f696d61676572792f7765625f666561747572655f677261706869632e706e67)
Android Week View
日期控件,支持周,天视图,支持自定义样式
项目地址:https://github.com/alamkanak/Android-Week-View
效果图:
![](https://github.com/alamkanak/Android-Week-View/raw/master/images/screen-shot.png)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
十一、TipView包括Toast、角标、UndoBar等提示性控件
Crouton
丰富样式的Toast,允许alert、comfirm、info样式及点击消失样式,允许设置Toast显示时间,允许自定义View。 本文32. SuperToasts为其扩展版
项目地址:https://github.com/keyboardsurfer/Crouton
Demo地址:http://play.google.com/store/apps/details?id=de.keyboardsurfer.app.demo.crouton
supertooltips
带动画效果的Tips显示
项目地址:https://github.com/nhaarman/supertooltips
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.supertooltips
Android ViewBadger
为其他View添加角标等
项目地址:https://github.com/jgilfelt/android-viewbadger
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/android-viewbadger.apk?raw=true
效果图:
SuperToasts
更丰富样式的toast,支持Button、Progress、Horizontal Progress样式、支持进入动画、支持撤销及其动画设置
项目地址:https://github.com/JohnPersano/SuperToasts
Demo地址:https://play.google.com/store/apps/details?id=com.supertoastsdemo
效果图:
UndoBar
屏幕底部显示取消或是确认的PopupWindows
项目地址:https://github.com/soarcn/UndoBar
效果图:
![](https://github.com/soarcn/UndoBar/raw/master/art/redo.png?raw=true)
UndoBar
屏幕底部显示取消或是确认某操作
项目地址:https://github.com/jenzz/Android-UndoBar
效果图:
![](https://camo.githubusercontent.com/22ac172d0a9e1273b87d9164a99c6a0933996164/68747470733a2f2f7261772e6769746875622e636f6d2f6a656e7a7a2f416e64726f69642d556e646f4261722f6d61737465722f6173736574732f53637265656e73686f74322e706e67)
Android-ActionItemBadge
可以在ActionBar的MenuItem上显示一个小角标
项目地址:https://github.com/mikepenz/Android-ActionItemBadge
效果图:
![](https://raw.githubusercontent.com/mikepenz/Android-ActionItemBadge/master/DEV/screenshot/screenshot1_small.png)
SnackBar
Material Design 风格的 Toast,类似 Google inbox 中的提示
项目地址:https://github.com/MrEngineer13/SnackBar
Demo地址:https://play.google.com/store/apps/details?id=com.mrengineer13.snackbar.sample
效果图:
![](https://camo.githubusercontent.com/67a39af16f3d46631567c1f7bd7dcddeb3c4c9e9/687474703a2f2f6d6174657269616c2d64657369676e2e73746f726167652e676f6f676c65617069732e636f6d2f696d616765732f636f6d706f6e656e74732d746f617374732d73706563732d737065635f746f6173745f30335f315f6c617267655f6d6470692e706e67)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
十二、FlipView
android-flip
类似Flipboard翻转动画的实现
项目地址:https://github.com/openaphid/android-flip
Demo地址:https://github.com/openaphid/android-flip/blob/master/FlipView/Demo/APK/Aphid-FlipView-Demo.apk?raw=true
APP示例:flipboard
FlipImageView
支持x、y、z及动画选择的翻转动画的实现
项目地址:https://github.com/castorflex/FlipImageView
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.flipimageview
FoldableLayout
Flip翻转效果的ListView,目前还不支持ListView缓存
项目地址:https://github.com/alexvasilkov/FoldableLayout
Demo地址:http://play.google.com/store/apps/details?id=com.alexvasilkov.foldablelayout.sample
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
十三、ColorPickView
ColorPickerView
颜色选择器,支持PopupWindows或新的Activity中打开
项目地址:https://code.google.com/p/color-picker-view/
效果图:
![](https://camo.githubusercontent.com/c1b120db21965381e28349dcb019a8ec5525c326/687474703a2f2f6f6934312e74696e797069632e636f6d2f333363366d6d382e6a7067)
HoloColorPicker
颜色选择器
项目地址:https://github.com/LarsWerkman/HoloColorPicker
Demo地址:https://docs.google.com/file/d/0BwclyDTlLrdXRzVnTGJvTlRfU2s/edit
ColorPickerPreference
颜色选择器
项目地址:https://github.com/attenzione/android-ColorPickerPreference
效果图:
![](https://github.com/attenzione/android-ColorPickerPreference/raw/master/screen_2.png)
ColorPicker
颜色选择器(Google Agenda中的样式风格)
项目地址:https://github.com/flavienlaurent/colorpicker
Demo地址:https://raw.github.com/biboune/colorpicker/master/colorpicker-sample.apk
效果图:
![](https://camo.githubusercontent.com/a42581e637ca379004855d69e262d85ea966fa35/68747470733a2f2f7261772e6769746875622e636f6d2f6269626f756e652f636f6c6f727069636b65722f6d61737465722f67726170686963732f696d67312e706e67)
![](https://camo.githubusercontent.com/01a7b0f6a5751ece650a2658c342f5b4bd84db1e/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733372f31323136373431333133345f656463666636386532325f6f2e706e67)
十四、GraphView
MPAndroidChart
强大的图表绘制工具,支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、网状图及各种图的结合;支持图的拖拽缩放;支持 Android 2.2 以上,支持横纵轴缩放,多指缩放,展现动画、高亮、保存到 sdcard、从文件读取图表
项目地址:https://github.com/PhilJay/MPAndroidChart
Demo地址:https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample
Demo项目:https://github.com/PhilJay/MPAndroidChart/tree/master/MPChartExample
效果图:
![](https://camo.githubusercontent.com/a9eaa5fc7fb6c1e70b22acd09385055e0f5c4fe7/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f73696d706c6564657369676e5f6c696e656368617274342e706e67)
![](https://camo.githubusercontent.com/78b4bc4e50e151970961daf56e81c4c0db72d27c/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f73696d706c6564657369676e5f6261726368617274332e706e67)
![](https://camo.githubusercontent.com/65f51783ec05038730b481ed614b57a94e867d86/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f626172636861727432642e706e67)
![](https://camo.githubusercontent.com/f66a35bf430b12480d3e2ed8e3bc8d7a17db950f/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d5043686172742f6d61737465722f73637265656e73686f74732f626172636861727433642e706e67)
![](https://camo.githubusercontent.com/60bd0d71462ad577df775b956944b191e939728a/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d50416e64726f696443686172742f6d61737465722f73637265656e73686f74732f70696563686172745f686f6c657261646975735f73706163652e706e67)
![](https://camo.githubusercontent.com/6b254aa699df7f9464967009129c3017de721b77/68747470733a2f2f7261772e6769746875622e636f6d2f5068696c4a61792f4d50416e64726f696443686172742f6d61737465722f73637265656e73686f74732f7363617474657263686172742e706e67)
在线演示:https://www.youtube.com/watch?v=ufaK_Hd6BpI
achartengine
强大的图表绘制工具,支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、拨号图/表、立方线图及各种图的结合
项目地址:https://code.google.com/p/achartengine/
效果图:
![](https://camo.githubusercontent.com/d3a4fa07ace8e6aca2f1e4c5131009de2e897a3e/687474703a2f2f7777772e616368617274656e67696e652e6f72672f64696d616765732f617665726167655f74656d70657261747572652e706e67)
http://www.achartengine.org/dimages/sales_line_and_area_chart.png
http://www.achartengine.org/dimages/temperature_range_chart.png
http://www.achartengine.org/dimages/combined_chart.png
http://www.achartengine.org/dimages/budget_chart.png
官网网址:http://www.achartengine.org/
APP示例:Wordpress Android,Google Analytics
GraphView
绘制图表和曲线图的View,可用于Android上的曲形图、柱状图、波浪图展示
项目地址:https://github.com/jjoe64/GraphView
Demo项目:https://github.com/jjoe64/GraphView-Demos
APP示例:Wordpress Android,Google Analytics
HoloGraphLibrary
绘制现状图、柱状图、饼状图
项目地址:https://bitbucket.org/danielnadeau/holographlibrary/src
文档介绍:https://bitbucket.org/danielnadeau/holographlibrary/wiki/Home
XCL-Charts
XCL-Charts基于原生的Canvas来绘制各种图表,在设计时,尽量在保证开发效率的同时,给使用者提供足够多的定制化能力。因此使用简便,同时具有相当灵活的定制能力。
Android中国开发精英
目前包括:
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、WevView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment上下左右拉动刷新,比下面johannilsson那个只支持ListView的强大的多。并且它实现的下拉刷新ListView在item不足一屏情况下也不会显示刷新提示,体验更好。
项目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各个页面
android-pulltorefresh-listview
下拉刷新ListView,这个被很多人使用的项目实际有不少bug,推荐使用上面的android-pulltorefresh
项目地址:https://github.com/johannilsson/android-pulltorefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refresh-listview-demo.apk?raw=true
android-Ultra-Pull-to-Refresh
下拉刷新,第一个项目已经停止维护了,并且使用起来相对复杂,定制性也差。这个是替代和改良方案。这个继承于ViewGroup可以包含任何View。功能甚至比SwipeRefreshLayout强大。使用起来非常简单。良好的设计,如果你想定制自己的UI样式,非常简单,就像给ListView加一个Header View那么简单。支持 API LEVEL >= 8
项目地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh
Demo地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/blob/master/ptr-demo/target/ultra-ptr-demo.apk?raw=true
效果图:
DropDownListView
下拉刷新及滑动到底部加载更多ListView
项目地址:https://github.com/Trinea/AndroidCommon
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文档介绍:http://www.trinea.cn/android/dropdown-to-refresh-and-bottom-load-more-listview/
DragSortListView
拖动排序的ListView,同时支持ListView滑动item删除,各个Item高度不一、单选、复选、CursorAdapter做为适配器、拖动背景变化等
项目地址:https://github.com/bauerca/drag-sort-listview
Demo地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslv
APP示例:Wordpress Android
SwipeListView
支持定义ListView左右滑动事件,支持左右滑动位移,支持定义动画时间
项目地址:https://github.com/47deg/android-swipelistview
Demo地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview
APP示例:微信
Android-SwipeToDismiss
滑动Item消失ListView,支持3.0以下版本见:https://github.com/JakeWharton/SwipeToDismissNOA
项目地址:https://github.com/romannurik/Android-SwipeToDismiss
Demo地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_code
PinnedHeaderExpandableListView
首先它是一个ExpandableListView,但是它的头部可以固定,其次,在它的上面还有一个头部可以来回伸缩
项目地址:https://github.com/singwhatiwanna/PinnedHeaderExpandableListView
效果图:
APP示例:百度手机卫士垃圾清理界面
StickyListHeaders
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView,支持快速滑动,支持Android2.3及以上
项目地址:https://github.com/emilsjolander/StickyListHeaders
效果图:
APP示例:Android 4.0联系人
pinned-section-listview
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView
项目地址:https://github.com/beworker/pinned-section-listview
效果图:
PinnedHeaderListView
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView
项目地址:https://github.com/JimiSmith/PinnedHeaderListView
QuickReturn
ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现
项目地址:https://github.com/lawloretienne/QuickReturn
Demo地址:https://play.google.com/store/apps/details?id=com.etiennelawlor.quickreturn
QuickReturnHeader
ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现
项目地址:https://github.com/ManuelPeinado/QuickReturnHeader
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=true
APP示例:google plus
IndexableListView
ListView右侧会显示item首字母快捷索引,点击可快速滑动到某个item
项目地址:https://github.com/woozzu/IndexableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=true
APP示例:微信通讯录、小米联系人
CustomFastScrollView
ListView快速滑动,同时屏幕中间PopupWindows显示滑动到的item内容或首字母
项目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo
效果图:
Android-ScrollBarPanel
ListView滑动时固定的Panel指示显示在scrollbar旁边
项目地址:https://github.com/rno/Android-ScrollBarPanel
效果图:
![](https://github.com/rno/Android-ScrollBarPanel/raw/master/demo_capture.png)
SlideExpandableListView
用户点击listView item滑出固定区域,其他item的区域收缩
项目地址:https://github.com/tjerkw/Android-SlideExpandableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true
JazzyListView
ListView及GridView item以特殊动画效果进入屏幕,效果包括grow、cards、curl、wave、flip、fly等等
项目地址:https://github.com/twotoasters/JazzyListView
Demo地址: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/ListViewAnimations
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimations
APP示例: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.0
DevsmartLib-Android
横向ListView
项目地址:https://github.com/dinocore1/DevsmartLib-Android
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true
TwoWayView
横向ListView的效果,继承自AdapterView
项目地址:https://github.com/lucasr/twoway-view
HorizontalVariableListView
支持Item宽度不一致的ListView
项目地址:https://github.com/sephiroth74/HorizontalVariableListView
LinearListView
用LinearLayout实现的ListView,可解决多个ListView并存等问题。目前自己也有需要,等亲自尝试过后会再具体介绍
项目地址:https://github.com/frankiesardo/LinearListView
MultiChoiceAdapter
支持多选的ListView Adapter
项目地址:https://github.com/ManuelPeinado/MultiChoiceAdapter
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo
EnhancedListView
支持横向滑动删除列表项以及撤销删除的ListView,该项目的前身是SwipeToDismissUndoList
项目地址:https://github.com/timroes/EnhancedListView
Demo地址:https://play.google.com/store/apps/details?id=de.timroes.android.listviewdemo&rdid=de.timroes.android.listviewdemo
ListBuddies
自动滚动的双列ListView ,两个ListView滚动速度不一致,有视差效果
项目地址:https://github.com/jpardogo/ListBuddies
Demo地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies
效果图:
SwipeMenuListView
针对ListView item的侧滑菜单
项目地址:https://github.com/baoyongzhang/SwipeMenuListView
效果图:
![](https://raw.githubusercontent.com/baoyongzhang/SwipeMenuListView/master/demo.gif)
APP示例:手机QQV5.0
PagingListView
分页加载的ListView。当滑动到ListView底部最后一个元素时,显示一个进度行,然后加载下一页数据,并显示。
项目地址:https://github.com/nicolasjafelle/PagingListView
PullZoomView
支持下拉时HeaderView缩放的ListView、ScrollView
项目地址:https://github.com/Frank-Zhu/PullZoomView
效果图:
PullToZoomInListView
滑动ListView时使其HeaderView跟随滑动缩放
项目地址:https://github.com/matrixxun/PullToZoomInListView
效果图:
CalendarListview
实现每个月一行日历效果的ListView
项目地址:https://github.com/traex/CalendarListview
效果图:
![](https://github.com/traex/CalendarListview/raw/master/demo.gif)
sticky-headers-recyclerview
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ListView,采用support-v7中的RecyclerView实现
项目地址:https://github.com/timehop/sticky-headers-recyclerview
PullSeparateListView
到达顶部或底部继续拉动时,实现Item间的相互分离,两种模式:(1) 全部分离的模式,即屏幕内所有Item都会分离 (2)部分分离模式,以点击位置为分界点,部分item分离
项目地址:https://github.com/chiemy/PullSeparateListView
效果图:
![](https://github.com/chiemy/PullSeparateListView/raw/master/capture.gif)
ExpandableLayout
Header 和 Content Item 都可以展开的 ExpandableListview
项目地址:https://github.com/traex/ExpandableLayout
PagedHeadListView
支持paginated header以及material page indicator的ListView.
项目地址:https://github.com/JorgeCastilloPrz/PagedHeadListView
效果图:
CustomSwipeListView
支持左滑弹出自定义菜单,右滑删除且允许撤销,同时可以自定义滑动动画时间和滑动触发事件的时机等。
项目地址:https://github.com/xyczero/Android-CustomSwipeListView
效果图:
Demo地址:Download here
二、ActionBar
ActionBarSherlock
为Android所有版本提供统一的ActionBar,解决4.0以下ActionBar的适配问题
项目地址:https://github.com/JakeWharton/ActionBarSherlock
Demo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos
APP示例:太多了。。现在连google都在用
ActionBar-PullToRefresh
下拉刷新,ActionBar出现加载中提示
项目地址:https://github.com/chrisbanes/ActionBar-PullToRefresh
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.actionbarpulltorefresh.samples.stock
APP示例:Gmail,Google plus,知乎等
FadingActionBar
ListView向下滚动逐渐显现的ActionBar
项目地址:https://github.com/ManuelPeinado/FadingActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demo
APP示例:google music,知乎
NotBoringActionBar
google music下拉收缩的ActionBar
项目地址:https://github.com/flavienlaurent/NotBoringActionBar
Demo地址:http://flavienlaurent.com/blog/2013/11/20/making-your-action-bar-not-boring/
APP示例:Google音乐
RefreshActionItem
带进度显示和刷新按钮的ActionBar
项目地址:https://github.com/ManuelPeinado/RefreshActionItem
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.refreshactionitem.demo
APP示例:The New York Times,DevAppsDirect.
GlassActionBar
类似玻璃的有一定透明度的ActionBar
项目地址:https://github.com/ManuelPeinado/GlassActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.glassactionbardemo
APP示例:google music
三、Menu
MenuDrawer
滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕上下左右划出,支持当前View处于上下层,支持Windows边缘、ListView边缘、ViewPager变化划出菜单等。
项目地址:https://github.com/SimonVT/android-menudrawer
Demo地址:http://simonvt.github.io/android-menudrawer/
APP示例:Gmail、Google Music等大部分google app
SlidingMenu
滑出式菜单,通过拖动屏幕边缘滑出菜单,支持屏幕左右划出,支持菜单zoom、scale、slide up三种动画样式出现。与MenuDrawer相比而言,SlidingMenu支持菜单动画样式出现,MenuDrawer支持菜单view处于内容的上下层
项目地址:https://github.com/jfeinstein10/SlidingMenu
Demo地址:https://play.google.com/store/apps/details?id=com.slidingmenu.example
APP示例: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 Barracks
ArcMenu
支持类似Path的左下角动画旋转菜单及横向划出菜单、圆心弹出菜单
项目地址:https://github.com/daCapricorn/ArcMenu
效果图:
https://dl.dropboxusercontent.com/u/11369687/preview1.png
https://dl.dropboxusercontent.com/u/11369687/raymenu.png
APP示例:Path
android-satellite-menu
类似Path的左下角动画旋转菜单
项目地址:https://github.com/siyamed/android-satellite-menu
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/satellite-menu-demo.apk?raw=true
APP示例:Path
radial-menu-widget
圆形菜单,支持二级菜单
项目地址:https://code.google.com/p/radial-menu-widget/
效果图:http://farm8.staticflickr.com/7377/11621125154_d1773c2dcc_o.jpg
Android Wheel Menu
圆形旋转选取菜单
项目地址:https://github.com/anupcowkur/Android-Wheel-Menu
效果图:
FoldingNavigationDrawer
滑动并以折叠方式打开菜单
项目地址:https://github.com/tibi1712/FoldingNavigationDrawer-Android
Demo地址:https://play.google.com/store/apps/details?id=com.ptr.folding.sample
效果图:
AndroidResideMenu
仿 Dribbble 的边栏菜单
项目地址:https://github.com/SpecialCyCi/AndroidResideMenu
效果图:
![](https://github.com/SpecialCyCi/AndroidResideMenu/raw/master/2.gif)
CircularFloatingActionMenu
一个可定制的圆形的浮动菜单控件,类似于Path的圆形菜单。这个控件的可定制性更强,可以很容易的定制菜单出现消失时的动画,起始角度和半径。
项目地址:https://github.com/oguzbilgener/CircularFloatingActionMenu
Demo地址:https://github.com/oguzbilgener/CircularFloatingActionMenu/tree/master/samples
效果图:
![](https://raw.githubusercontent.com/oguzbilgener/CircularFloatingActionMenu/master/assets/circularfab.gif)
NavigationDrawerSI
Navigation Drawer的一个简单实现,滑动并以折叠方式打开菜单
项目地址:https://github.com/mmBs/NavigationDrawerSI
Demo地址:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi
效果图:
![](https://raw.githubusercontent.com/mmBs/NavigationDrawerSI/master/images/screens.png)
APP示例:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi
DragLayout
使用support.v4包下的ViewDragHelper实现QQ5.0侧滑
项目地址:https://github.com/BlueMor/DragLayout
效果图:
![](https://github.com/BlueMor/DragLayout/raw/master/screenshots/123.gif)
LDrawer
Material Design 形式的展开折叠Icon
项目地址:https://github.com/ikimuhendis/LDrawer
效果图:
![](https://raw.githubusercontent.com/IkiMuhendis/LDrawer/master/images/animated.gif)
Floating Action Button
悬浮的圆形菜单栏,支持组建滚动时自动隐藏及其他设置
项目地址:https://github.com/shamanland/floating-action-button
效果图:
四、ViewPager 、Gallery
Android-ViewPagerIndicator
配合ViewPager使用的Indicator,支持各种位置和样式
项目地址:https://github.com/JakeWharton/Android-ViewPagerIndicator
Demo地址:https://play.google.com/store/apps/details?id=com.viewpagerindicator.sample
APP示例:太多了。。
JazzyViewPager
支持Fragment切换动画的ViewPager,动画包括转盘、淡入淡出、翻页、层叠、旋转、方块、翻转、放大缩小等,效果类似桌面左右切换的各种效果,不过桌面并非用ViewPager实现而已
项目地址:https://github.com/jfeinstein10/JazzyViewPager
Demo地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
JellyViewPager
特殊切换动画的ViewPager
项目地址:https://github.com/chiemy/JellyViewPager
效果图:
![](https://github.com/chiemy/JellyViewPager/raw/master/capture.gif)
Android-DirectionalViewPager
支持横向和纵向(垂直)的ViewPager
项目地址:https://github.com/JakeWharton/Android-DirectionalViewPager
Demo地址:https://market.android.com/details?id=com.directionalviewpager.sample
android-pulltorefresh
支持下拉刷新的ViewPager
项目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各个页面
FancyCoverFlow
支持Item切换动画效果的类似Gallery View
项目地址:https://github.com/davidschreiber/FancyCoverFlow
Demo地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fancycoverflow.samples
效果图:
AndroidTouchGallery
支持双击或双指缩放的Gallery(用ViewPager实现),相比下面的PhotoView,在被放大后依然能滑到下一个item,并且支持直接从url和文件中获取图片,
项目地址:https://github.com/Dreddik/AndroidTouchGallery
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=true
APP示例:类似微信中查看聊天记录图片时可双击放大,并且放大情况下能正常左右滑动到前后图片
Android Auto Scroll ViewPager
Android自动滚动 轮播循环的ViewPager
项目地址:https://github.com/Trinea/android-auto-scroll-view-pager
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文档介绍:http://www.trinea.cn/android/auto-scroll-view-pager/
Salvage view
带View缓存的Viewpager PagerAdapter,很方便使用
项目地址:https://github.com/JakeWharton/salvage
Android PagerSlidingTabStrip
配合ViewPager使用的Indicator,支持ViewPager Scroll时Indicator联动
项目地址:https://github.com/astuetz/PagerSlidingTabStrip
Demo地址:https://play.google.com/store/apps/details?id=com.astuetz.viewpager.extensions.sample
ViewPager3D
ViewPager3D效果
项目地址:https://github.com/inovex/ViewPager3D
AnimaTabsview
仿网易云音乐标签切换的动画,带透明小三角
项目地址:https://github.com/wuyexiong/transparent-over-animtabsview
在线演示:http://v.youku.com/v_show/id_XNzA4MjY5NjA0.html
LoopingViewPager
无限循环的ViewPager
项目地址:https://github.com/imbryk/LoopingViewPager
android_page_curl
翻书卷曲效果
项目地址:https://github.com/harism/android_page_curl
APP示例:iReader
在线演示:https://www.youtube.com/watch?v=iwu7P5PCpsw
ViewPagerIndicator
简化并实现android的TabHost效果,顶部滑动tab,引导页,支持自定义tab样式,自定义滑动块样式和位置,自定义切换tab的过渡动画,子界面的预加载和界面缓存,设置界面是否可滑动
项目地址:https://github.com/LuckyJayce/ViewPagerIndicator
五、GridView
StaggeredGridView
允许非对齐行的GridView,类似Pinterest的瀑布流,并且跟ListView一样自带View缓存,继承自ViewGroup
项目地址:https://github.com/maurycyw/StaggeredGridView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=true
APP示例:Pinterest等
AndroidStaggeredGrid
允许非对齐行的GridView,类似Pinterest的瀑布流,继承自AbsListView
项目地址:https://github.com/etsy/AndroidStaggeredGrid
APP示例:Pinterest等
PinterestLikeAdapterView
允许非对齐行的GridView,类似Pinterest的瀑布流,允许下拉刷新
项目地址:https://github.com/GDG-Korea/PinterestLikeAdapterView
APP示例:Pinterest等
DraggableGridView
Item可拖动交换位置的GridView,实际是自己继承ViewGroup实现,类似桌面的单屏效果,可屏幕自动上下滚动进行Item移动交换,多屏效果见下面PagedDragDropGrid
项目地址:https://github.com/thquinn/DraggableGridView
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
StickyGridHeaders
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的GridView
项目地址:https://github.com/TonicArtos/StickyGridHeaders
效果图:
PagedDragDropGrid
Item可拖动交换位置、拖动删除的自定义控件,实际是自己继承ViewGroup实现,类似桌面的多屏效果,可拖动到屏幕边缘,屏幕自动左右滚动进行Item移动交换,可拖动进行删除,单屏效果见上面DraggableGridView
项目地址:https://github.com/mrKlar/PagedDragDropGrid
在线演示:http://youtu.be/FYTSRfthSuQ
Android-DraggableGridViewPager
Item可拖动交换位置的GridView,实际是自己继承ViewGroup实现,类似桌面的多屏效果,可屏幕自动左右滚动进行Item移动交换,单屏效果见上面DraggableGridView
项目地址:https://github.com/zzhouj/Android-DraggableGridViewPager
Demo地址:https://github.com/Trinea/trinea-download/blob/master/draggable-grid-viewpager-demo.apk?raw=true
TwoWayGridView
可横向滚动的GridView
项目地址:https://github.com/jess-anders/two-way-gridview
PagingGridView
分页加载的GridView。当滑动到GridView底部最后一个行时,显示一个进度行,然后加载下一页数据,并显示。
项目地址:https://github.com/nicolasjafelle/PagingGridView
AsymmetricGridView
一个支持跨行和跨列可变Item大小的GridView
项目地址:https://github.com/felipecsl/AsymmetricGridView
Demo地址:https://play.google.com/store/apps/details?id=com.felipecsl.asymmetricgridview.app
效果图:
![](https://raw.githubusercontent.com/felipecsl/AsymmetricGridView/master/screenshots/ss_5_cols.png)
GridView with Header and Footer
和ListView一样带头部和底部的GridView,用法和ListView一样
项目地址:https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter
效果图:
![](https://raw.githubusercontent.com/liaohuqiu/android-GridViewWithHeaderAndFooter/master/screen-shot.png)
六、ImageView
PhotoView
支持双击或双指缩放的ImageView,在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不仅支持ViewPager,同时支持单个ImageView
项目地址:https://github.com/chrisbanes/PhotoView
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sample
APP示例:photup
android-gif-drawable
支持gif显示的view,用jni实现的,编译生成so库后直接xml定义view即可,而且本身不依赖于其他开源项目所以相对下面的ImageViewEx简单的多
项目地址:https://github.com/koral--/android-gif-drawable
ImageViewEx
支持Gif显示的ImageView,依赖很多,编译过程很繁琐
项目地址:https://github.com/frapontillo/ImageViewEx
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true
RoundedImageView
带圆角的ImageView
项目地址:https://github.com/vinc3m1/RoundedImageView
效果图:
SelectableRoundedImageView
ImageView允许四个角的每一个有不同的半径值。也允许椭圆形、圆形的形状或者边
项目地址:https://github.com/pungrue26/SelectableRoundedImageView
Demo地址:https://play.google.com/store/apps/details?id=com.joooonho
效果图:
ColorArt
根据图片的均色设置背景色显示文字和图片,类似itune11中效果
项目地址:https://github.com/MichaelEvans/ColorArt
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/color-art-demo.apk?raw=true
CircleImageView
圆形的ImageView
项目地址:https://github.com/hdodenhof/CircleImageView
效果图:
ImageViewZoom
支持放大和平移的ImageView
项目地址:https://github.com/sephiroth74/ImageViewZoom
APP示例:https://play.google.com/store/apps/details?id=com.aviary.android.feather
KenBurnsView
实现Ken Burns effect效果,达到身临其境效果的ImageView
项目地址:https://github.com/flavioarfaria/KenBurnsView
CustomShapeImageView
各种形状的ImageView, 相比上面的圆形ImageView,多了更多形状
项目地址:https://github.com/MostafaGazar/CustomShapeImageView
效果图:
Shape Image View
可以自定义各种形状的ImageView, 并且支持边框
项目地址:https://github.com/siyamed/android-shape-imageview
效果图:
![](https://github.com/siyamed/android-shape-imageview/raw/master/images/shader-buble.png)
![](https://github.com/siyamed/android-shape-imageview/raw/master/images/all-samples.png)
TextDrawable
一个用于生成带有文本或者字母的图片的轻量级库。扩展自Drawable,因此可用于现有/自定义/网络等ImageView类,并且包含一个流接口用于创建drawables以及一个定制的ColorGenerator
项目地址:https://github.com/amulyakhare/TextDrawable
效果图:
![](https://raw.githubusercontent.com/amulyakhare/TextDrawable/master/screens/screen7.png)
七、ProgressBar
SmoothProgressBar
水平进度条
项目地址:https://github.com/castorflex/SmoothProgressBar
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample
ProgressWheel
支持进度显示的圆形ProgressBar
项目地址:https://github.com/Todd-Davies/ProgressWheel
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=true
android-square-progressbar
在图片周围显示进度
项目地址:https://github.com/mrwonderman/android-square-progressbar
Demo地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example
效果图:
APP示例:square
HoloCircularProgressBar
Android4.1 时钟App样式
项目地址:https://github.com/passsy/android-HoloCircularProgressBar
效果图:
APP示例:Android4.1时钟App
ProgressButton
通过图钉的不同状态显示进度
项目地址:https://github.com/f2prateek/progressbutton
效果图:
文档介绍:http://f2prateek.com/progressbutton/
GoogleProgressBar
类似google 多个圆形卡片翻转的progressBar
项目地址:https://github.com/jpardogo/GoogleProgressBar
效果图:
![](https://raw.githubusercontent.com/jpardogo/GoogleProgressBar/master/art/GoogleProgressBar.gif)
TH-ProgressButton
带圆形进度显示的按钮
项目地址;https://github.com/torryharris/TH-ProgressButton
效果图:
NumberProgressBar
带数字进度的进度条
项目地址:https://github.com/daimajia/NumberProgressBar
效果图:
CircularProgressDrawable
带圆形进度显示的进度条
项目地址:https://github.com/Sefford/CircularProgressDrawable
效果图:
![](https://raw.githubusercontent.com/Sefford/CircularProgressDrawable/master/overshoot.gif)
circular-progress-button
带进度显示的Button
项目地址:https://github.com/dmytrodanylyk/circular-progress-button
效果图:
![](https://raw.githubusercontent.com/dmytrodanylyk/circular-progress-button/master/screenshots/intro.gif)
WaveView
一个波纹效果的 View,可用来坐 ProgressBar
项目地址:https://github.com/john990/WaveView
Demo地址:https://raw.github.com/john990/WaveView/master/screenshot%26apk/demo.unaligned.apk
效果图:
八、TextView包括TextView及所有继承自TextView控件,如EditText、Button、RadioButton
1. android-flowtextview
文字自动环绕其他View的Layout
项目地址:https://code.google.com/p/android-flowtextview/
效果图:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png
Android Form EditText
验证输入合法性的编辑框,支持输入、英文、ip、url等多种正则验证
项目地址:https://github.com/vekexasia/android-edittext-validator
Demo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample
Emojicon
支持emojis的TextView和EditText
项目地址:https://github.com/rockerhieu/emojicon
文档介绍:http://rockerhieu.com/emojicon/
android-circlebutton
Android圆形按钮,实际实现是继承自ImageView
项目地址:https://github.com/markushi/android-circlebutton
Demo地址:https://github.com/markushi/android-circlebutton/blob/master/example/example.apk
Segmented Radio Buttons for Android
iOS’s segmented controls的实现
项目地址:https://github.com/vinc3m1/android-segmentedradiobutton
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
效果图:
Chips EditText Library
支持国家名字联想从而选择显示该国国旗的EditText,实际就是通过SpannableStringBuilder实现
项目地址:https://github.com/kpbird/chips-edittext-library
Demo地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/bin
AutoFitTextView
可固定边界内容字体大小自适应的TextView
项目地址:https://github.com/grantland/android-autofittextview
Shimmer for Android
文字发淡光的TextView
项目地址:https://github.com/RomainPiel/Shimmer-android
Titanic
可以显示水位上升下降(不知道该怎么描述 囧)的TextView
项目地址:https://github.com/RomainPiel/Titanic
效果图:
![](https://github.com/RomainPiel/Titanic/raw/master/titanic.gif)
android-iconify
提供带Icon的TextView,Menu,Button等
项目地址:https://github.com/JoanZapata/android-iconify
Calligraphy
让我们在android开发中使用自定义字体变得更加简单
项目地址 :https://github.com/chrisjenx/Calligraphy
效果图:
![](https://github.com/chrisjenx/Calligraphy/raw/master/screenshot.png)
CreditsRoll
类似星球大战字幕效果的TextView
项目地址:https://github.com/frakbot/CreditsRoll
android-process-buton
带加载或提交进度的Button
项目地址:https://github.com/dmytrodanylyk/android-process-buton
FButton
扁平化的Button
项目地址:https://github.com/hoang8f/android-flat-button
Demo地址:https://play.google.com/store/apps/details?id=info.hoang8f.fbutton.demo
FloatingActionButton
一个类似Android版Google+浮动功能按钮的控件,可以响应ListView的滚动事件。当列表向上滚动的时候会自动显示,向下滚动的时候自动隐藏。
项目地址:https://github.com/makovkastar/FloatingActionButton
Demo地址:https://github.com/makovkastar/FloatingActionButton/tree/master/
效果图:
![](https://raw.githubusercontent.com/makovkastar/FloatingActionButton/master/art/demo.gif)
Android Saripaar
Android表单验证
项目地址:https://github.com/ragunathjawahar/android-saripaar/
JumpingBeans
文字像 Mexican beans 一样跳动
项目地址:https://github.com/frakbot/JumpingBeans
Demo地址:http://play.google.com/store/apps/details?id=net.frakbot.jumpingbeans.demo
效果图:
![](https://github.com/frakbot/JumpingBeans/raw/master/art/jumpingdots.gif)
FancyButtons
一个不用图片就可以帮助我们创建出漂亮按钮的库。
项目地址:https://github.com/medyo/fancybuttons
Demo地址:https://github.com/medyo/fancybuttons/tree/master/samples
效果图:
Android-RobotoTextView
一个实现了所有Roboto字体的TextView,包括新出的Roboto Slab字体。
项目地址:https://github.com/johnkil/Android-RobotoTextView
Demo地址:http://play.google.com/store/apps/details?id=com.devspark.robototextview
Demo项目:https://github.com/johnkil/Android-RobotoTextView/tree/master/robototextview-sample
效果图:
>
Android-WizardPager
一个表单向导库
项目地址:https://github.com/romannurik/android-wizardpager
Demo项目:https://github.com/str4d/android-wizardpager/tree/textfield
效果图:
RippleView
一个实现了 Android L 上才引入的点击按钮后出现水波纹效果的按钮
项目地址:https://github.com/siriscac/RippleView
Demo项目:https://github.com/siriscac/RippleView/tree/master/RippleViewExample
效果图:
RippleEffect
一个实现Material Design Ripple效果的库,支持Android API 9+以上版本。
项目地址:https://github.com/traex/RippleEffect
Demo项目:https://github.com/traex/RippleEffect/tree/master/sample
效果图:
![](https://raw.githubusercontent.com/traex/RippleEffect/master/header.png)
Android Floating Label Widgets
包含一系列控件,这些控件特点是:有默认值,当值不为空时默认值浮动到上面变为提示
项目地址:https://github.com/marvinlabs/android-floatinglabel-widgets
Demo地址:https://play.google.com/store/apps/details?id=com.marvinlabs.widget.floatinglabel.demo
在线演示:http://www.youtube.com/watch?v=hpZD9gJcRg0&feature=youtu.be
MaterialEditText
EditText 的 Material Design 实现。包含 Google Material Design Spec中的UI效果和一些新增特性。
项目地址:https://github.com/rengwuxian/MaterialEditText
MultiActionTextView
可以分别给TextView中的某几个字设置点击事件的TextView
项目地址:https://github.com/ajaysahani/MultiActionTextView
效果图:
ToggleButton
状态切换的 Button,类似 iOS,用 View 实现
项目地址:https://github.com/zcweng/ToggleButton
效果图:
![](https://github.com/zcweng/ToggleButton/raw/master/ToggleButtonSample/21879.gif)
ExpandableTextView
可展开和收缩内容的TextView。
项目地址:https://github.com/Manabu-GT/ExpandableTextView
效果图:
九、ScrollView
Discrollview
支持滚动时Item淡入淡出,平移,缩放效果的ScrollView
项目地址:https://github.com/flavienlaurent/discrollview
Demo地址:https://github.com/flavienlaurent/discrollview/raw/master/sample.apk
PullScrollView
仿照新浪微博Android客户端个人中心的ScrollView,下拉背景伸缩回弹效果。
项目地址:https://github.com/MarkMjw/PullScrollView
效果图:
ParallaxScrollView
支持视差滚动的ScrollView ,背景图片的滚动速度小于ScrollView中子控件的滚动速度
项目地址:https://github.com/chrisjenx/ParallaxScrollView
Demo地址:http://cloud.github.com/downloads/chrisjenx/ParallaxScrollView/ParallaxScrollViewDemo-v1.0.5.apk
AKParallax-Android
支持视差滚动的ScrollView
项目地址:https://github.com/ideaismobile/AKParallax-Android
Demo地址:https://play.google.com/store/apps/details?id=com.appkraft.parallax_sample
Android-ObservableScrollView
监听滚动视图滚动事件的库,帮助与Toolbar的交互动效处理与Material Design的实现
项目地址:https://github.com/ksoichiro/Android-ObservableScrollView
Demo地址:https://play.google.com/store/apps/details?id=com.github.ksoichiro.android.observablescrollview.samples2
十、TimeView包括TimePicker、DatePicker、CalendarView、Clock等时间相关控件
android-times-square
Android日历时间部件,支持选取单个日期,多个日期,及日期区间段和对话框形式显示
项目地址:https://github.com/square/android-times-square
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/times-square-demo.apk?raw=true
android-calendar-card
日历
项目地址:https://github.com/kenumir/android-calendar-card
Demo地址:https://play.google.com/store/apps/details?id=com.wt.calendarcardsample
效果图:
AndroidWheel
Android Wheel支持城市、多种日期时间、密码、图片
项目地址:https://code.google.com/p/android-wheel/
效果图:
GoogleDateTimePickers
时间选择部件
项目地址:https://github.com/Mirkoddd/GoogleDateTimePickers
文档介绍:https://play.google.com/store/apps/details?id=com.mirko.sample&hl=it
DateTimePicker
日期选择部件(Google Agenda的样式风格)
项目地址:https://github.com/flavienlaurent/datetimepicker
Demo地址:https://raw.github.com/biboune/datetimepicker/master/datetimepicker-sample.apk
效果图:
android-betterpickers
提供日期、数字、时间(数字方式和钟表方式)、重复周期(闹钟的周期重复)、HMS(时、分、秒)的选择,支持以DialogFragment的弹窗选择
项目地址:https://github.com/derekbrameyer/android-betterpickers
Demo地址:https://play.google.com/store/apps/details?id=com.doomonafireball.betterpickers.sample效果图:
Android Week View
日期控件,支持周,天视图,支持自定义样式
项目地址:https://github.com/alamkanak/Android-Week-View
效果图:
![](https://github.com/alamkanak/Android-Week-View/raw/master/images/screen-shot.png)
十一、TipView包括Toast、角标、UndoBar等提示性控件
Crouton
丰富样式的Toast,允许alert、comfirm、info样式及点击消失样式,允许设置Toast显示时间,允许自定义View。 本文32. SuperToasts为其扩展版
项目地址:https://github.com/keyboardsurfer/Crouton
Demo地址:http://play.google.com/store/apps/details?id=de.keyboardsurfer.app.demo.crouton
supertooltips
带动画效果的Tips显示
项目地址:https://github.com/nhaarman/supertooltips
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.supertooltips
Android ViewBadger
为其他View添加角标等
项目地址:https://github.com/jgilfelt/android-viewbadger
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/android-viewbadger.apk?raw=true
效果图:
SuperToasts
更丰富样式的toast,支持Button、Progress、Horizontal Progress样式、支持进入动画、支持撤销及其动画设置
项目地址:https://github.com/JohnPersano/SuperToasts
Demo地址:https://play.google.com/store/apps/details?id=com.supertoastsdemo
效果图:
UndoBar
屏幕底部显示取消或是确认的PopupWindows
项目地址:https://github.com/soarcn/UndoBar
效果图:
![](https://github.com/soarcn/UndoBar/raw/master/art/redo.png?raw=true)
UndoBar
屏幕底部显示取消或是确认某操作
项目地址:https://github.com/jenzz/Android-UndoBar
效果图:
Android-ActionItemBadge
可以在ActionBar的MenuItem上显示一个小角标
项目地址:https://github.com/mikepenz/Android-ActionItemBadge
效果图:
![](https://raw.githubusercontent.com/mikepenz/Android-ActionItemBadge/master/DEV/screenshot/screenshot1_small.png)
SnackBar
Material Design 风格的 Toast,类似 Google inbox 中的提示
项目地址:https://github.com/MrEngineer13/SnackBar
Demo地址:https://play.google.com/store/apps/details?id=com.mrengineer13.snackbar.sample
效果图:
十二、FlipView
android-flip
类似Flipboard翻转动画的实现
项目地址:https://github.com/openaphid/android-flip
Demo地址:https://github.com/openaphid/android-flip/blob/master/FlipView/Demo/APK/Aphid-FlipView-Demo.apk?raw=true
APP示例:flipboard
FlipImageView
支持x、y、z及动画选择的翻转动画的实现
项目地址:https://github.com/castorflex/FlipImageView
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.flipimageview
FoldableLayout
Flip翻转效果的ListView,目前还不支持ListView缓存
项目地址:https://github.com/alexvasilkov/FoldableLayout
Demo地址:http://play.google.com/store/apps/details?id=com.alexvasilkov.foldablelayout.sample
十三、ColorPickView
ColorPickerView
颜色选择器,支持PopupWindows或新的Activity中打开
项目地址:https://code.google.com/p/color-picker-view/
效果图:
HoloColorPicker
颜色选择器
项目地址:https://github.com/LarsWerkman/HoloColorPicker
Demo地址:https://docs.google.com/file/d/0BwclyDTlLrdXRzVnTGJvTlRfU2s/edit
ColorPickerPreference
颜色选择器
项目地址:https://github.com/attenzione/android-ColorPickerPreference
效果图:
![](https://github.com/attenzione/android-ColorPickerPreference/raw/master/screen_2.png)
ColorPicker
颜色选择器(Google Agenda中的样式风格)
项目地址:https://github.com/flavienlaurent/colorpicker
Demo地址:https://raw.github.com/biboune/colorpicker/master/colorpicker-sample.apk
效果图:
十四、GraphView
MPAndroidChart
强大的图表绘制工具,支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、网状图及各种图的结合;支持图的拖拽缩放;支持 Android 2.2 以上,支持横纵轴缩放,多指缩放,展现动画、高亮、保存到 sdcard、从文件读取图表
项目地址:https://github.com/PhilJay/MPAndroidChart
Demo地址:https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample
Demo项目:https://github.com/PhilJay/MPAndroidChart/tree/master/MPChartExample
效果图:
在线演示:https://www.youtube.com/watch?v=ufaK_Hd6BpI
achartengine
强大的图表绘制工具,支持折线图、面积图、散点图、时间图、柱状图、条图、饼图、气泡图、圆环图、范围(高至低)条形图、拨号图/表、立方线图及各种图的结合
项目地址:https://code.google.com/p/achartengine/
效果图:
http://www.achartengine.org/dimages/sales_line_and_area_chart.png
http://www.achartengine.org/dimages/temperature_range_chart.png
http://www.achartengine.org/dimages/combined_chart.png
http://www.achartengine.org/dimages/budget_chart.png
官网网址:http://www.achartengine.org/
APP示例:Wordpress Android,Google Analytics
GraphView
绘制图表和曲线图的View,可用于Android上的曲形图、柱状图、波浪图展示
项目地址:https://github.com/jjoe64/GraphView
Demo项目:https://github.com/jjoe64/GraphView-Demos
APP示例:Wordpress Android,Google Analytics
HoloGraphLibrary
绘制现状图、柱状图、饼状图
项目地址:https://bitbucket.org/danielnadeau/holographlibrary/src
文档介绍:https://bitbucket.org/danielnadeau/holographlibrary/wiki/Home
XCL-Charts
XCL-Charts基于原生的Canvas来绘制各种图表,在设计时,尽量在保证开发效率的同时,给使用者提供足够多的定制化能力。因此使用简便,同时具有相当灵活的定制能力。
相关文章推荐
- Github上优秀的Android开源项目常用控件
- Android 常用炫酷控件(开源项目)git地址汇总
- Android快速开发框架Android_BaseLib,集成了常用工具类,自定义View控件,Base基类封装,常用开源框架
- Android开源项目和常用控件
- Android 常用炫酷控件(开源项目)git地址汇总
- Android常用控件以及开源整合
- Android 常用开源控件收集
- Android初级开发(四)——布局中的几个常用控件
- Android 常用基本控件 ImageButton
- Android 常用系统控件界面大合集(三)
- Android常用控件之ListView(一)
- Android常用控件
- Android UI概述和常用控件
- android常用控件及自定义控件方式
- [开源]在iOS上实现Android风格的控件Toast
- 【常用开源库】Android主流网络请求开源库的对比(Android-Async-Http、Volley、OkHttp、Retrofit)
- Android开源载入视图(loading)控件分享
- Android软件开发之盘点常用系统控件界面大合集(三)
- 介绍一个Android的开源的自定义小控件:TextDrawable
- 【Android 界面效果18】Android软件开发之常用系统控件界面整理