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
0 answers

Find which function is being called when a view is clicked

I have been trying to change what happens when a imageView is clicked in an external library. But I have no idea which function is called when that happens. I really don't want to go through the code and figure it out, so I was wondering, if there…
Prateek Dhanuka
  • 380
  • 2
  • 22
0
votes
1 answer

MaterialDrawer set selected profile

I use the MaterialDrawer library by Mike Penz. In my OnCreate, profiles are added to the drawer from a linkedHashMap. When a profile gets selected, the new selected profile is saved in a sharedPreference. My Question: if I launch the App again, how…
Makarele
  • 59
  • 9
0
votes
3 answers

Using Butterknife with BaseActivity/Child Activities and MaterialDrawer

I'm facing issues implementing MaterialDrawer (library MikePenz) using Multiple Activities ( not using fragments) which is implemented with a BaseActivity. Also, using ButterKnife to bind the views. Found related issues here in SO and tried it out…
user2695433
  • 2,013
  • 4
  • 25
  • 44
0
votes
0 answers

Material Navigation Drawer

I have created a navigation drawer using Mike Penz's navigation drawer library which is as follows: but m facing an issue that my view is not scrollable like other items infact other items are getting overlapped on my view while scrolling Its…
Whisky
  • 327
  • 1
  • 3
  • 7
0
votes
2 answers

MaterialDrawer add profile option

I'm using the MaterialDrawer library by Mike Penz. I made an AccountHeader and now wondered how to add such an "add Account" button (see the picture). Is there allready a provided method how to do this? Like by pressing this button sth appears to…
Makarele
  • 59
  • 9
0
votes
1 answer

Open an activity from the ProfileSettingDrawerItem() that is defined in the AccoutHeaderBuilder()

Hello i need to open activity when a ProfileSettingDrawerItem is clicked,but this is defined in the AccountHeaderBuilder() not in the DrawerBuilder(). Here is the code: headerResult = new AccountHeaderBuilder() .withActivity(this) …
Petar
  • 31
  • 5
0
votes
1 answer

Fragment not loading when selected from MaterialDrawer

I have an activity which has a MaterialDrawer created. The material Drawer code is as follows SecondaryDrawerItem item1 = new SecondaryDrawerItem().withIdentifier(1).withName(R.string.drawer_item_home) .withIcon(new…
Sparker0i
  • 1,787
  • 4
  • 35
  • 60
0
votes
1 answer

NavigationDrawer with custom fragment inside?

I'm using this library: https://github.com/mikepenz/MaterialDrawer I have a NavigationDrawer on the left with navigation items and on the right I have an additional drawer: new DrawerBuilder() .withActivity(this) …
user754730
  • 1,341
  • 5
  • 31
  • 62
0
votes
1 answer

Screen always fit System Windows in Android Material Drawer

I am developing an Android app. In my app, I am using material drawer- https://github.com/mikepenz/MaterialDrawer to set up drawer on the left. I can set up the drawer easily. But it is having issue. It always fit to system windows like in the…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
0
votes
1 answer

View switching between MaterialDrawer layouts

I need to create two MaterialDrawer for the same activity and switch between them. But I need that items be updated when the Drawer is being displayed on the screen. With the properties we have for MaterialDrawer, the changes between one drawer…
0
votes
1 answer

How to implement MiniDrawer using mikepenz/MaterialDrawer

I am trying to implement MiniDrawer using mikepenz/MaterialDrawer github library. I could get some result as below picture. but the top part of MiniDrawer is hidden by Toolbar. How can i solve this problem. This is MainActivity.Java public class…
Dilanka Laksiri
  • 408
  • 3
  • 12
0
votes
1 answer

Android CrossFader shows both layout

I'm using the Mike Penz GmailStyleCrossFadeSlidingPaneLayout. Only when the app starts I get the PartialView shown and a partial part of the FullView. It looks like they are layout above each other. But I just can click the icons from the…
0
votes
1 answer

Dynamically add Fragments in NavigationDrawer

I was using NavigationDrawer from android.support:design library, and it worked fine, but now i have swithed to MaterialDrawer by mikepenz, due to it's obvious features. But now i am stuck. I want to add Fragment dynamically like i did with…
Mustansir
  • 2,445
  • 1
  • 21
  • 32
0
votes
1 answer

MaterialDrawer How to customize mini drawer

I am trying to figured out how to customize MaterialDrawer by https://github.com/mikepenz/MaterialDrawer At moment the width is too big. I want to make width smaller with bigger icons to cover the spaces and change the background color. This App…
Mr T
  • 1,409
  • 1
  • 17
  • 24
0
votes
1 answer

fitSystemWindows with MaterialDrawer

I want to use material drawer like about 30 times I already used it. If I put materialDrawer builder in OnCreate method all work well. Building drawer after some seconds with thread a CountDown timer produces a white grey space in statusbar. My…
user3528466
  • 186
  • 2
  • 17