Android开源项目分类汇总(三) ViewPager 、Gallery、GridView、ImageView、ProgressBar
2016-03-31 15:36
489 查看
四、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,动画包括转盘、淡入淡出、翻页、层叠、旋转、方块、翻转、放大缩小等
项目地址:https://github.com/jfeinstein10/JazzyViewPager
Demo地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
效果类似桌面左右切换的各种效果,不过桌面并非用ViewPager实现而已
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
五、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
六、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
效果图:
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
七、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
效果图:
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
效果图:
相关文章推荐
- android dialog屏蔽back返回键的解决方法
- Android Studio 快捷设置
- Android开源项目分类汇总(二) ActionBar;Menu
- Android获取本周本月本年的第一天和最后一天
- Android应用:StatusBar状态栏、NavigationBar虚拟按键栏、ActionBar标题栏、Window屏幕内容区域等的宽高
- Android开源项目分类汇总(一) ListView
- Android Multi_User 添加新用户源码分析
- Android中的坐标以及获取坐标的方法
- android图片压缩
- Android 小知识
- Android如何调用第三方SO库
- 使用android.hardware.camera2打造新的自定义相机
- android:interpolator
- Android ViewPager特效之水滴效果的滑动切换页面
- 代码重构-Android解嵌套。避免多层回调嵌套。
- Android 系统开机logo的修改
- Android--BroadcastReceiver应用详解
- Android中解决scrollview中嵌套listview的listview只显示一行的问题
- AndroidStudio代码前面有红色的感叹号出现原因
- android跨进程通信(IPC)——AIDL