All Projects → Yalantis → Guillotinemenu Android

Yalantis / Guillotinemenu Android

Neat library, that provides a simple way to implement guillotine-styled animation

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Guillotinemenu Android

Layerjs
layerJS: Javascript UI composition framework
Stars: ✭ 1,825 (-33.47%)
Mutual labels:  transition, menu
Officialfoldingtabbar.android
Stars: ✭ 434 (-84.18%)
Mutual labels:  transition, menu
Hamburger React
Animated hamburger menu icons for React (1.5 KB) 🍔
Stars: ✭ 391 (-85.75%)
Mutual labels:  transition, menu
Kwdrawercontroller
Drawer view controller that easy to use!
Stars: ✭ 154 (-94.39%)
Mutual labels:  transition, menu
state-workflow
State Workflow Management Package For Laravel. Inspired by ROAM Horizon State Management Package.
Stars: ✭ 29 (-98.94%)
Mutual labels:  transition
react-transition-box
React component for easily transitioning your container size based on children 🎁
Stars: ✭ 13 (-99.53%)
Mutual labels:  transition
XLShredLoader
A collection of mods for Skater XL that use the Unity Mod Manager (reworked from the XLShredMenu mod)
Stars: ✭ 33 (-98.8%)
Mutual labels:  menu
WaveSideBar
Animated side bar view
Stars: ✭ 38 (-98.61%)
Mutual labels:  menu
Vue Float Menu
🎈Customizable floating menu for Vue
Stars: ✭ 252 (-90.81%)
Mutual labels:  menu
vue-smooth-height
Transition an elements height in response to data changes
Stars: ✭ 40 (-98.54%)
Mutual labels:  transition
ng-ionic-connectedanim
Connected Animation (Shared Element Transition) for Ionic Framework.
Stars: ✭ 12 (-99.56%)
Mutual labels:  transition
react-gizmo
🦎 React Gizmo - UI Finite State Machine for React
Stars: ✭ 39 (-98.58%)
Mutual labels:  transition
SlidingUpMenu
🚀 A very customizable library that allows you to present menu items (from menu resource and/or other sources) to users as a bottom sheet.
Stars: ✭ 26 (-99.05%)
Mutual labels:  menu
unity-ui-manager
🎫 A Simple UI Manager for rapid prototyping and ease of collaboration
Stars: ✭ 44 (-98.4%)
Mutual labels:  transition
Youtube-Pagination-ProgressBar
Youtube app uses a nice ProgressBar for pagiantion.The ProgressBar goes down using transition and then dissapear when the process ends,so I created a Custom ProgresBar as youtube app has.
Stars: ✭ 25 (-99.09%)
Mutual labels:  transition
CoolSlidingMenu
A powerful menu that you can customize it。
Stars: ✭ 25 (-99.09%)
Mutual labels:  menu
d3-canvas-transition
transition on canvas with d3
Stars: ✭ 19 (-99.31%)
Mutual labels:  transition
vue-simple-context-menu
📌 Simple context-menu component built for Vue. Works well with both left and right clicks. Nothing too fancy, just works and is simple to use.
Stars: ✭ 162 (-94.09%)
Mutual labels:  menu
AppleMusicTransition
AppleMusic Transition playBar -> playDetail
Stars: ✭ 21 (-99.23%)
Mutual labels:  transition
MotionLayoutMenuA
Dribble menu design built with Android MotionLayout
Stars: ✭ 36 (-98.69%)
Mutual labels:  menu

Guillotine animation

Neat library, that provides a simple way to implement guillotine-styled animation

Yalantis

Android Arsenal

Android Gems

Check this [project on Dribbble] (https://dribbble.com/shots/2018249-Guillotine-Menu)

Also, read how it was done in [our blog] (https://yalantis.com/blog/how-we-developed-the-guillotine-menu-animation-for-android/?utm_source=github)

Guillotine animation gif

Usage

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

  1. Add JitPack repository in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }
    
    
  2. Add the dependency to your app build.gradle

    dependencies {
        compile 'com.github.Yalantis:GuillotineMenu-Android:1.2'
    }
    
  3. You need to create a layout for the navigation menu (guillotine.xml in sample app), which will later open and close guillotine-style. The only tricky part here is that the navigation layout should be on top of any other content and will disappear after closing animation ends. That is why content layout (activity.xml in sample app) should also have hamburger icon at the same coordinates as navigation menu has.

  4. After that all you need to do is to build animation by passing navigation layout object, navigation and content layout hamburger objects to GuillotineAnimation.GuillotineBuilder in your onCreate method

    new GuillotineAnimation.GuillotineBuilder(guillotineMenu, guillotineMenu.findViewById(R.id.guillotine_hamburger), contentHamburger)
                .setActionBarViewForAnimation(toolbar)
                .build();

Here setActionBarViewForAnimation method enables bounce effect of Toolbar at the end of the guillotine closing animation.

Misc

Builder allows you to customize start delay, duration, interpolation and you can set listener if you want to do staff at the moment when menu has been opened or closed.

Compatibility

  • Android 4.0.3 Ice Cream Sandwich (API level 15)

Changelog

Version: 1.0

  • Initial Build

Version: 1.2

  • Moved to using Toolbar instead of ActionBar
  • Updated Gradle versions
  • Fixed bugs

Let us know!

We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.

P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for Android (iOS) better than better. Stay tuned!

License

Copyright 2017, Yalantis

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].