title: How to change home as up resource programmatically?
body: <p>I know how to <a href="https://stackoverflow.com/a/9265774/435605">change the homeAsUpIndicator in the styles xml file</a>. <strong>The question is how to change it programmatically</strong>.</p>
  
  <p>The reason I want to do it because in some views I support <strong>side navigation</strong> (sliding menu) - pressing the up/back title button, shows the side menu.</p>
  
  <p>In other views I support the <strong>natural up/back</strong> botton.</p>
  
  <p>Thus I would like to different indicator icons to indicate the two different logics - side navigation vs. up/back.</p>
  
  <p>Please, lets not argue on the motivation of doing this. That's the given state. Thanks.</p>