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
The Application manifest uses that theme:
...
This resolved it for me.