Subtitle for Action bar


#1

I likes to change the subtitle of the action bar.
There’s any implementation?

Ex:


#2

You can do something like this in ActionBar loaded event,

const nativeView = (<ActionBar>args.object).nativeViewProtected;
nativeView.setSubtitle("Your Subtitle");

#3

Perfect!!!
How to change text color and size?
Thanks!


#4

If you just want to change color you can do something like this,

nativeView.setSubtitleTextColor(new Color("red").android);

But if you want to change text size etc, I think you will have to add a Custom View / do it through Android themes.