title: Change homeAsUpIndicator dynamically
body: <p>I build an app with four tabs and, as a consequence, four fragments. In the first fragment, I have a sliding menu and I throw with a custom icon in the actionbar. The problem is that in the others fragments, I want to stablish other custom icon to return to the first fragment but I don't know what to do...</p>
  
  <p>This is my styles.xml with my custom icon for the sliding menu:</p>
  
  <pre><code>&lt;!-- Application theme. --&gt;
      &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
          &lt;item name="android:homeAsUpIndicator"&gt;@drawable/menu32&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>The java code works well but I don't know how to change the icon dynamically.</p>
  
  <p>This is what I have: </p>
  
  <p><img src="https://i.stack.imgur.com/wDu0j.png" width="420" /></p>