您好,欢迎来到测品娱乐。
搜索
您的当前位置:首页Android切纸机风格的动画:Guillotineanimation_html/css

Android切纸机风格的动画:Guillotineanimation_html/css

来源:测品娱乐


整洁的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/14345490958

    Copyright © 2019- cepb.cn 版权所有 湘ICP备2022005869号-7

    违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

    本站由北京市万商天勤律师事务所王兴未律师提供法律服务