Should be fixed with version 1.0.9.1.
[UI] Shadow on the status bar
-
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.
0_1465474690827_fix-status-bar-shadow.patchThe second patch is a cleanup, it removes redundant attributes: the included layout (
accounts_content
) does definelayout_width
andlayout_height
, no need to repeat them in<include>
.
0_1465474701019_remove-redundant-attributes.patchScreenshot (on Marshmallow) of the issue and the fixed look:
Nothing has changed for pre-Lollipop versions.
-
Okay
Thanks, has been merged.
-
I can’t see those patches in https://gitlab.com/bitfireAT/davdroid/commits/master Am I looking to a wrong place?
-
They’re part of 317144630cacd1977909b62b304aed446a44b914.
-
By the way, I think the shadows are different in different activities now. For instance, when I tap an account, the app bar shadow is larger than in the accounts overview. But maybe this was already the case before the patch…
-
Thanks for clarifying.
But maybe this was already the case before the patch…
Yes, it was.
That’s because
AccountsActivity
usesToolbar
widget whileAccountActivity
uses old action bar. The former makes a true shadow via the elevation API, the latter–a fake shadow via a drawable. Why Google can’t make them look similar is a different question.