您的位置:首页 > 移动开发

还在为开发APP发愁? 这里就有现成通用的代码!

2015-08-11 15:15 441 查看
1、开源控件

1)首页:

1.1)首先是下拉刷新数据的

SwipeRefreshLayout

地址:https://github.com/hanks-zyh/SwipeRefreshLayout

1.2)首页轮播的Tab样式,这个网上也是很多例子

PagerSlidingTab

地址:https://github.com/astuetz/PagerSlidingTabStrip

1.3)首页的悬浮快捷菜单,类似于Google+

FloatingActionsMenu

地址: https://github.com/telly/FloatingAction

1.4)ListView的展示动画

ListViewAnimations

地址:https://github.com/nhaarman/ListViewAnimations

1.5)TextView中的文本自动对齐

JustifyTextView

地址:https://github.com/xsingHu/JustifyTextView

1.6)图片的圆形处理

CircularImageView

地址:https://github.com/lopspower/CircularImageView

1.7)数据加载样式

ProgressWheel

地址:https://github.com/nithinkmichael/Android-ProgressWheel-master

1.8)选择icon的翻转动画

FlipImageView

地址:https://github.com/castorflex/FlipImageView

3)设置页

3.1)菜单点击的水波纹效果,类似于360安全卫士的菜单

RippleEffect

地址:https://github.com/traex/RippleEffect

3.2)自定义的滑动开关,类似于苹果的开关效果

SlideSwitch

地址:https://github.com/Leaking/SlideSwitch

3.3)显示数值的进度条样式,在设置字体大小样式的时候出现

discreteSeekBar

地址:https://github.com/AnderWeb/discreteSeekBar

3.4)带有数值的进度条样式,在升级的的时候会出现

NumberProgressBar

地址:https://github.com/daimajia/NumberProgressBar

3.5)动画样式的对话框

SweetAlertDialog

地址:https://github.com/lzyzsd/SweetAlertDialog

3.6)清除缓存的对话框

SmoothProgressBar

地址:https://github.com/castorflex/SmoothProgressBar

4)本地图片浏览页面

4.1)瀑布流样式

StaggeredGridView

地址:https://github.com/maurycyw/StaggeredGridView

5)图片浏览页面

5.1)放大和缩小图片

PhotoView

地址:https://github.com/chrisbanes/PhotoView

6)用户中心页面

6.1)拉下头部放大效果样式

PullZoomView

地址:https://github.com/Frank-Zhu/PullZoomView
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: