During the development in the past few days, I wanted to make some beautiful and cool special effects, so I began to collect various special effects resources from the Internet. Here are some of the ones I like, attach the code, look at the source code if you like, and then add them to your own project! !
An open source project website has many cool effects http://itlanbao.com/codes.aspx#1,0
All effects Dome download address : https://github.com/20994842/A-collection-of-Android-development-very-dazzling-effect
1. Very simple but cool particle crushing effect
Introduction:
Implementation Ideas
1. Create a new Bean Particle
to represent a particle object; create a View ExplosionField
as a canvas to display broken particles; create a ValueAnimator ExplosionAnimator
to change the particle state at different times;
2. By View
generating pictures Bitmap
, decompose the generated pictures into several particles, let each particle record a specific position, and all particle combinations can be seen as the original image.
3. Add animation effects, so that View
after clicking, the particles can change.
4. Conceive the algorithm to form different effects.
2. AVLoadingIndicatorView various loading effects
Introduction:
AVLoadingIndicatorView has various loading effects, suitable for loading animation effects.
The code package inside is quite good, and you can directly copy and use the desired loading effect.
3.PercentageBar custom dynamic column chart
Introduction:
Implementation: Implemented by customizing PercentageBar, it is very cool
4.MaterialPowerMenu Click the button to switch the page loading rendering effect
All kinds of beautiful pop-up boxes, scare you to death
5.Android loading box effect
Android loading box effect, this example has several effects pop-up dialog, this example mainly customizes the SVProgressHUD class,
the source of this example: https://github.com/saiwu-bigkoo/Android-SVProgressHUD
6. The mainstream side-slip framework in the android market
The mainstream side-slip framework in the android market, this architecture mainly realizes the bottom view and the tabhost effect on the home page, and each fragment supports the use of multiple viewpagers. pages, improving performance. This is a good architecture, and android friends are welcome to learn together.
This project mainly implements TabFragment at the bottom, DragLayout and CustomViewPager on the left side, and provides a way to close all acitiviy to exit the application.
7. Various android pop-up dialog effects and various dialog styles
All kinds of android pop-up dialog effects and various dialog styles, the project contains more than ten dialog styles and styles, as well as pop-up and exit effects. This article only puts a Gif picture to mean it!
8. WilliamChart realizes various chart effects
WilliamChart achieves a complete collection of various chart effects, including horizontal line tables, columnar tables, etc.
9. Several commonly used Android Progress effects
几种常用Android Progress效果,本例子自定义ProgressWheel,CustomClipLoading,PieProgress三个特效的进度条,
通过本例子可以学习如何自定义控件,效果挺不错,适合各种网络加载使用。
每一个控件大概实现原理:
CustomClipLoading 继承FrameLayout,通过布局引入view然后添加到addView(view);
ProgressWheel 和 PieProgress 都是 继承 View通过 onDraw()在画布Canvas不断画出效果,可以通过本例子学习如何使用OnDraw()方法。
10.高仿QQ空间 侧滑Menu效果且换肤功能
高仿QQ空间 侧滑Menu效果并且提供换肤功能,本项目大体结构是
首先有一个换肤基类BaseSkinActivity,然后其他activity都继承这个基类,
类中提供com.zhy.changeskin.SkinManager.getInstance().changeSkin()更改皮肤 .
11.HeartLayout 类似吹泡泡效果
介绍:
HeartLayout 类似吹泡泡效果,自定义HeartLayout 添加addHeart(),
12.DragExpandGrid可展开,可拖动,可排序,可删除,固定更多的GridView
介绍:
DragExpandGrid可展开,可拖动,可排序,可删除,固定更多的GridView,展开合并支持动画,支持箭头图标移动。
数据的处理和显示使用Bean,来自于500彩票Andorid客户端首页功能。
13.ShareAnim带动画的分享效果
介绍:
ShareAnim带动画的分享效果,本例子只展示弹出页面的效果
和点击取消的时候对话框消失的效果。但是没有添加分享功能和扫码功能的代码,
14.PathEffectTextView写字效果
介绍:
PathEffectTextView一个写字的效果,自定义PathTextView,其中通过
ObjectAnimator.ofFloat(this, “phase”, 0.0f, 1.0f).setDuration(3000); mSvgAnimator.start();
设置动画,通过SparseArray 来实现,这个例子是5.0以及以上的。
15.TimelyAnimation 超酷计时器
介绍:
Euclid ListView滑动和点击进去其他页面特效,通过SwingLeftInAnimationAdapter
实现每一个item点击和滑动进入详细页面的动画效果,提供getViewAnimator()方法。
16.AmapDemo仿照一号专车的地图界面
介绍:
AmapDemo仿照一号专车的地图界面,地图加载定位进入后的放大效果和地图移动效果非常棒,
本项目指导我们如何使用地图功能,如何自定义系统定位蓝点,本项目主要引导我们如何嵌入
第三方sdk实现地图定位效果。
17.vectalign-samples变形动画
介绍:
我们知道4.4以后AnimatedVectorDrawable可以让两个SVG图像无缝过渡(称为变形动画),
但是这两个svg图像的path必须参数个数要相等,同时这些参数的类型要匹配(也就是说格式要对齐),
如果不对齐会产生异常。简单的path可以手动修改对齐,但是复杂点的就比较难了。
这个工具就是通过命令行的方式将任意两个svg资源转换成对齐的模式,而不会改变原始图像的外观。
18.ArrowDownloadButton下载按钮从点击到下载完成特效
介绍:
ArrowDownloadButton下载按钮从点击开始下载到下载完成各个阶段有不一样的特效展示,
自定义一个ArrowDownloadButton然后监听点击事件setOnClickListener()在onClick()
里面 button.startAnimating();然后再按钮里面启动一个定时器Timer 定时更新按钮进度
button.setProgress(progress);
19.AnimLikeSougou仿搜狗输入法
介绍:
说明:Android Animtaion 仿搜狗输入法的精品市场 一键安装dialog弹出效果
,具体可以看这篇blog:
来源:https://github.com/teffy/AnimLikeSougou
20.android-ripple-background
能产生波浪效果的背景图片控件,可以自定义颜色,波浪扩展的速度,波浪的圈数。
https://github.com/skyfishjy/android-ripple-background
21.A-Z字母排序和过滤搜索功能
介绍:
Android 实现ListView的A-Z字母排序和过滤搜索功能,实现汉字转成拼音 。
https://github.com/leerduo/SortListView
22.下拉刷新的自定义布局
介绍:
一个实现了下拉刷新的自定义布局,动画效果不错。
https://github.com/tuesda/CircleRefreshLayout
23.水滴效果的下拉刷新,效果非常不错。
介绍:
水滴效果的下拉刷新,效果非常不错。
https://github.com/recruit-lifestyle/WaveSwipeRefreshLayout
24.在安卓系统中引入了模拟纹波效应
介绍:
在安卓系统中引入了模拟纹波效应
https://github.com/siriscac/RippleView
25.实现guillotine-styled 动画效果
介绍:
提供了一种实现guillotine-styled 动画效果的简单方法,效果很赞的,Yalantis公司越来越厉害了。
https://github.com/Yalantis/GuillotineMenu-Android
26.动画效果非常生动的菜单
介绍:
https://github.com/linroid/FilterMenu
动画效果非常生动的菜单,是根据dribbble上的概念设计而来:
27.自定义ViewGroup实现的圆形旋转菜单,支持跟随手指旋转以及快速旋转。
介绍:
自定义ViewGroup实现的圆形旋转菜单,支持跟随手指旋转以及快速旋转。
https://github.com/hongyangAndroid/Android-CircleMenu
28.Side-Menu.Android
介绍:
https://github.com/Yalantis/Side-Menu.Android
29.类似星球大战字幕效果的TextView
介绍:
类似星球大战字幕效果的TextView
30.两个不同的数字之间无缝切换效果
介绍:
两个不同的数字之间无缝切换效果,可以用在时间显示之类的应用中
https://github.com/adnan-SM/TimelyTextView
31.一个简单的带动画效果的饼状图。
介绍:
一个简单的带动画效果的饼状图。
https://github.com/Geek-1001/MagnificentChart
32.帅气Toast
介绍:
介绍:默认的toast很丑,而且也没有真正提供显示短暂消息的功能。这个库能为toast显示动画反馈,显示到选择按钮或者删除按钮的过度动画。而且toast 的生命周期是完全取决于你的。
项目地址: https://github.com/code-mc/loadtoast
33.高仿新版58 加载动画
介绍:
https://github.com/zzz40500/android-shapeLoadingView
高仿新版58 加载动画
34.Material Calendar View
Intro:
Intro: A Material-style calendar view where the calendar month view is implemented using a GridLayout
Source: https://github.com/prolificinteractive/material-calendarview
35. Awesome Button with Progress Motion Effect
Introduction:
Button with dynamic progress, I personally like it.
36.FrescoDemo
Introduction:
A demo project that uses Fresco to load images based on the Android Design library.
When it's over, I will find good looking ones and continue to update them. The above are all my favorites. Friends who like them will like them. Yes, there is also a good website ( http://itlanbao.com ) to tell you, there are many special effects on it. First of all, to download the source code, click this link: http://pan.baidu.com/s/1i3TxvVn Password: rkb8
Author: A Little Conquer
Source: http://www.cnblogs.com/ldq2016/