How to customize the back button on ActionBar

后端 未结 9 1231
抹茶落季
抹茶落季 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:32

    I did the below code onCreate() and worked with me

    getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_yourindicator);
    

提交回复
热议问题