Skip to content

RahilBadshah/Animated-Drawer

Repository files navigation

Animated-Drawer

Creative Drawer with animation using library.

Android Screenshots

Gif Screenshot 1 Screenshot 2
drawing drawing drawing

Including In Your Project

If you are a Maven user you can easily include the library by specifying it as a dependency:

Maven

<dependency>
  <groupId>com.infideap.drawerbehavior</groupId>
  <artifactId>drawer-behavior</artifactId>
  <version>1.0.3</version>
  <type>pom</type>
</dependency>

Gradle

dependencies {
   implementation 'com.infideap.drawerbehavior:drawer-behavior:1.0.3'
}

if the gradle unable to sync, you may include this line in project level gradle,

repositories {
 maven{
   url "https://dl.bintray.com/infideap2/Drawer-Behavior"
 }
}

Initialize

drawer = (AdvanceDrawerLayout) findViewById(R.id.drawer_layout);

Use custom behavior

drawer.useCustomBehavior(GravityCompat.START); //assign custom behavior for "Left" drawer
drawer.useCustomBehavior(GravityCompat.END); //assign custom behavior for "Right" drawer 

About

Creative Drawer with animation using the library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages