1

I am trying to create a custom title layout but I'd still want to use the activity's original label text. Is there a way to reference the window title (label attribute) in my custom title xml? Thanks.

Eric Chen
  • 3,562
  • 7
  • 39
  • 58

1 Answers1

0

You can try to override Activity.onTitleChanged() method. I've never tried this solution but it must work according to the Android source code.

Michael
  • 53,859
  • 22
  • 133
  • 139