Change homeAsUpIndicator dynamically
问题 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... This is my styles.xml with my custom icon for the sliding menu: <!-- Application theme. --> <style name="AppTheme" parent="AppBaseTheme"> <item name="android:homeAsUpIndicator">@drawable