https://github.com/romainguy/google-io-2014
这个项目教了很多东西,比如怎么使用主题,使用 Palette,怎么实现 ripple 效果,以及场景动画等等。
我也动手写了遍代码。
https://github.com/Ivolian/googleio2014-test
比较关键的代码:
场景转换:
图片渐亮:
reveal 动画:
主题的常用属性:
如果要支持低版本
https://github.com/ozodrukh/CircularReveal