{"action":"created","issue":{"url":"https://api.github.com/repos/roughike/BottomBar/issues/188","repository_url":"https://api.github.com/repos/roughike/BottomBar","labels_url":"https://api.github.com/repos/roughike/BottomBar/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/roughike/BottomBar/issues/188/comments","events_url":"https://api.github.com/repos/roughike/BottomBar/issues/188/events","html_url":"https://github.com/roughike/BottomBar/issues/188","id":151620362,"number":188,"title":"Shadow related issue when used in combination with MaterialDrawer","user":{"login":"Discover-","id":875209,"avatar_url":"https://avatars.githubusercontent.com/u/875209?v=3","gravatar_id":"","url":"https://api.github.com/users/Discover-","html_url":"https://github.com/Discover-","followers_url":"https://api.github.com/users/Discover-/followers","following_url":"https://api.github.com/users/Discover-/following{/other_user}","gists_url":"https://api.github.com/users/Discover-/gists{/gist_id}","starred_url":"https://api.github.com/users/Discover-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Discover-/subscriptions","organizations_url":"https://api.github.com/users/Discover-/orgs","repos_url":"https://api.github.com/users/Discover-/repos","events_url":"https://api.github.com/users/Discover-/events{/privacy}","received_events_url":"https://api.github.com/users/Discover-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-04-28T11:42:42Z","updated_at":"2016-04-29T11:05:52Z","closed_at":null,"body":"I'm working on an app where there's both a drawer and a bottom menu for navigation. The bottom navigation only has 4 items (8 for tablets) at most, while the drawer has all the remaining navigation items. If there's more than X items (4 or 8), the bottom navigation is never initialized and there'll only be a drawer menu.\r\n\r\nFor the drawer I'm using this library by @mikepenz: https://github.com/mikepenz/MaterialDrawer.\r\n\r\nThere seems to be an issue when opening the drawer on a device with API > 15 (works on 15), the fragment that disappears behind the opening drawer doesn't properly get 'shadowed' (not sure how to explain what happens). Instead, the elements and toolbar and all that are staying the same color while the background of the fragment will properly turn to a darker color. Disabling the bottom navigation bar solves this issue.\r\n\r\nA few screenshots to explain what I'm talking about:\r\n\r\nHere's a Moto G running API 22. The bottom navigation is **disabled** here:\r\nhttp://i.imgur.com/8ih0m9p.png\r\n\r\nHere's the same phone with the bottom navigation **enabled**:\r\nhttp://i.imgur.com/lddg7P5.png\r\n\r\nSo in the first screenshot you can see that the drawer works as expected. Enabling the bottom navigation somehow breaks this.\r\n\r\nThis issue also exists on my Samsung Tab A running API 21.\r\nThis issue **does not** exist on my HTC Incredible A running API 15.\r\n\r\n\r\nI understand this is not of great concern here at all considering I'm using two 3rd party libs in combination with each other that are not meant to be used at the same time (or at least not designed to). Any advise is therefore appreciated. :smile: "},"comment":{"url":"https://api.github.com/repos/roughike/BottomBar/issues/comments/215685143","html_url":"https://github.com/roughike/BottomBar/issues/188#issuecomment-215685143","issue_url":"https://api.github.com/repos/roughike/BottomBar/issues/188","id":215685143,"user":{"login":"Discover-","id":875209,"avatar_url":"https://avatars.githubusercontent.com/u/875209?v=3","gravatar_id":"","url":"https://api.github.com/users/Discover-","html_url":"https://github.com/Discover-","followers_url":"https://api.github.com/users/Discover-/followers","following_url":"https://api.github.com/users/Discover-/following{/other_user}","gists_url":"https://api.github.com/users/Discover-/gists{/gist_id}","starred_url":"https://api.github.com/users/Discover-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Discover-/subscriptions","organizations_url":"https://api.github.com/users/Discover-/orgs","repos_url":"https://api.github.com/users/Discover-/repos","events_url":"https://api.github.com/users/Discover-/events{/privacy}","received_events_url":"https://api.github.com/users/Discover-/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T11:05:52Z","updated_at":"2016-04-29T11:05:52Z","body":"So the issue got fixed by https://github.com/PsyGik/DrawerWithBottomBar/commit/0849c2eb78d31c693f8f51df80f8f006e5c76d50 (made sure to try reverting 1 by 1). Which means that your initial idea with the .attach() is indeed the cause of the issue, but implementing this in my own app somehow does not solve the issue for me.\r\n\r\nI tried changing your demo project's activity_main.xml layout to the exact same of mine and it still works on the demo project, unlike my own app. I tried to get rid of these style properties without any change:\r\n```\r\n    <style name=\"AlphaActionBar\" parent=\"@style/ThemeOverlay.AppCompat.Dark.ActionBar\">\r\n        <item name=\"android:windowActionBarOverlay\">true</item>\r\n        <item name=\"windowActionBarOverlay\">true</item>\r\n    </style>\r\n\r\n    <style name=\"AppTheme.AppBarOverlay\" parent=\"ThemeOverlay.AppCompat.Dark.ActionBar\" />\r\n    <style name=\"AppTheme.PopupOverlay\" parent=\"ThemeOverlay.AppCompat.Light\" />\r\n```\r\n(I also use a nested scrollview with a collapsing toolbar, hence)\r\n\r\nI also tried syncing our styles entirely. Also tried adding `supportsRtl` (same as your demo project). I tried to use your exact layout (`fragment_blank.xml`) in one of my fragments without any luck (I thought maybe because it was using a FrameLayout).\r\n\r\nAlso tried to get rid of the `theme` and `popupTheme` for my toolbars, didn't change anything either.\r\n```\r\n    local:theme=\"@style/ThemeOverlay.AppCompat.Dark.ActionBar\"\r\n    local:popupTheme=\"@style/ThemeOverlay.AppCompat.Light\"\r\n```\r\n\r\nI'm starting to run out of idea's on what to try. I can send my own project (preferably private) if you want to give it a try?"}}