A port and extention of https://github.com/johannilsson/android-actionbar