Android中國開發(fā)精英 目前包括: ??
Android開源項(xiàng)目第一篇——個(gè)性化控件(View)篇 ? ?? ? 包括ListView担钮、ActionBar捷绑、Menu淳玩、ViewPager吱晒、Gallery、GridView联四、ImageView撑碴、ProgressBar撑教、TextView朝墩、ScrollView、TimeView伟姐、TipView收苏、FlipView、ColorPickView愤兵、GraphView鹿霸、UI Style、其他 ? ? Android開源項(xiàng)目第二篇——工具庫篇 ? ?? ? 包括依賴注入秆乳、圖片緩存懦鼠、網(wǎng)絡(luò)相關(guān)、數(shù)據(jù)庫ORM工具包屹堰、Android公共庫肛冶、高版本向低版本兼容庫、多媒體扯键、事件總線睦袖、傳感器、安全荣刑、插件化馅笙、文件、其他 ? ? Android開源項(xiàng)目第三篇——優(yōu)秀項(xiàng)目篇 ? ?? ???比較有意思的完整的Android項(xiàng)目 ? ? Android開源項(xiàng)目第四篇——開發(fā)及測(cè)試工具篇 ? ?? ???包括開發(fā)效率工具厉亏、開發(fā)自測(cè)相關(guān)董习、測(cè)試工具、開發(fā)及編譯環(huán)境爱只、其他 ? ? Android開源項(xiàng)目第五篇——優(yōu)秀個(gè)人和團(tuán)體篇 ? ?? ???樂于分享并且有一些很不錯(cuò)的開源項(xiàng)目的個(gè)人和組織阱飘,包括JakeWharton、Chris Banes、Koushik Dutta等大牛 ??
第一部分 個(gè)性化控件(View)主要介紹那些不錯(cuò)個(gè)性化的View沥匈,包括ListView蔗喂、ActionBar、Menu高帖、ViewPager缰儿、Gallery、GridView散址、ImageView乖阵、ProgressBar、TextView预麸、ScrollView瞪浸、TimeView、TipView吏祸、FlipView对蒲、ColorPickView、GraphView贡翘、UI Style等等蹈矮。
一、ListView
1.android-pulltorefresh
一個(gè)強(qiáng)大的拉動(dòng)刷新開源項(xiàng)目鸣驱,支持各種控件下拉刷新泛鸟,ListView、ViewPager踊东、WevView北滥、ExpandableListView、GridView闸翅、ScrollView再芋、Horizontal??ScrollView、Fragment上下左右拉動(dòng)刷新缎脾,比下面johannilsson那個(gè)只支持ListView的強(qiáng)大的多祝闻。并且它實(shí)現(xiàn)的下拉刷新ListView在item不足一屏情況下也不會(huì)顯示刷新提示,體驗(yàn)更好遗菠。
項(xiàng)目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各個(gè)頁面
2.android-pulltorefresh-listview
下拉刷新ListView联喘,這個(gè)被很多人使用的項(xiàng)目實(shí)際有不少bug,推薦使用上面的android-pulltorefresh
項(xiàng)目地址:https://github.com/johannilsson/android-pulltorefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refresh-listview-demo.apk?raw=true
3.android-Ultra-Pull-to-Refresh
下拉刷新辙纬,第一個(gè)項(xiàng)目已經(jīng)停止維護(hù)了豁遭,并且使用起來相對(duì)復(fù)雜,定制性也差贺拣。這個(gè)是替代和改良方案蓖谢。這個(gè)繼承于ViewGroup可以包含任何View捂蕴。功能甚至比SwipeRefreshLayout強(qiáng)大。使用起來非常簡單闪幽。良好的設(shè)計(jì)啥辨,如果你想定制自己的UI樣式,非常簡單盯腌,就像給ListView加一個(gè)Header View那么簡單溉知。支持 API LEVEL >= 8
項(xiàng)目地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh
效果圖:
4.DropDownListView
下拉刷新及滑動(dòng)到底部加載更多ListView
項(xiàng)目地址: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/
5.DragSortListView
拖動(dòng)排序的ListView,同時(shí)支持ListView滑動(dòng)item刪除腕够,各個(gè)Item高度不一级乍、單選、復(fù)選帚湘、CursorAdapter做為適配器玫荣、拖動(dòng)背景變化等
項(xiàng)目地址:https://github.com/bauerca/drag-sort-listview
Demo地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslv
APP示例:Wordpress Android
6.SwipeListView
支持定義ListView左右滑動(dòng)事件,支持左右滑動(dòng)位移大诸,支持定義動(dòng)畫時(shí)間
項(xiàng)目地址:https://github.com/47deg/android-swipelistview
Demo地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview
APP示例:微信
7.Android-SwipeToDismiss
滑動(dòng)Item消失ListView捅厂,支持3.0以下版本見:https://github.com/JakeWharton/SwipeToDismissNOA
項(xiàng)目地址:https://github.com/romannurik/Android-SwipeToDismiss
Demo地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_code
8.PinnedHeaderExpandableListView
首先它是一個(gè)ExpandableListView,但是它的頭部可以固定底挫,其次恒傻,在它的上面還有一個(gè)頭部可以來回伸縮
項(xiàng)目地址:https://github.com/singwhatiwanna/PinnedHeaderExpandableListView
APP示例:百度手機(jī)衛(wèi)士垃圾清理界面
9.StickyListHeaders
GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ExpandListView脸侥,支持快速滑動(dòng)建邓,支持Android2.3及以上
項(xiàng)目地址:https://github.com/emilsjolander/StickyListHeaders
APP示例:Android 4.0聯(lián)系人
10.pinned-section-listview
GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ExpandListView
項(xiàng)目地址:https://github.com/beworker/pinned-section-listview
11.PinnedHeaderListView
GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ExpandListView
項(xiàng)目地址:https://github.com/JimiSmith/PinnedHeaderListView
12.QuickReturn
ListView/ScrollView的header或footer,當(dāng)向下滾動(dòng)時(shí)消失睁枕,向上滾動(dòng)時(shí)出現(xiàn)
項(xiàng)目地址:https://github.com/lawloretienne/QuickReturn
Demo地址:https://play.google.com/store/apps/details?id=com.etiennelawlor.quickreturn
13.QuickReturnHeader
ListView/ScrollView的header或footer官边,當(dāng)向下滾動(dòng)時(shí)消失,向上滾動(dòng)時(shí)出現(xiàn)
項(xiàng)目地址:https://github.com/ManuelPeinado/QuickReturnHeader
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=true
APP示例:google plus
14.IndexableListView
ListView右側(cè)會(huì)顯示item首字母快捷索引外遇,點(diǎn)擊可快速滑動(dòng)到某個(gè)item
項(xiàng)目地址:https://github.com/woozzu/IndexableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=true
APP示例:微信通訊錄注簿、小米聯(lián)系人
15.CustomFastScrollView
ListView快速滑動(dòng),同時(shí)屏幕中間PopupWindows顯示滑動(dòng)到的item內(nèi)容或首字母
項(xiàng)目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo
16.Android-ScrollBarPanel
ListView滑動(dòng)時(shí)固定的Panel指示顯示在scrollbar旁邊
項(xiàng)目地址:https://github.com/rno/Android-ScrollBarPanel
效果圖:
17.SlideExpandableListView
用戶點(diǎn)擊listView item滑出固定區(qū)域跳仿,其他item的區(qū)域收縮
項(xiàng)目地址:https://github.com/tjerkw/Android-SlideExpandableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true
18.JazzyListView
ListView及GridView item以特殊動(dòng)畫效果進(jìn)入屏幕诡渴,效果包括grow、cards菲语、curl妄辩、wave、flip山上、fly等等
項(xiàng)目地址:https://github.com/twotoasters/JazzyListView
Demo地址:https://play.google.com/store/apps/details?id=com.twotoasters.jazzylistview.sample
在線演示:http://lab.hakim.se/scroll-effects/
19.ListViewAnimations
帶Item顯示動(dòng)畫的ListView眼耀,動(dòng)畫包括底部飛入、其他方向斜飛入佩憾、下層飛入哮伟、漸變消失干花、滑動(dòng)刪除等
項(xiàng)目地址:https://github.com/nhaarman/ListViewAnimations
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimations
APP示例:Google plus、Google Now卡片式進(jìn)入楞黄、小米系統(tǒng)中應(yīng)用商店池凄、聯(lián)系人、游戲中心鬼廓、音樂修赞、文件管理器的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
20.DevsmartLib-Android
橫向ListView
項(xiàng)目地址:https://github.com/dinocore1/DevsmartLib-Android
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true
21.TwoWayView
橫向ListView的效果玛歌,繼承自AdapterView
項(xiàng)目地址:https://github.com/lucasr/twoway-view
22.HorizontalVariableListView
支持Item寬度不一致的ListView
項(xiàng)目地址:https://github.com/sephiroth74/HorizontalVariableListView
23.LinearListView
用LinearLayout實(shí)現(xiàn)的ListView,可解決多個(gè)ListView并存等問題擎椰。目前自己也有需要支子,等親自嘗試過后會(huì)再具體介紹
項(xiàng)目地址:https://github.com/frankiesardo/LinearListView
24.MultiChoiceAdapter
支持多選的ListView Adapter
項(xiàng)目地址:https://github.com/ManuelPeinado/MultiChoiceAdapter
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo
25.EnhancedListView
支持橫向滑動(dòng)刪除列表項(xiàng)以及撤銷刪除的ListView,該項(xiàng)目的前身是SwipeToDismissUndoList
項(xiàng)目地址:https://github.com/timroes/EnhancedListView
26.ListBuddies
自動(dòng)滾動(dòng)的雙列ListView 达舒,兩個(gè)ListView滾動(dòng)速度不一致值朋,有視差效果
項(xiàng)目地址:https://github.com/jpardogo/ListBuddies
Demo地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies
效果圖:
27.SwipeMenuListView
針對(duì)ListView item的側(cè)滑菜單
項(xiàng)目地址:https://github.com/baoyongzhang/SwipeMenuListView
APP示例:手機(jī)QQV5.0
28.PagingListView
分頁加載的ListView。當(dāng)滑動(dòng)到ListView底部最后一個(gè)元素時(shí)巩搏,顯示一個(gè)進(jìn)度行昨登,然后加載下一頁數(shù)據(jù),并顯示贯底。
項(xiàng)目地址:https://github.com/nicolasjafelle/PagingListView
29.PullZoomView
支持下拉時(shí)HeaderView縮放的ListView丰辣、ScrollView
項(xiàng)目地址:https://github.com/Frank-Zhu/PullZoomView
30.PullToZoomInListView
滑動(dòng)ListView時(shí)使其HeaderView跟隨滑動(dòng)縮放
項(xiàng)目地址:https://github.com/matrixxun/PullToZoomInListView
31.CalendarListview
實(shí)現(xiàn)每個(gè)月一行日歷效果的ListView
項(xiàng)目地址:https://github.com/traex/CalendarListview
32.sticky-headers-recyclerview
GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ListView,采用support-v7中的RecyclerView實(shí)現(xiàn)
項(xiàng)目地址:https://github.com/timehop/sticky-headers-recyclerview
33.PullSeparateListView
到達(dá)頂部或底部繼續(xù)拉動(dòng)時(shí)禽捆,實(shí)現(xiàn)Item間的相互分離笙什,兩種模式:(1) 全部分離的模式,即屏幕內(nèi)所有Item都會(huì)分離 (2)部分分離模式睦擂,以點(diǎn)擊位置為分界點(diǎn)得湘,部分item分離
項(xiàng)目地址:https://github.com/chiemy/PullSeparateListView
34.ExpandableLayout
Header 和 Content Item 都可以展開的 ExpandableListview
項(xiàng)目地址:https://github.com/traex/ExpandableLayout
35.PagedHeadListView
支持paginated header以及material page indicator的ListView.
項(xiàng)目地址:https://github.com/JorgeCastilloPrz/PagedHeadListView
36.CustomSwipeListView
支持左滑彈出自定義菜單,右滑刪除且允許撤銷顿仇,同時(shí)可以自定義滑動(dòng)動(dòng)畫時(shí)間和滑動(dòng)觸發(fā)事件的時(shí)機(jī)等淘正。
項(xiàng)目地址:https://github.com/xyczero/Android-CustomSwipeListView
效果圖:
Demo地址:Download here
二摆马、ActionBar
1.ActionBarSherlock
為Android所有版本提供統(tǒng)一的ActionBar,解決4.0以下ActionBar的適配問題
項(xiàng)目地址:https://github.com/JakeWharton/ActionBarSherlock
Demo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos
APP示例:太多了鸿吆《诓桑。現(xiàn)在連google都在用
2.ActionBar-PullToRefresh
下拉刷新惩淳,ActionBar出現(xiàn)加載中提示
項(xiàng)目地址: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,知乎等
3.FadingActionBar
ListView向下滾動(dòng)逐漸顯現(xiàn)的ActionBar
項(xiàng)目地址:https://github.com/ManuelPeinado/FadingActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demo
APP示例:google music思犁,知乎
4.NotBoringActionBar
google music下拉收縮的ActionBar
項(xiàng)目地址:https://github.com/flavienlaurent/NotBoringActionBar
Demo地址:http://flavienlaurent.com/blog/2013/11/20/making-your-action-bar-not-boring/
APP示例:Google音樂
5.RefreshActionItem
帶進(jìn)度顯示和刷新按鈕的ActionBar
項(xiàng)目地址:https://github.com/ManuelPeinado/RefreshActionItem
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.refreshactionitem.demo
APP示例:The New York Times代虾,DevAppsDirect.
6.GlassActionBar
類似玻璃的有一定透明度的ActionBar
項(xiàng)目地址:https://github.com/ManuelPeinado/GlassActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.glassactionbardemo
APP示例:google music
三、Menu
1.MenuDrawer
滑出式菜單激蹲,通過拖動(dòng)屏幕邊緣滑出菜單棉磨,支持屏幕上下左右劃出,支持當(dāng)前View處于上下層学辱,支持Windows邊緣乘瓤、ListView邊緣、ViewPager變化劃出菜單等策泣。
項(xiàng)目地址:https://github.com/SimonVT/android-menudrawer
Demo地址:http://simonvt.github.io/android-menudrawer/
APP示例:Gmail衙傀、Google Music等大部分google app
2.SlidingMenu
滑出式菜單,通過拖動(dòng)屏幕邊緣滑出菜單萨咕,支持屏幕左右劃出统抬,支持菜單zoom顾稀、scale、slide up三種動(dòng)畫樣式出現(xiàn)查牌。與MenuDrawer相比而言述暂,SlidingMenu支持菜單動(dòng)畫樣式出現(xiàn),MenuDrawer支持菜單view處于內(nèi)容的上下層
項(xiàng)目地址: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
3.ArcMenu
支持類似Path的左下角動(dòng)畫旋轉(zhuǎn)菜單及橫向劃出菜單沈条、圓心彈出菜單
項(xiàng)目地址:https://github.com/daCapricorn/ArcMenu
https://dl.dropboxusercontent.com/u/11369687/preview1.png
https://dl.dropboxusercontent.com/u/11369687/raymenu.png
APP示例:Path
4.android-satellite-menu
類似Path的左下角動(dòng)畫旋轉(zhuǎn)菜單
項(xiàng)目地址:https://github.com/siyamed/android-satellite-menu
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/satellite-menu-demo.apk?raw=true
APP示例:Path
5.radial-menu-widget
圓形菜單,支持二級(jí)菜單
項(xiàng)目地址:https://code.google.com/p/radial-menu-widget/
效果圖:http://farm8.staticflickr.com/7377/11621125154_d1773c2dcc_o.jpg
6.Android Wheel Menu
圓形旋轉(zhuǎn)選取菜單
項(xiàng)目地址:https://github.com/anupcowkur/Android-Wheel-Menu
7.FoldingNavigationDrawer
滑動(dòng)并以折疊方式打開菜單
項(xiàng)目地址:https://github.com/tibi1712/FoldingNavigationDrawer-Android
Demo地址:https://play.google.com/store/apps/details?id=com.ptr.folding.sample
8.AndroidResideMenu
仿 Dribbble 的邊欄菜單
項(xiàng)目地址:https://github.com/SpecialCyCi/AndroidResideMenu
9.CircularFloatingActionMenu
一個(gè)可定制的圓形的浮動(dòng)菜單控件,類似于Path的圓形菜單盅弛。這個(gè)控件的可定制性更強(qiáng),可以很容易的定制菜單出現(xiàn)消失時(shí)的動(dòng)畫叔锐,起始角度和半徑挪鹏。
項(xiàng)目地址:https://github.com/oguzbilgener/CircularFloatingActionMenu
Demo地址:https://github.com/oguzbilgener/CircularFloatingActionMenu/tree/master/samples
10.NavigationDrawerSI
Navigation Drawer的一個(gè)簡單實(shí)現(xiàn),滑動(dòng)并以折疊方式打開菜單
項(xiàng)目地址:https://github.com/mmBs/NavigationDrawerSI
Demo地址:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi
效果圖:
APP示例:https://play.google.com/store/apps/details?id=mmbialas.pl.navigationdrawersi
11.DragLayout
使用support.v4包下的ViewDragHelper實(shí)現(xiàn)QQ5.0側(cè)滑
項(xiàng)目地址:https://github.com/BlueMor/DragLayout
12.LDrawer
Material Design 形式的展開折疊Icon
項(xiàng)目地址:https://github.com/ikimuhendis/LDrawer
13.Floating Action Button
懸浮的圓形菜單欄愉烙,支持組建滾動(dòng)時(shí)自動(dòng)隱藏及其他設(shè)置
項(xiàng)目地址:https://github.com/shamanland/floating-action-button
四讨盒、ViewPager 、Gallery
1.Android-ViewPagerIndicator
配合ViewPager使用的Indicator步责,支持各種位置和樣式
項(xiàng)目地址:https://github.com/JakeWharton/Android-ViewPagerIndicator
Demo地址:https://play.google.com/store/apps/details?id=com.viewpagerindicator.sample
APP示例:太多了返顺。禀苦。
2.JazzyViewPager
支持Fragment切換動(dòng)畫的ViewPager,動(dòng)畫包括轉(zhuǎn)盤遂鹊、淡入淡出振乏、翻頁、層疊秉扑、旋轉(zhuǎn)慧邮、方塊、翻轉(zhuǎn)舟陆、放大縮小等误澳,效果類似桌面左右切換的各種效果,不過桌面并非用ViewPager實(shí)現(xiàn)而已
項(xiàng)目地址:https://github.com/jfeinstein10/JazzyViewPager
Demo地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
3.JellyViewPager
特殊切換動(dòng)畫的ViewPager
項(xiàng)目地址:https://github.com/chiemy/JellyViewPager
4.Android-DirectionalViewPager
支持橫向和縱向(垂直)的ViewPager
項(xiàng)目地址:https://github.com/JakeWharton/Android-DirectionalViewPager
Demo地址:https://market.android.com/details?id=com.directionalviewpager.sample
5.android-pulltorefresh
支持下拉刷新的ViewPager
項(xiàng)目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各個(gè)頁面
6.FancyCoverFlow
支持Item切換動(dòng)畫效果的類似Gallery View
項(xiàng)目地址:https://github.com/davidschreiber/FancyCoverFlow
Demo地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fancycoverflow.samples
7.AndroidTouchGallery
支持雙擊或雙指縮放的Gallery(用ViewPager實(shí)現(xiàn))秦躯,相比下面的PhotoView脓匿,在被放大后依然能滑到下一個(gè)item,并且支持直接從url和文件中獲取圖片宦赠,
項(xiàng)目地址:https://github.com/Dreddik/AndroidTouchGallery
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=true
APP示例:類似微信中查看聊天記錄圖片時(shí)可雙擊放大陪毡,并且放大情況下能正常左右滑動(dòng)到前后圖片
8.Android Auto Scroll ViewPager
Android自動(dòng)滾動(dòng) 輪播循環(huán)的ViewPager
項(xiàng)目地址: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/
9.Salvage view
帶View緩存的Viewpager PagerAdapter,很方便使用
項(xiàng)目地址:https://github.com/JakeWharton/salvage
10.Android PagerSlidingTabStrip
配合ViewPager使用的Indicator勾扭,支持ViewPager Scroll時(shí)Indicator聯(lián)動(dòng)
項(xiàng)目地址:https://github.com/astuetz/PagerSlidingTabStrip
Demo地址:https://play.google.com/store/apps/details?id=com.astuetz.viewpager.extensions.sample
11.ViewPager3D
ViewPager3D效果
項(xiàng)目地址:https://github.com/inovex/ViewPager3D
12.AnimaTabsview
仿網(wǎng)易云音樂標(biāo)簽切換的動(dòng)畫,帶透明小三角
項(xiàng)目地址:https://github.com/wuyexiong/transparent-over-animtabsview
在線演示:http://v.youku.com/v_show/id_XNzA4MjY5NjA0.html
13.LoopingViewPager
無限循環(huán)的ViewPager
項(xiàng)目地址:https://github.com/imbryk/LoopingViewPager
14.android_page_curl
翻書卷曲效果
項(xiàng)目地址:https://github.com/harism/android_page_curl
APP示例:iReader
在線演示:https://www.youtube.com/watch?v=iwu7P5PCpsw
15.ViewPagerIndicator
簡化并實(shí)現(xiàn)android的TabHost效果毡琉,頂部滑動(dòng)tab,引導(dǎo)頁妙色,支持自定義tab樣式,自定義滑動(dòng)塊樣式和位置,自定義切換tab的過渡動(dòng)畫,子界面的預(yù)加載和界面緩存,設(shè)置界面是否可滑動(dòng)
項(xiàng)目地址:https://github.com/LuckyJayce/ViewPagerIndicator
五桅滋、GridView
1.StaggeredGridView
允許非對(duì)齊行的GridView,類似Pinterest的瀑布流身辨,并且跟ListView一樣自帶View緩存丐谋,繼承自ViewGroup
項(xiàng)目地址:https://github.com/maurycyw/StaggeredGridView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=true
APP示例:Pinterest等
2.AndroidStaggeredGrid
允許非對(duì)齊行的GridView,類似Pinterest的瀑布流煌珊,繼承自AbsListView
項(xiàng)目地址:https://github.com/etsy/AndroidStaggeredGrid
APP示例:Pinterest等
3.PinterestLikeAdapterView
允許非對(duì)齊行的GridView号俐,類似Pinterest的瀑布流,允許下拉刷新
項(xiàng)目地址:https://github.com/GDG-Korea/PinterestLikeAdapterView
APP示例:Pinterest等
4.DraggableGridView
Item可拖動(dòng)交換位置的GridView定庵,實(shí)際是自己繼承ViewGroup實(shí)現(xiàn)吏饿,類似桌面的單屏效果,可屏幕自動(dòng)上下滾動(dòng)進(jìn)行Item移動(dòng)交換蔬浙,多屏效果見下面PagedDragDropGrid
項(xiàng)目地址:https://github.com/thquinn/DraggableGridView
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
5.StickyGridHeaders
GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的GridView
項(xiàng)目地址:https://github.com/TonicArtos/StickyGridHeaders
6.PagedDragDropGrid
Item可拖動(dòng)交換位置猪落、拖動(dòng)刪除的自定義控件,實(shí)際是自己繼承ViewGroup實(shí)現(xiàn)畴博,類似桌面的多屏效果笨忌,可拖動(dòng)到屏幕邊緣,屏幕自動(dòng)左右滾動(dòng)進(jìn)行Item移動(dòng)交換俱病,可拖動(dòng)進(jìn)行刪除官疲,單屏效果見上面DraggableGridView
項(xiàng)目地址:https://github.com/mrKlar/PagedDragDropGrid
在線演示:http://youtu.be/FYTSRfthSuQ
7.Android-DraggableGridViewPager
Item可拖動(dòng)交換位置的GridView杂曲,實(shí)際是自己繼承ViewGroup實(shí)現(xiàn),類似桌面的多屏效果袁余,可屏幕自動(dòng)左右滾動(dòng)進(jìn)行Item移動(dòng)交換擎勘,單屏效果見上面DraggableGridView
項(xiàng)目地址:https://github.com/zzhouj/Android-DraggableGridViewPager
Demo地址:https://github.com/Trinea/trinea-download/blob/master/draggable-grid-viewpager-demo.apk?raw=true
8.TwoWayGridView
可橫向滾動(dòng)的GridView
項(xiàng)目地址:https://github.com/jess-anders/two-way-gridview
9.PagingGridView
分頁加載的GridView。當(dāng)滑動(dòng)到GridView底部最后一個(gè)行時(shí)颖榜,顯示一個(gè)進(jìn)度行棚饵,然后加載下一頁數(shù)據(jù),并顯示掩完。
項(xiàng)目地址:https://github.com/nicolasjafelle/PagingGridView
10.AsymmetricGridView
一個(gè)支持跨行和跨列可變Item大小的GridView
項(xiàng)目地址:https://github.com/felipecsl/AsymmetricGridView
Demo地址:https://play.google.com/store/apps/details?id=com.felipecsl.asymmetricgridview.app
11.GridView with Header and Footer
和ListView一樣帶頭部和底部的GridView噪漾,用法和ListView一樣
項(xiàng)目地址:https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter
效果圖:
六、ImageView
1.PhotoView
支持雙擊或雙指縮放的ImageView且蓬,在ViewPager等Scrolling view中正常使用欣硼,相比上面的AndroidTouchGallery,不僅支持ViewPager恶阴,同時(shí)支持單個(gè)ImageView
項(xiàng)目地址:https://github.com/chrisbanes/PhotoView
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sample
APP示例:photup
2.android-gif-drawable
支持gif顯示的view诈胜,用jni實(shí)現(xiàn)的,編譯生成so庫后直接xml定義view即可冯事,而且本身不依賴于其他開源項(xiàng)目所以相對(duì)下面的ImageViewEx簡單的多
項(xiàng)目地址:https://github.com/koral--/android-gif-drawable
3.ImageViewEx
支持Gif顯示的ImageView焦匈,依賴很多,編譯過程很繁瑣
項(xiàng)目地址:https://github.com/frapontillo/ImageViewEx
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true
4.RoundedImageView
帶圓角的ImageView
項(xiàng)目地址:https://github.com/vinc3m1/RoundedImageView
5.SelectableRoundedImageView
ImageView允許四個(gè)角的每一個(gè)有不同的半徑值昵仅。也允許橢圓形缓熟、圓形的形狀或者邊
項(xiàng)目地址:https://github.com/pungrue26/SelectableRoundedImageView
Demo地址:https://play.google.com/store/apps/details?id=com.joooonho
效果圖:
6.ColorArt
根據(jù)圖片的均色設(shè)置背景色顯示文字和圖片,類似itune11中效果
項(xiàng)目地址:https://github.com/MichaelEvans/ColorArt
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/color-art-demo.apk?raw=true
7.CircleImageView
圓形的ImageView
項(xiàng)目地址:https://github.com/hdodenhof/CircleImageView
8.ImageViewZoom
支持放大和平移的ImageView
項(xiàng)目地址:https://github.com/sephiroth74/ImageViewZoom
APP示例:https://play.google.com/store/apps/details?id=com.aviary.android.feather
9.KenBurnsView
實(shí)現(xiàn)Ken Burns effect效果摔笤,達(dá)到身臨其境效果的ImageView
項(xiàng)目地址:https://github.com/flavioarfaria/KenBurnsView
10.CustomShapeImageView
各種形狀的ImageView, 相比上面的圓形ImageView够滑,多了更多形狀
項(xiàng)目地址:https://github.com/MostafaGazar/CustomShapeImageView
11.Shape Image View
可以自定義各種形狀的ImageView, 并且支持邊框
項(xiàng)目地址:https://github.com/siyamed/android-shape-imageview
效果圖:
12.TextDrawable
一個(gè)用于生成帶有文本或者字母的圖片的輕量級(jí)庫。擴(kuò)展自Drawable吕世,因此可用于現(xiàn)有/自定義/網(wǎng)絡(luò)等ImageView類彰触,并且包含一個(gè)流接口用于創(chuàng)建drawables以及一個(gè)定制的ColorGenerator
項(xiàng)目地址:https://github.com/amulyakhare/TextDrawable
七、ProgressBar
1.SmoothProgressBar
水平進(jìn)度條
項(xiàng)目地址:https://github.com/castorflex/SmoothProgressBar
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample
2.ProgressWheel
支持進(jìn)度顯示的圓形ProgressBar
項(xiàng)目地址:https://github.com/Todd-Davies/ProgressWheel
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=true
3.android-square-progressbar
在圖片周圍顯示進(jìn)度
項(xiàng)目地址:https://github.com/mrwonderman/android-square-progressbar
Demo地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example
APP示例:square
4.HoloCircularProgressBar
Android4.1 時(shí)鐘App樣式
項(xiàng)目地址:https://github.com/passsy/android-HoloCircularProgressBar
效果圖:
APP示例:Android4.1時(shí)鐘App
5.ProgressButton
通過圖釘?shù)牟煌瑺顟B(tài)顯示進(jìn)度
項(xiàng)目地址:https://github.com/f2prateek/progressbutton
效果圖:
文檔介紹:http://f2prateek.com/progressbutton/
6.GoogleProgressBar
類似google 多個(gè)圓形卡片翻轉(zhuǎn)的progressBar
項(xiàng)目地址:https://github.com/jpardogo/GoogleProgressBar
7.TH-ProgressButton
帶圓形進(jìn)度顯示的按鈕
項(xiàng)目地址寞冯;https://github.com/torryharris/TH-ProgressButton
8.NumberProgressBar
帶數(shù)字進(jìn)度的進(jìn)度條
項(xiàng)目地址:https://github.com/daimajia/NumberProgressBar?
9.CircularProgressDrawable
帶圓形進(jìn)度顯示的進(jìn)度條
項(xiàng)目地址:https://github.com/Sefford/CircularProgressDrawable
10.circular-progress-button
帶進(jìn)度顯示的Button
項(xiàng)目地址:https://github.com/dmytrodanylyk/circular-progress-button
11.WaveView
一個(gè)波紋效果的 View渴析,可用來坐 ProgressBar
項(xiàng)目地址:https://github.com/john990/WaveView
Demo地址:https://raw.github.com/john990/WaveView/master/screenshot%26apk/demo.unaligned.apk