title: Android Toolbar with activities and fragments
body: <p>So I have a grocery project to work on, and it is required that I have to have a toolbar all. Just a toolbar that includes the <code>name</code> of the current Activity/Fragment, and a <code>back button</code>.</p>
  
  <p>I searched on Stackoverflow, and all the answers were either 'use ViewPager' or 'use Tabs'. There was an answer here that was very close, but it was <code>toolbar in multiple activities</code>.
  (<a href="https://stackoverflow.com/questions/35942653/android-reusable-toolbar-for-navigation-where-to-put-code">Android, reusable toolbar for navigation - where to put code?</a>)</p>
  
  <p>So, I have to have the main Activity that contains a static fragment, and different category buttons (for the products) that lead to different fragments that contain the product. </p>
  
  <p><strong>My question is</strong>: If I put the Toolbar code in the Main Activity, will it automatically appear in the fragments I call from it, and the fragments from those fragments? </p>
  
  <p>Thank you!</p>