Skip to content

Simple tool which helps you to inject DrawerLayout into existing Activity layout tree

Notifications You must be signed in to change notification settings

JigyasaCodes/DrawerLayoutInstaller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

DrawerLayoutInstaller

Simple tool which helps you to inject DrawerLayout into existing Activity layout tree

Usage

Use this inside Activity class, after setContentView() call.

DrawerLayoutInstaller.from(this)
        .drawerRoot(R.layout.drawer_root)
        .drawerLeftView(menuView)
        .drawerLeftWidth(Utils.dpToPx(300))
        .withNavigationIconToggler(getToolbar())
        .drawerListener(new DrawerLayout.SimpleDrawerListener() {
        })
        .build();

About

Simple tool which helps you to inject DrawerLayout into existing Activity layout tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%