第一部分 個性化控件(View)主要介紹那些不錯個性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、FlipView、ColorPickView、GraphView、UI Style等等。
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等大牛
一、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
效果圖: -
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
效果圖:
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
效果圖: -
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
效果圖: -
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
-
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
-
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
效果圖: -
CircularFloatingActionMenu
一個可定製的圓形的浮動菜單控件,類似於Path的圓形菜單。這個控件的可定製性更強,可以很容易的定製菜單出現消失時的動畫,起始角度和半徑。
項目地址:https://github.com/oguzbilgener/CircularFloatingActionMenu
Demo地址:https://github.com/oguzbilgener/CircularFloatingActionMenu/tree/master/samples
效果圖: -
NavigationDrawerSI
Navigation Drawer的一個簡單實現,滑動並以摺疊方式打開菜單
項目地址: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 -
DragLayout
使用support.v4包下的ViewDragHelper實現QQ5.0側滑
項目地址:https://github.com/BlueMor/DragLayout
效果圖: -
LDrawer
Material Design 形式的展開摺疊Icon
項目地址:https://github.com/ikimuhendis/LDrawer
效果圖: -
Floating Action Button
懸浮的圓形菜單欄,支持組建滾動時自動隱藏及其他設置
項目地址:https://github.com/shamanland/floating-action-button
效果圖:
-
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
效果圖: -
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
-
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
效果圖: -
GridView with Header and Footer
和ListView一樣帶頭部和底部的GridView,用法和ListView一樣
項目地址:https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter
效果圖:
-
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
效果圖: -
TextDrawable
一個用於生成帶有文本或者字母的圖片的輕量級庫。擴展自Drawable,因此可用於現有/自定義/網絡等ImageView類,並且包含一個流接口用於創建drawables以及一個定製的ColorGenerator
項目地址:https://github.com/amulyakhare/TextDrawable
效果圖:
-
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
效果圖: -
TH-ProgressButton
帶圓形進度顯示的按鈕
項目地址;https://github.com/torryharris/TH-ProgressButton
效果圖: -
NumberProgressBar
帶數字進度的進度條
項目地址:https://github.com/daimajia/NumberProgressBar
效果圖: -
CircularProgressDrawable
帶圓形進度顯示的進度條
項目地址:https://github.com/Sefford/CircularProgressDrawable
效果圖: -
circular-progress-button
帶進度顯示的Button
項目地址:https://github.com/dmytrodanylyk/circular-progress-button
效果圖: -
WaveView
一個波紋效果的 View,可用來坐 ProgressBar
項目地址:https://github.com/john990/WaveView
Demo地址:https://raw.github.com/john990/WaveView/master/screenshot%26apk/demo.unaligned.apk
效果圖:
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
效果圖: -
android-iconify
提供帶Icon的TextView,Menu,Button等
項目地址:https://github.com/JoanZapata/android-iconify -
Calligraphy
讓我們在android開發中使用自定義字體變得更加簡單
項目地址 :https://github.com/chrisjenx/Calligraphy
效果圖: -
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/
效果圖: -
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
效果圖: -
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
效果圖: -
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
效果圖:
-
ExpandableTextView
可展開和收縮內容的TextView。
項目地址:https://github.com/Manabu-GT/ExpandableTextView
效果圖:
-
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
-
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
效果圖:
-
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
效果圖: -
UndoBar
屏幕底部顯示取消或是確認某操作
項目地址:https://github.com/jenzz/Android-UndoBar
效果圖: -
Android-ActionItemBadge
可以在ActionBar的MenuItem上顯示一個小角標
項目地址:https://github.com/mikepenz/Android-ActionItemBadge
效果圖: -
SnackBar
Material Design 風格的 Toast,類似 Google inbox 中的提示
項目地址:https://github.com/MrEngineer13/SnackBar
Demo地址:https://play.google.com/store/apps/details?id=com.mrengineer13.snackbar.sample
效果圖:
-
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
-
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
效果圖: -
ColorPicker
顏色選擇器(Google Agenda中的樣式風格)
項目地址:https://github.com/flavienlaurent/colorpicker
Demo地址:https://raw.github.com/biboune/colorpicker/master/colorpicker-sample.apk
效果圖:
-
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來繪製各種圖表,在設計時,儘量在保證開發效率的同時,給使用者提供足夠多的定製化能力。因此使用簡便,同時具有相當靈活的定製能力。