Actionbar tabs overlapping on screen rotation

放肆的年华 提交于 2019-12-06 08:46:24

ActionBarSherlock is a compatibility layer which exists inside the content view of an activity. This is a bit different than the native action bar which exists inside the window but outside of the normal content view.

Because of this fact, it cannot properly recreate itself when you declare in the manifest that you handle orientation changes. If you prevent ABS from recreating the action bar views there are almost always noticible artifacts like what you picture.

TL;DR: ActionBarSherlock does not work with configChanges="orientation".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!