title: Cannot find the symbol method activateToolbar()
body: <p>Why can't I use the activateToolbar() method?</p>
  
  <p>I have a class called BaseActivity</p>
  
  <pre><code>public class BaseActivity extends AppCompatActivity {
  private Toolbar mToolbar;
  protected Toolbar activateToolbar() {
      if(mToolbar == null) {
          mToolbar = (Toolbar)
                  findViewById(R.id.app_bar);
          if(mToolbar != null) {
              setSupportActionBar(mToolbar);
          }
      }
      return mToolbar;
  }
  }
  </code></pre>
  
  <p>In MainActivity's onCreate method, I try to call the activateToobar() method</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  private static final String LOG_TAG = "MainActivity";
  private List&lt;Photo&gt; mPhotosList = new ArrayList&lt;Photo&gt;();
  private RecyclerView mRecyclerView;
  private FlickrRecyclerViewAdapter flickrRecyclerViewAdapter;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      activateToolbar();
  </code></pre>
  
  <p>The Android Studio IDE 1.5.1 that I am using shows the activateToolbar() method in red letters; it says 'cannot resolve method activateToobar()' when I hover over it.  When I try to make the project, I get an error saying "cannot find symbol method activateToolbar()."  </p>