content: package com.navdrawer.demo.simple;
  
  import com.navdrawer.SimpleSideDrawer;
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  import android.view.View;
  import android.view.View.OnClickListener;
  
  public class MainActivity extends Activity {
  
      private SimpleSideDrawer mNav;
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          mNav = new SimpleSideDrawer(this);
          mNav.setLeftBehindContentView(R.layout.activity_behind_left_simple);
          findViewById(R.id.leftBtn).setOnClickListener(new OnClickListener() {
              @Override 
              public void onClick(View v) {
                  mNav.toggleLeftDrawer();
              }
          });
          
          
          mNav.setRightBehindContentView(R.layout.activity_behind_right_simple);
          
          findViewById(R.id.rightBtn).setOnClickListener(new OnClickListener() {
              @Override 
              public void onClick(View v) {
                  mNav.toggleRightDrawer();
              }
          });
          
          
      }
  }