title: How to put buttons in activity header?
body: <p>I'm trying to design a dialog, which looks similarly to the system one:</p>
  
  <p><img src="https://i.stack.imgur.com/EPaBG.png" alt="enter image description here"></p>
  
  <p>Are these buttons planted on the application title bar? Or are they simply placed in the UI?</p>