So I am using the techniques in this thread to use a custom background for my titlebar. Unfortunately the framework places my layout inside a FrameLayout (
FrameLayout
I added the following padding item the AppTheme in styles.xml
<style name="AppTheme" parent="AppBaseTheme"> ... <item name="android:padding">0dp</item> ... </style>
The Application manifest uses that theme:
<application ... android:theme="@style/AppTheme" > ...
This resolved it for me.