title: Using navigation drawer in more than one activity
body: <p>I'm still learning to program on Android and this is my first time creating a navigation drawer.
  I know that there are other ways of creating the navigation drawer but this was, in my opinion, the easiest way for me to understand but now I don't know how can extend this in all of my activities. </p>
  
  <p>This is the code:</p>
  
  <p>Dashboard.java</p>
  
  <pre><code>    package com.example.alexandre.blueprint_apocalypse;
  
  import android.content.Intent;
  import android.support.v4.widget.DrawerLayout;
  import android.support.v7.app.ActionBarDrawerToggle;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.ImageButton;
  
  public class Dashboard extends AppCompatActivity {
  
  //Menu variables
  private DrawerLayout mDrawerLayout;
  private ActionBarDrawerToggle mToggle;
  
  //Buttons
  public ImageButton profile_button;
  
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_dashboard);
      setTitle(R.string.dashboardLabel);
  
      //Create Menu
      mDrawerLayout = (DrawerLayout) findViewById(R.id.activity_dashboard);
      mToggle = new ActionBarDrawerToggle(this, mDrawerLayout, R.string.open, R.string.close);
  
      mDrawerLayout.addDrawerListener(mToggle);
      mToggle.syncState();
  
      getSupportActionBar().setDisplayHomeAsUpEnabled(true); //Activate hamburguer button
  
      //Change Activity using buttons
      changeActivity();
  }
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item)
  {
  
      if(mToggle.onOptionsItemSelected(item))
      {
          return true;
      }
  
      return super.onOptionsItemSelected(item);
  }
  </code></pre>
  
  <p>activity_dashboard.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:weightSum="1"&gt;
  
      &lt;ImageButton
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@mipmap/dashboard_profile_icon"
          android:id="@+id/dashoard_profile_button"
          android:layout_marginTop="77dp"
          style="?android:attr/borderlessButtonStyle"
          android:background="@null"
          android:scaleType="fitXY"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_marginLeft="47dp"
          android:layout_marginStart="47dp"
          android:contentDescription="" /&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;android.support.design.widget.NavigationView
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      app:menu="@menu/navigation_menu"
      android:layout_gravity = "start"&gt;
  &lt;/android.support.design.widget.NavigationView&gt;
  </code></pre>
  
  <p></p>
  
  <p>navigation_menu.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;item android:id="@+id/menu_option_dashboard"
      android:title="Dashboard"&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@+id/menu_option_profile"
      android:title="Profile"&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@+id/menu_option_defenseHistory"
      android:title="Defense History"&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@+id/menu_option_encyclopedia"
      android:title="Encyclopedia"&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@+id/menu_option_worldScore"
      android:title="World Score"&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>How can I extend this to all of my activities?</p>