3

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?

enter image description here

1 Answer 1

5

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.

1
  • how to set onclicklistner for title and subtitle of action bar
    – rajahsekar
    Commented Feb 27, 2014 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.