Reputation: 54821
Google release the new gmail app for Android, and I noticed they display both "Inbox" and the user's email in the same spot.
Is this a standard ActionBar feature that I can duplicate in my app?
How can I create a double line text with different fonts in the ActionBar, or can I create a custom Widget and use it in the ActionBar?
Upvotes: 3
Views: 1107
Reputation: 3878
The default ActionBar has a title and sub-title: http://developer.android.com/reference/android/app/ActionBar.html#setSubtitle(int)
Please note that DISPLAY_SHOW_TITLE
needs to be set.
Upvotes: 5