title: Actionbar Sherlock: Setting and hiding title bar
body: <p>I'm new to ActionBarSherlock, and am having two problems:</p>
  
  <p>First, I just want to be able to set the title of the action bar, but it doesn't work when I call it like this:</p>
  
  <pre><code>final ActionBar actionBar = (ActionBar) findViewById(R.id.actionBar);
  actionBar.setTitle("test title");
  </code></pre>
  
  <p>Where the corresponding xml object looks like this:</p>
  
  <pre><code>&lt;com.myapp.prototype.ActionBar
      android:id="@+id/actionBar2"
      android:layout_width="fill_parent"
      android:layout_height="45dip" 
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true" /&gt;
  </code></pre>
  
  <p>(This is modeled after the github example: <a href="https://github.com/johannilsson/android-actionbar/blob/master/actionbarexample/src/com/markupartist/android/actionbar/example/HomeActivity.java">https://github.com/johannilsson/android-actionbar/blob/master/actionbarexample/src/com/markupartist/android/actionbar/example/HomeActivity.java</a>).  In other places on the web, I see reference to getSupportActionBar(), but I'm not clear how or where to call this.</p>
  
  <p>Second, in another place I just want to be able to hide the Activity's title bar altogether.  I'm trying to do this by calling:</p>
  
  <pre><code>    actionBar.setDisplayShowTitleEnabled(false);
      actionBar.setDisplayShowHomeEnabled(false);
  </code></pre>
  
  <p>but I can't even get this to compile.  The error I'm getting is:</p>
  
  <pre><code>"The method setDisplayShowTitleEnabled(boolean) is undefined for the type
   ActionBar."
  </code></pre>
  
  <p>In both cases, I guess the Actionbar Sherlock overrides are involved in the problem.  Any suggestions how to make this work?</p>
  
  <p>Thanks very much.</p>