title: Add three dots in toolbar
body: <p>I used <a href="https://gist.github.com/anandbose/7d6efb35c900eaba3b26" rel="nofollow noreferrer">this way</a> to make a navigation drawer and show it in my activities. Then I added a <code>Toolbar</code> to my base layout. After these steps I tried <a href="https://stackoverflow.com/a/39546255/6155559">this way</a> to show three dots on my activities. (I made all changes in my base layout and its class).</p>
  
  <p>Then I saw no changes in my activities. I think I should use another way to add three dots in base activity. How should I do it?</p>
  
  <p><strong>app_base_layout.xml</strong></p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:local="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      android:layoutDirection="rtl"
      tools:openDrawer="right"&gt;
  
      &lt;FrameLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="@color/colorPrimary"
              android:minHeight="?attr/actionBarSize"
              local:popupTheme="@style/ThemeOverlay.AppCompat.Light"
              local:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
              &lt;TextView
                  android:id="@+id/toolbar_title"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center"
                  android:textColor="@android:color/white"
                  android:textSize="20sp"/&gt;
  
          &lt;/android.support.v7.widget.Toolbar&gt;
  
          &lt;FrameLayout
              android:id="@+id/view_stub"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_marginTop="?attr/actionBarSize"/&gt;
  
      &lt;/FrameLayout&gt;
  
      &lt;android.support.design.widget.NavigationView
          android:id="@+id/navigation_view"
          android:layout_width="@dimen/nav_header_width"
          android:layout_height="match_parent"
          android:layout_gravity="right"
          app:headerLayout="@layout/drawer_header"
          app:menu="@menu/drawer"/&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p><strong>AppBaseActivity.java</strong> is mostly like <a href="https://gist.github.com/anandbose/7d6efb35c900eaba3b26" rel="nofollow noreferrer">this</a> (With small changes).</p>