1

Prevent Android ActionBar from scrolling

view story
linux-howto

http://stackoverflow.com – I have 5 tabs in my ActionBar and I've styled them to remove padding and reduce the text size on the tabs, but no matter I do, the tab bar will scroll just a few pixels in either direction. My tabs all fit, so I don't want them to be able to slide back and forth, even if a little bit. How do I prevent the ActionBar tabs from being scrollable? I'm using ActionBarSherlock in my project so that I can have a uniform UI across different versions of Android. As you can see below, there is plenty of space so I don't see any reason it should be able to wiggle/scroll when all of the tabs fit just f (HowTos)