{"action":"opened","issue":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1150","repository_url":"https://api.github.com/repos/mikepenz/MaterialDrawer","labels_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1150/comments","events_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1150/events","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1150","id":145481496,"number":1150,"title":"Question - MiniDrawer styling, colored translucent statusbar and icons from menu XML","user":{"login":"pokerazor","id":3128983,"avatar_url":"https://avatars.githubusercontent.com/u/3128983?v=3","gravatar_id":"","url":"https://api.github.com/users/pokerazor","html_url":"https://github.com/pokerazor","followers_url":"https://api.github.com/users/pokerazor/followers","following_url":"https://api.github.com/users/pokerazor/following{/other_user}","gists_url":"https://api.github.com/users/pokerazor/gists{/gist_id}","starred_url":"https://api.github.com/users/pokerazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pokerazor/subscriptions","organizations_url":"https://api.github.com/users/pokerazor/orgs","repos_url":"https://api.github.com/users/pokerazor/repos","events_url":"https://api.github.com/users/pokerazor/events{/privacy}","received_events_url":"https://api.github.com/users/pokerazor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-03T11:08:52Z","updated_at":"2016-04-03T11:08:52Z","closed_at":null,"body":"Hi and thank you again for this awesome library. We're now using it in the dev version of our app fork:\r\nhttps://github.com/pokerazor/mixare/blob/4128ba4b00a1349c6b27278bbe0933477d624997/src/org/mixare/MaterialDrawerMenuActivity.java\r\n\r\nThere's a couple of questions I have which I wasn't able to solve by myself after looking in the code and searching on the internet, so I hope it's OK to ask them here?\r\nI have included two screenshots to illustrate the questions and all the code can be found at https://github.com/pokerazor/mixare/tree/dev-ha-improvements/src/org/mixare\r\n\r\n![screenshot_2016-04-03-09-22-55](https://cloud.githubusercontent.com/assets/3128983/14232085/9af2246c-f99c-11e5-8324-a07ca8377fcc.png)\r\n\r\n![screenshot_2016-04-03-09-22-45](https://cloud.githubusercontent.com/assets/3128983/14232084/8fdf879a-f99c-11e5-978f-1ed0b7c35c75.png)\r\n(the blue on the right is a live camera preview)\r\n\r\n1. We have a static MiniDrawer which crossfades to a regular drawer, using MaterialDrawerTheme.TranslucentStatus. Styling/coloring of the regular drawer is easily done by @color/material_drawer_dark_background in our own colors.xml. But how to color the MiniDrawer? it always stays dark grey and we couldn't find a corresponding attribute in the code?\r\nAlso, what about the margins around the items, is there any way to influence them? Because they're different in the regular drawer and the MiniDrawer and we would like them to be the same, so the items don't \"jump\" when dragging/switching between both.\r\n\r\n2. We have a translucent status bar now, but because our app is mainly used in landscape mode, doesn't use an ActionBar and the main Activity has a fullscreen camera stream, the status bar is very \"fluttery\" and kind of boring because the transparency is only from black, not colored. Is there any way to use a color transparany/alpha channel to enable visual identy of the app to the user? We suspect, one would need to implement an own view showing only the background alpha-color with the status bar height and somehow manage to get it \"between\" the status bar and the actual content? Are there any suggestions on how that could be achieved?\r\n\r\n3. We use a XML menu file to inflate the items for the menu, (personally I thought that's the way to do it because it's declarative?), also stating the icons like this:\r\n```\r\n    <item\r\n        android:id=\"@+id/menuitem_markerlist\"\r\n        android:icon=\"@android:drawable/ic_menu_view\"\r\n        android:title=\"@string/menu_item_list\" />\r\n```\r\nBut that way we are limited to use the \"original\" android and some own drawables, while we would like to use some material design icons from the Iconics package. Is there any way to do it, I thought maybe like \r\n`android:icon=\"@iconics:drawable/gmd-plus-circle\"`\r\nand someway introducing the iconics prefix to the app?\r\nWe tried switching MaterialDrawerMenuActivity's base class to AppCompatActivity and using `LayoutInflaterCompat.setFactory(getLayoutInflater(), new IconicsLayoutInflater(getDelegate()));` in the onCreate(), but what would we need to put into the `android:icon=\"\"` attribute in the menu.xml?\r\nWe tried  `android:icon=\"gmd-plus-circle\"` which would give us\r\n> String types not allowed\r\n\r\nand also `app:ico_icon=\"gmd-plus-circle\"` with \r\n```\r\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n    xmlns:tools=\"http://schemas.android.com/tools\"\r\n    tools:context=\"com.mikepenz.iconics.sample.MainActivity\"\r\n```\r\nwhich would leave us with no icon at all.\r\nWe also tried android:title=\"{gmd-plus-circle}\" which is not being replaced.\r\nWhat did we miss?\r\n\r\nThank you in advance for reading this and trying to help!\r\n\r\nAh, and if some of the questions would need some implementation work to do first, I'd happily try my best and submit a Pull Request if you can give some hints on how/where to do it.\r\n\r\nCheers,\r\nHanno"}}