{"action":"created","issue":{"url":"https://api.github.com/repos/armcha/LuseenBottomNavigation/issues/4","repository_url":"https://api.github.com/repos/armcha/LuseenBottomNavigation","labels_url":"https://api.github.com/repos/armcha/LuseenBottomNavigation/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/armcha/LuseenBottomNavigation/issues/4/comments","events_url":"https://api.github.com/repos/armcha/LuseenBottomNavigation/issues/4/events","html_url":"https://github.com/armcha/LuseenBottomNavigation/issues/4","id":144274105,"number":4,"title":"Shadow of bottom bar covers actual content","user":{"login":"amilcar-andrade","id":802308,"avatar_url":"https://avatars.githubusercontent.com/u/802308?v=3","gravatar_id":"","url":"https://api.github.com/users/amilcar-andrade","html_url":"https://github.com/amilcar-andrade","followers_url":"https://api.github.com/users/amilcar-andrade/followers","following_url":"https://api.github.com/users/amilcar-andrade/following{/other_user}","gists_url":"https://api.github.com/users/amilcar-andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/amilcar-andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amilcar-andrade/subscriptions","organizations_url":"https://api.github.com/users/amilcar-andrade/orgs","repos_url":"https://api.github.com/users/amilcar-andrade/repos","events_url":"https://api.github.com/users/amilcar-andrade/events{/privacy}","received_events_url":"https://api.github.com/users/amilcar-andrade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T14:01:44Z","updated_at":"2016-03-29T14:38:12Z","closed_at":null,"body":"It seems that the view you are creating with the gradient as a background it is actually cutting the content. In your examples the shadow looks good because you do not have any content and the background is white. I would expect to see something like the attached image where the shadow it is on top of the content. \r\n\r\n![screenshot_20160329-100021-2](https://cloud.githubusercontent.com/assets/802308/14110619/3aec813a-f595-11e5-9fee-a14ec76cc9b4.png)\r\n "},"comment":{"url":"https://api.github.com/repos/armcha/LuseenBottomNavigation/issues/comments/202926980","html_url":"https://github.com/armcha/LuseenBottomNavigation/issues/4#issuecomment-202926980","issue_url":"https://api.github.com/repos/armcha/LuseenBottomNavigation/issues/4","id":202926980,"user":{"login":"armcha","id":15573237,"avatar_url":"https://avatars.githubusercontent.com/u/15573237?v=3","gravatar_id":"","url":"https://api.github.com/users/armcha","html_url":"https://github.com/armcha","followers_url":"https://api.github.com/users/armcha/followers","following_url":"https://api.github.com/users/armcha/following{/other_user}","gists_url":"https://api.github.com/users/armcha/gists{/gist_id}","starred_url":"https://api.github.com/users/armcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armcha/subscriptions","organizations_url":"https://api.github.com/users/armcha/orgs","repos_url":"https://api.github.com/users/armcha/repos","events_url":"https://api.github.com/users/armcha/events{/privacy}","received_events_url":"https://api.github.com/users/armcha/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T14:38:12Z","updated_at":"2016-03-29T14:38:12Z","body":"Hi, thanks for issue.\r\nWith scrolling content it looks good \r\n\r\n![default](https://cloud.githubusercontent.com/assets/15573237/14111719/dbcc3720-f5dc-11e5-978e-73d6a20bbc21.png)\r\n\r\nWith non scrolling content you can do something like this\r\n```xml\r\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    android:background=\"@android:color/white\">\r\n    \r\n    <ImageView\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentBottom=\"true\"\r\n        android:layout_marginBottom=\"@dimen/bottom_navigation_height\"\r\n        android:src=\"@drawable/adrenalin\" />\r\n\r\n    <com.luseen.luseenbottomnavigation.BottomNavigation.BottomNavigationView\r\n        android:id=\"@+id/bottomNavigation\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentBottom=\"true\" />\r\n</RelativeLayout>\r\n```\r\nresult \r\n![2](https://cloud.githubusercontent.com/assets/15573237/14111796/2d731698-f5dd-11e5-9a33-cdbf06869baa.png)\r\n"}}