{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1439","repository_url":"https://api.github.com/repos/mikepenz/MaterialDrawer","labels_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1439/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1439/comments","events_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1439/events","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1439","id":169081945,"number":1439,"title":"Drawer is shown fully transparent when using with Crosswalk WebView","user":{"login":"roher-roher","id":6007995,"avatar_url":"https://avatars.githubusercontent.com/u/6007995?v=3","gravatar_id":"","url":"https://api.github.com/users/roher-roher","html_url":"https://github.com/roher-roher","followers_url":"https://api.github.com/users/roher-roher/followers","following_url":"https://api.github.com/users/roher-roher/following{/other_user}","gists_url":"https://api.github.com/users/roher-roher/gists{/gist_id}","starred_url":"https://api.github.com/users/roher-roher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roher-roher/subscriptions","organizations_url":"https://api.github.com/users/roher-roher/orgs","repos_url":"https://api.github.com/users/roher-roher/repos","events_url":"https://api.github.com/users/roher-roher/events{/privacy}","received_events_url":"https://api.github.com/users/roher-roher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars.githubusercontent.com/u/1476232?v=3","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars.githubusercontent.com/u/1476232?v=3","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":20,"created_at":"2016-08-03T09:01:29Z","updated_at":"2016-08-18T15:12:47Z","closed_at":"2016-08-15T17:11:18Z","body":"Hello! I have a strange problem with MaterialDrawer.\r\nI use [Crosswalk](https://crosswalk-project.org/) Webview together with MaterialDrawer in my activity:\r\n```java\r\nimport ...;\r\nimport com.mikepenz.materialdrawer.Drawer;\r\nimport com.mikepenz.materialdrawer.DrawerBuilder;\r\nimport com.mikepenz.materialdrawer.model.PrimaryDrawerItem;\r\nimport com.mikepenz.materialdrawer.model.SectionDrawerItem;\r\nimport com.mikepenz.materialdrawer.model.interfaces.IDrawerItem;\r\n\r\nimport org.xwalk.core.JavascriptInterface;\r\nimport org.xwalk.core.XWalkActivity;\r\nimport org.xwalk.core.XWalkResourceClient;\r\nimport org.xwalk.core.XWalkView;\r\n\r\npublic class MainActivity extends XWalkActivity {\r\n\r\n    private XWalkView webView;\r\n    private Drawer drawer;\r\n    \r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_main);\r\n        webView = (XWalkView) findViewById(R.id.xwvMain);\r\n        webView.setResourceClient(new MyResourceClient(webView,\r\n                getPackageManager()));\r\n        drawer = new DrawerBuilder()\r\n                .withActivity(this)\r\n                .withSystemUIHidden(true)\r\n                .withOnDrawerListener(new DrawerListener())\r\n                .withOnDrawerItemClickListener(\r\n                        new DrawerItemClickListener(this))\r\n                .withSelectedItem(0)\r\n                .addDrawerItems(\r\n                        new PrimaryDrawerItem()\r\n                                .withName(R.string.action_main_screen)\r\n                                .withIcon(R.drawable.ic_fullscreen_black_24dp)\r\n                                .withIdentifier(0),\r\n                        new PrimaryDrawerItem()\r\n                                .withName(R.string.action_technical_info_screen)\r\n                                .withIcon(R.drawable.ic_info_black_24dp)\r\n                                .withIdentifier(1),\r\n                        new PrimaryDrawerItem()\r\n                                .withName(R.string.action_settings)\r\n                                .withIcon(R.drawable.ic_settings_black_24dp)\r\n                                .withIdentifier(2),\r\n                        new SectionDrawerItem()\r\n                                .withName(R.string.action_actions),\r\n                        new PrimaryDrawerItem()\r\n                                .withName(R.string.action_restart_service)\r\n                                .withIcon(R.drawable.ic_refresh_black_24dp)\r\n                                .withIdentifier(3),\r\n                        new PrimaryDrawerItem()\r\n                                .withName(R.string.action_shutdown_service)\r\n                                .withIcon(R.drawable.ic_close_black_24dp)\r\n                                .withIdentifier(4),\r\n                        new PrimaryDrawerItem()\r\n                                .withName(R.string.action_restart_adapter)\r\n                                .withIcon(R.drawable.ic_memory_black_24dp)\r\n                                .withIdentifier(5)).build();\r\n\r\n        drawer.addStickyFooterItem(new PrimaryDrawerItem()\r\n                .withName(R.string.footer_go_to_website)\r\n                .withIcon(R.drawable.ic_link_black_24dp).withIdentifier(10));\r\n        drawer.addStickyFooterItem(new PrimaryDrawerItem()\r\n                .withName(R.string.footer_translate)\r\n                .withIcon(R.drawable.ic_translate_black_24dp)\r\n                .withIdentifier(11));\r\n\r\n        if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\r\n            drawer.getDrawerLayout().setFitsSystemWindows(false);\r\n        }\r\n    }\r\n\r\n    ...\r\n}\r\n```\r\nOn Android 4 it works ok, but on Android 5 and 6 the drawer is not visible when I slide from the left. But I know that all drawer items work because when I click on the area where the drawer should be, the corresponding item click event is fired. And moreover, after I click on this invisible drawer for the first time, it becomes visible until I quit the activity. When I open the activity again, it becomes invisible until first click on it again. Please watch this video for the demonstation: https://www.youtube.com/watch?v=OOIdYsbRz0A\r\n\r\nThe bug is somehow connected with Crosswalk, because on my second activity, which doesn't use webview, the drawer works ok.\r\n\r\nAny help will be appreciated, and if some more info is needed, I'm ready to provide it."},"comment":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/comments/240754889","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1439#issuecomment-240754889","issue_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1439","id":240754889,"user":{"login":"roher-roher","id":6007995,"avatar_url":"https://avatars.githubusercontent.com/u/6007995?v=3","gravatar_id":"","url":"https://api.github.com/users/roher-roher","html_url":"https://github.com/roher-roher","followers_url":"https://api.github.com/users/roher-roher/followers","following_url":"https://api.github.com/users/roher-roher/following{/other_user}","gists_url":"https://api.github.com/users/roher-roher/gists{/gist_id}","starred_url":"https://api.github.com/users/roher-roher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roher-roher/subscriptions","organizations_url":"https://api.github.com/users/roher-roher/orgs","repos_url":"https://api.github.com/users/roher-roher/repos","events_url":"https://api.github.com/users/roher-roher/events{/privacy}","received_events_url":"https://api.github.com/users/roher-roher/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T15:12:47Z","updated_at":"2016-08-18T15:12:47Z","body":"I am ready to provide any help if I can. Maybe try to download source code of MaterialDrawer and debug? But I don't know what to search :("}}
{"actor":{"display_login":"roher-roher"}}