title: How to change toolbar in a fragment?
body: <p>I have two fragments, one is for folder and other is for photos in Tab layout. Photos fragment have many photos when I select one item(picture) 
  I want to change the toolbar entirely like</p>
  
  <p>below </p>
  
  <p><a href="https://i.stack.imgur.com/HdHBO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HdHBO.png" alt="enter image description here"></a></p>
  
  <p>how i will do this and have to listen clicks events on toolbar?</p>