Android paper cutter style animation: Guillotine animation_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:42:42
Original
1382 people have browsed it

A neat Android library that provides a simple way to implement paper cutter style animations.

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 the 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();
    Copy after login

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

    Project homepage: http://www.open-open.com/lib/ view/home/1434549096458

    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!