Android干活資源收藏(Android程序員必須知道的帖子)

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

Demo地址:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/blob/master/ptr-demo/target/ultra-ptr-demo.apk?raw=true

效果圖:

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

Demo地址:https://play.google.com/store/apps/details?id=de.timroes.android.listviewdemo&rdid=de.timroes.android.listviewdemo

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


?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市吮龄,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌咆疗,老刑警劉巖漓帚,帶你破解...
    沈念sama閱讀 221,820評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異午磁,居然都是意外死亡尝抖,警方通過查閱死者的電腦和手機(jī)毡们,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,648評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來昧辽,“玉大人衙熔,你說我怎么就攤上這事〗淋瘢” “怎么了红氯?”我有些...
    開封第一講書人閱讀 168,324評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長咕痛。 經(jīng)常有香客問我痢甘,道長,這世上最難降的妖魔是什么茉贡? 我笑而不...
    開封第一講書人閱讀 59,714評(píng)論 1 297
  • 正文 為了忘掉前任塞栅,我火速辦了婚禮,結(jié)果婚禮上腔丧,老公的妹妹穿的比我還像新娘放椰。我一直安慰自己,他們只是感情好愉粤,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,724評(píng)論 6 397
  • 文/花漫 我一把揭開白布庄敛。 她就那樣靜靜地躺著,像睡著了一般科汗。 火紅的嫁衣襯著肌膚如雪藻烤。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 52,328評(píng)論 1 310
  • 那天头滔,我揣著相機(jī)與錄音怖亭,去河邊找鬼。 笑死坤检,一個(gè)胖子當(dāng)著我的面吹牛兴猩,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播早歇,決...
    沈念sama閱讀 40,897評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼倾芝,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來了箭跳?” 一聲冷哼從身側(cè)響起晨另,我...
    開封第一講書人閱讀 39,804評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎谱姓,沒想到半個(gè)月后借尿,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,345評(píng)論 1 318
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,431評(píng)論 3 340
  • 正文 我和宋清朗相戀三年路翻,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了狈癞。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,561評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡茂契,死狀恐怖蝶桶,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情掉冶,我是刑警寧澤真竖,帶...
    沈念sama閱讀 36,238評(píng)論 5 350
  • 正文 年R本政府宣布,位于F島的核電站郭蕉,受9級(jí)特大地震影響疼邀,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜召锈,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,928評(píng)論 3 334
  • 文/蒙蒙 一旁振、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧涨岁,春花似錦拐袜、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,417評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至秉撇,卻和暖如春甜攀,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背琐馆。 一陣腳步聲響...
    開封第一講書人閱讀 33,528評(píng)論 1 272
  • 我被黑心中介騙來泰國打工规阀, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人瘦麸。 一個(gè)月前我還...
    沈念sama閱讀 48,983評(píng)論 3 376
  • 正文 我出身青樓谁撼,卻偏偏與公主長得像,于是被迫代替她去往敵國和親滋饲。 傳聞我的和親對(duì)象是個(gè)殘疾皇子厉碟,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,573評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容