Questions tagged [materialdrawer]

The MaterialDrawer is a flexible, easy to use, all in one drawer library for your Android project.

The MaterialDrawer is a flexible, easy to use, all in one drawer library for your Android project.

OpenSource

The project is available at GitHub and is maintained by Mike Penz

Tag Usage

Use this tag if you have issues regarding the MaterialDrawer. Always add the version number. If you face exceptions also add the StackTrace or error log. Also add the tag.

84 questions
0
votes
1 answer

How to add a divider to the account profile section of mikepenz materialdrawer library?

How to add a divider to the account profile section of mikepenz materialdrawer library? I can use new DividerDrawerItem() to add a divider to the drawer itself, but there is no way to add a divider to the profile section. How can I do that?
Hamed Ghadirian
  • 6,159
  • 7
  • 48
  • 67
0
votes
1 answer

MaterialDrawer MiniDrawer hamburger icon

I use MiniDrawer implementation from MaterialDrawer library. I have tried to add ActionBarDrawerToggle to Drawer but got an Exception. MiniDrawer class does not allow to set ActionBarDrawerToggle Could you please tell is there way to set hamburger…
IgorOK
  • 1,652
  • 4
  • 18
  • 36
0
votes
1 answer

Overwrite MaterialDrawer's RecyclerView

According to this commit, it is possible to rewrite drawer's RecyclerView with a custom one but I can't figure out how to do it. Can anyone explain to me how to do it properly?
gmlt.A
  • 327
  • 5
  • 16
0
votes
2 answers

Reload Activity on click on NavigationBar Back Button

I am using MikePenz Material Drawer to build a drawer in my xamarin application. So far it works great. URL : Material Drawer All my activities are inherited from a BaseActivity, and within this base activity I have initiated the drawer…
Libin Joseph
  • 7,070
  • 5
  • 29
  • 52
0
votes
2 answers

Why not works ClickListeners for Toolbar?

I use MaterialDrawer and code MainActivity is: public class MainActivity extends AppCompatActivity implements KitchenFragment.CallbackOne { public static final String TAG = "myLogTag"; private Toolbar mToolbar; private Drawer drawer; …
abbath0767
  • 946
  • 2
  • 11
  • 31
0
votes
1 answer

Navigation Drawer back button Xamarin

I am using this binding for this awesome Material Drawer Library by MikePenz. I have implemented the Navigation Drawer with this library and I have also managed to change the hamburger menu to the back arrow when I go level deep. Now I have some…
Libin Joseph
  • 7,070
  • 5
  • 29
  • 52
0
votes
1 answer

NavigationDrawer in multiple Activities and styled line

I want to add a NavigationDrawer to all of my Activities. I am unsatisfied with many solutions I found on stackoverflow and other forums. Then I found this MaterialDrawer library which seems to make it very easy. But know I would like to implement…
unlimited101
  • 3,653
  • 4
  • 22
  • 41
0
votes
1 answer

How to add SwipeRefreshLayout functionality to MaterialDrawer

I want to add a pull-to-refresh functionality to the drawer items of a MaterialDrawer instance. Usually one would do this via the support libs SwipeRefreshLayout that already provides this functionality, but I couldn't find a nice way to integrate…
Strayer
  • 3,050
  • 3
  • 30
  • 40
0
votes
1 answer

Fragment not properly replacing

I have implemented a MiniDrawer using the MaterialDrawer by Mike Penz. It's properly working but when I try to replace the content of the frame with another fragment the content replaces but the old content stays there and both the element rest on…
0
votes
1 answer

Wrong fragment is displayed on orientation change

I know that there are couple of answers for this particular issue, however none of them helped me solve it. I am working on an application which has a Drawer Navigation (Mike Penz drawer navigation). By selecting any of the items, the user is…
0
votes
1 answer

MaterialDrawer library turns a translucent status bar into a opaque one

I am using MaterialDrawer library for adding a drawer to my activities. The activities must have translucent status bar. Like the picture below: This is the top part of my activity, when the library has not added to it yet. When I add a drawer…
Ashkan Sarlak
  • 7,124
  • 6
  • 39
  • 51
0
votes
2 answers

mikepenz material drawer can not load url for drawer item

I use mikepenz material drawer too, but I met issue about loading URL to update drawer item icon, but still failed. I can not solve it. https://github.com/mikepenz/MaterialDrawer please help me. Thanks
Luna Kong
  • 3,065
  • 25
  • 20
0
votes
1 answer

Visible ActionBar with opened NavDrawer

Is it possible to keep the actionbar visible using the mikepenz's material drawer library?
Amio.io
  • 20,677
  • 15
  • 82
  • 117
0
votes
1 answer

Error in resolving dependecies while using mikepenz/MaterialDrawer library

I am getting the following errors while using the library: C:\ASP\example\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.0\res\values-v23\values-v23.xml Error:(2) Error retrieving parent for item: No resource found…
Aayush
  • 147
  • 1
  • 12
0
votes
1 answer

How to cache profile picture with Picasso in MaterialDrawer library

I'm using MaterialDrawer library and loading profile images with Picasso. But I am unable to save it locally with Picasso and loading it from cache in the future. Before creating the drawer, //below line is for loading profile image from url …
Kerem
  • 1,494
  • 2
  • 16
  • 27