title: Actionbar and ListActivity in one Activity
body: <p>I have a program which shows lists of files in directories on the SDCARD and when the user clicks on a file it opens the PDF up.  For instance one activity will display the contents of one folder.</p>
  
  <p>I have been wanting to add the ActionBar for navigation and can get the ActionBar to work in its own activity and my ListActivity to work in its own activity, however I cannot get them to work together.</p>
  
  <p>I am not sure how to combine the two so that I end up with one activity that displays the action bar and the file list in the one Activity?</p>
  
  <p>The Actionbar Activity starts with</p>
  
  <pre><code>public class SecondActivity extends FragmentActivity implements ActionBar.OnNavigationListener {
  </code></pre>
  
  <p>The Activity that displays the clickable list starts with</p>
  
  <pre><code>public class MainActivity extends ListActivity {
  </code></pre>
  
  <p>My android app programming is quite basic and self taught so I am probably missing something obvious.  Thanks in advance</p>