App bar is a solid thing, thus status bar and toolbar must have the same elevation level. This means there should be no shadow on the status bar from the toolbar and vice versa. See the spec. The first patch fixes this glitch.
The second patch is a cleanup, it removes redundant attributes: the included layout (
accounts_content) does define
layout_height, no need to repeat them in
Screenshot (on Marshmallow) of the issue and the fixed look:
Nothing has changed for pre-Lollipop versions.