2.0 感谢 @若奇 的修改,不过基本上我又在他的基础上重写了动画那一部分
change:
1.优化动画效果
2.更改动画系统(使用了NineOldAndroids的动画框架)
3.重写了类结构,增加动画方向选择(@若奇)
其中使用了NineOldAndroids 框架,thanks
仿Path按钮动画效果 a button animation layout like Path
2.0 感谢 @若奇 的修改,不过基本上我又在他的基础上重写了动画那一部分
change:
1.优化动画效果
2.更改动画系统(使用了NineOldAndroids的动画框架)
3.重写了类结构,增加动画方向选择(@若奇)
其中使用了NineOldAndroids 框架,thanks
由于动画效果的限制,会导致Android3.0以下版本不能接受到单击事件,需要在动画结束的时候重新设置LayoutParams才行
虽然那些按钮弹出去了,但是实际位置还是在旋转按钮的下面,把旋转按钮改小点,不能覆盖底下的按钮的时候,就发现底下按钮的onCLick事件会有响应。推测nineoldandroids框架只是仿制出了3.0之后的属性动画效果,但是本质还是跟2.x的补间动画一样。属性动画的view在播放完动画后,view停在哪就是哪,补间动画的view虽然看上去在那,但是实际的位置还是在原来起始的地方。属性动画是要View.java这个类本身的支持,2.x的View.java不支持,也就达不到属性动画的效果。
东西都少了,还好意思扔上来,可耻
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.