0

Is it possible to change Action Bar "Up" icon to button (text + background image, like Back button on iOS), so I'll be able to change caption?

I know that I can use my own icon, but I need to change button caption programmaticaly.

Dmitry Zaytsev
  • 23,650
  • 14
  • 92
  • 146

1 Answers1

4

You should use setDisplayShowHomeEnabled(false) and then getActionBar().setCustomView(v); where View v will be your button and custom title. I think there is only this way.

jumper0k
  • 2,166
  • 2
  • 22
  • 31