android随笔10——自定义插入器
2015-12-26 16:13
337 查看
<span style="color: rgb(204, 0, 0); font-family: 'Microsoft Yahei', Simsun; font-size: 17px; line-height: 28px;">插入器就是规定动画执行的中间过程</span>
Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake); shake.setInterpolator(new Interpolator() { @Override *input 输入值 相当于X轴 public float getInterpolation(float input) { // TODO Auto-generated method stub return 0; *0 输出值 相当于Y轴 } });
相关文章推荐
- Android 6.0 Marshmallow运行时权限处理
- android随笔11——震动
- 10个Android开源个性化View控件
- android随笔12——toast响应触摸事件以及移动
- android随笔13——自定义属性
- Android 代码设置来电铃声
- Android Context完全解析,你所不知道的Context的各种细节
- android inflater 用法
- Android开启多进程
- android system.exit(0)后会重启
- Android编程开发实现带进度条和百分比的多线程下载
- 如何在android studio中配置lib
- Android使用SharedPreferences保存数组
- Android 正确修改项目包名而不报错的方法...
- Android中自定义SeekBar的背景颜色,进度条颜色,以及滑块的图片
- Android greenDao 使用教程(一)源码编译与使用
- android:windowSoftInputMode属性详解
- 【风马一族_Android】android的新发现
- 学习笔记1: Activity 生命周期
- Android之获取手机上已安装的所有的应用程序的信息,并判断是否安装了某应用程序(系统程序或非系统应用程序判断)