title: Android Drawer open in Tablets but main content is disabled
body: <p>I want to open drawer in tablets land mode.But i do that using this code </p>
  
  <pre><code>RelativeLayout frameLayout = (RelativeLayout)findViewById(R.id.drawer_main_content);
      if(((ViewGroup.MarginLayoutParams)frameLayout.getLayoutParams()).leftMargin == (int)getResources().getDimension(R.dimen.drawer_size)) {
          Drawer.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_OPEN, mRecyclerView);
  
          Drawer.setScrimColor(Color.TRANSPARENT);
  
          isDrawerLocked = true;
      }else {
          mDrawerToggle.syncState();
      }
  </code></pre>
  
  <p>But my main content is disable.I used below code it only view the main content clearly but i cant click buttons in main content.</p>
  
  <pre><code>Drawer.setScrimColor(Color.TRANSPARENT);
  </code></pre>
  
  <p>This is my full java code and xml</p>
  
  <pre><code>    &lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/DrawerLayout_in_applications"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:elevation="7dp"
      &gt;
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/drawer_RecyclerView_in_applications"
          android:layout_width="@dimen/drawer_size"
          android:layout_height="match_parent"
          android:layout_gravity="left"
          android:choiceMode="singleChoice"
          android:background="#ffffff"
          android:scrollbars="vertical"&gt;
      &lt;/android.support.v7.widget.RecyclerView&gt;
      &lt;RelativeLayout
          android:id="@+id/drawer_main_content"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_marginLeft="@dimen/drawer_content_padding"
          android:background="@drawable/backgrounddock"
  
          &gt;
          &lt;include
              android:id="@+id/tool_bar"
              layout="@layout/tool_bar"
              android:layout_height="wrap_content"
              android:layout_width="match_parent"
              /&gt;
  
  &lt;Button android:layout_width="match_parent"
          android:layout_height="match_parent"
  
   /&gt;
  &lt;/RelativeLayout&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>Java Code</p>
  
  <pre><code>    @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          if(null != savedInstanceState){
          }
          setContentView(R.layout.activity_grid_docker);
          toolbar = (Toolbar) findViewById(R.id.tool_bar); // Attaching the layout to the toolbar object
          setSupportActionBar(toolbar);
          if(Build.VERSION.SDK_INT &gt; 19) {
              toolbar.setPadding(0, getStatusBarHeight(), 0, 0);
          }
  
          getSupportActionBar().setTitle(AppController.getInstance().getUname());
          dat=new ArrayList&lt;DrawerListItem&gt;();
          DrawerListItem item=new DrawerListItem();
          item.setName("Home");
          item.setId("home");
          item.setImg(R.drawable.ic_home_black_48dp);
          dat.add(item);
          DrawerListItem item1=new DrawerListItem();
          item1.setName("Setting");
          item1.setId("set");
          item1.setImg(R.drawable.ic_settings_black_48dp);
          dat.add(item1);
          DrawerListItem item2=new DrawerListItem();
          item2.setName("SignOut");
          item2.setId("signout");
          item2.setImg(R.drawable.ic_power_settings_new_black_48dp);
          dat.add(item2);
  //        toolbar.setNavigationIcon(R.drawable.ic_check_white_18dp);
  
          //start drawer
          mRecyclerView = (RecyclerView) findViewById(R.id.drawer_RecyclerView_in_applications); // Assigning the RecyclerView Object to the xml View
          mRecyclerView.setHasFixedSize(true);                            // Letting the system know that the list objects are of fixed size
          mAdapter = new DrawerAdapter(dat,NAME,EMAIL,PROFILE,this,this,mRecyclerView);       // Creating the Adapter of MyAdapter class(which we are going to see in a bit)
          // And passing the titles,icons,header view name, header view email,
          // and header view profile picture
          mRecyclerView.setAdapter(mAdapter);                              // Setting the adapter to RecyclerView
          mLayoutManager = new LinearLayoutManager(this);                 // Creating a layout Manager
          mRecyclerView.setLayoutManager(mLayoutManager);                 // Setting the layout Manager
          Drawer = (DrawerLayout) findViewById(R.id.DrawerLayout_in_applications);
  
          mDrawerToggle = new ActionBarDrawerToggle(this,Drawer,toolbar,R.string.openDrawer,R.string.closeDrawer){
              @Override
              public void onDrawerOpened(View drawerView) {
                  super.onDrawerOpened(drawerView);
  
  
              }
              @Override
              public void onDrawerClosed(View drawerView) {
                  super.onDrawerClosed(drawerView);
              }
          };
          Drawer.setDrawerListener(mDrawerToggle); // Drawer Listener set to the Drawer toggle
  
          RelativeLayout frameLayout = (RelativeLayout)findViewById(R.id.drawer_main_content);
          if(((ViewGroup.MarginLayoutParams)frameLayout.getLayoutParams()).leftMargin == (int)getResources().getDimension(R.dimen.drawer_size)) {
              Drawer.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_OPEN, mRecyclerView);
  
   Drawer.setScrimColor(Color.TRANSPARENT);
              isDrawerLocked = true;
          }else {
              mDrawerToggle.syncState();
          }
  //
  
  
  
      }
  </code></pre>