当前位置: 首页 > 工具软件 > Guillotine > 使用案例 >

android格子动画,Android切纸机风格的动画:Guillotine animation_html/css_WEB-ITnose

欧阳狐若
2023-12-01

整洁的Android库,它提供一个简单的方法来实现切纸机风格的动画。

Usage

For a working implementation, have a look at the app module

Include the library as local library project.

Your hamburger on navigation menu must have exactly same coordinates as hamburger on ActionBar.

In youronCreatemethod you need to config and build animation with GuillotineAnimation.GuillotineBuilder new GuillotineAnimation.GuillotineBuilder(guillotineMenu, guillotineMenu.findViewById(R.id.guillotine_hamburger), contentHamburger) .setActionBarViewForAnimation(toolbar) .build();

HeresetActionBarViewForAnimationmethod enables bounce effect of ActionBar at the end of the guillotine closing animation.

项目主页:http://www.open-open.com/lib/view/home/1434549096458

声明:本文原创发布php中文网,转载请注明出处,感谢您的尊重!如有疑问,请联系admin@php.cn处理

 类似资料: