Hello, i have created an actionbar with fragment tabs, I also added a menu button and its here my problems starts.
Google has in android 4 moved the hardware menubutton to a software button in the actionbar, so I need to share it with the space with my tabs. What happens in horizontal mode is that the tabs takes up all the space on the first row and pushes the menubutton to a second row. The tabs has alot of whitespace and could be shrinked to make room for the menu button. I have tried everything I can think on, crated cutomviews for the tabs doesnt help the actionbar keeps the width of the tabs and just shrinks the content. The last thing I tried was to override parent="android:style/ Widget.Holo.Light.ActionBarView_TabView" theme, but in later version of the SDK you are no longer allowed to override this now "private" style. So I am wondering if anyone smarter then me have any solution for the two options bellow. 1. Force the tabs to shrink to make room for menu button 2. Override software menu button to force it back as a hardwarebutton. Best Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

