How to customize the back button on ActionBar

后端 未结 9 1259
抹茶落季
抹茶落季 2020-11-22 17:12

I have been able to customize the action bar\'s background, logo image and text color using suggestions from these:
Android: How to change the ActionBar "Home"

9条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-22 17:45

    The "up" affordance indicator is provided by a drawable specified in the homeAsUpIndicator attribute of the theme. To override it with your own custom version it would be something like this:

    
    

    If you are supporting pre-3.0 with your application be sure you put this version of the custom theme in values-v11 or similar.

提交回复
热议问题