类似Google Play 平滑动画效果
来源:互联网 发布:中南大学网络考试答案 编辑:程序博客网 时间:2024/05/23 19:14
http://www.eoeandroid.com/thread-540189-1-1.html
人类的潜力真实无限的啊~~
这个代码是基于
http://www.eoeandroid.com/thread-540171-1-1.html
开发的。如果想要相同效果,请先搭建好动画环境。
Animation rightanimone = AnimationUtils.loadAnimation(this, R.drawable.push_right_in); Animation leftanimone = AnimationUtils.loadAnimation(this, R.drawable.push_left_in); findViewById(R.id.top).startAnimation(rightanimone); findViewById(R.id.centen).startAnimation(rightanimone); findViewById(R.id.head).startAnimation(leftanimone); findViewById(R.id.head_image).setVisibility(View.INVISIBLE); findViewById(R.id.head).getAnimation().setAnimationListener(new AnimationListener() { @Override public void onAnimationStart(Animation animation) { } @Override public void onAnimationRepeat(Animation animation) { } @Override public void onAnimationEnd(Animation animation) { // TODO Auto-generated method stub findViewById(R.id.head_image).setVisibility(View.VISIBLE); YoYo.with(Techniques.DropOut) .duration(1200) .playOn(findViewById(R.id.head_image)); } }); }
http://www.eoeandroid.com/thread-536528-1-1.html
0 0
- 类似Google Play 平滑动画效果
- android平滑动画效果
- android 类似google Play Tab
- SearchView结合Toolbar 筛选RecyclerView中的内容,类似知乎、google play实现的效果
- SearchView结合Toolbar 筛选RecyclerView中的内容,类似知乎、google play实现的效果
- android平滑过渡的动画效果
- android google 自带的下拉刷新 类似nice的加载数据动画效果
- 简单实现Google play 横向RecyclerListView效果
- 使用luncher实现类似iphone平滑滑动效果
- play plugin插件 实现类似Servlet中的拦截器效果
- 类似google 首页的 png动画
- 类似Google Calendar效果的简单实现
- 页面弹出动画,类似抽屉效果
- 类似QQ点赞的动画效果
- Android自定义类似ProgressDialog效果加载动画
- 类似弹簧跳动的动画效果
- 实现类似格瓦拉的动画转场效果
- 类似直播飘星动画效果
- django可重用app目录
- javascript中Array.sort()方法
- iOS屏幕旋转学习笔记
- 微信公众号开发
- myeclipse安装svn的多种方式
- 类似Google Play 平滑动画效果
- 在Python中如何将mongodb库中的fs.file中的内容迁移到另一mongodb中去问题
- 参考资料
- Android系统手机端抓包方法
- 海水淡化膜:世韩4040海水淡化膜清洗指标
- ZOJ1629
- 用windows批处理写的ftp自动上传脚本
- MySQL:Duplicate entry '1-2' for key 'PRIMARY' 错误
- Shell脚本常用符号