Do not wrap text in ActionBar navigation tabs Android 4.x

Viewed 619

I am using ActionBar.Tabs (4.x), and if I have a bit longer text in the caption, it is wrapped to 2 lines, just in the middle of the word.

Like: text = ABCDEF on the tab:

ABCDE

F

This is very ugly. See screenshot

How can I prevent the ActionBar.Tabs to wrap the text, and make the tabs wider instead? Thanks

0 Answers
Related