Questions tagged [android-drawer]
98 questions
1
vote
0 answers
How to add FlowingDrawer style to NavigationView Drawer Programmatically
NavigationDrawer imageI am new to android programming. i am really stucking in the place where i have to apply style like FlowingDrawer to DrawerLayout which already present. i have already created my navigationdrawer layout.
in that i want to add…

Karthick Jai
- 61
- 1
- 11
1
vote
2 answers
How to change app navbar color when app is in drawer in Ionic 3
I need to change the color of the apps navbar when app is in the drawer.
I tried status bar plugin but it only chnage the color of the status bar when app is open on…

Vaibhav Gole
- 165
- 1
- 3
- 18
1
vote
1 answer
DrawerLayout must be measured with MeasureSpec.EXACTLY. at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:994)
Here is the my mainlayout file .
This is the main layout file where I write the code related to navigation drawer,also include the toolbar by using include.

Sumit Kumawat
- 41
- 1
- 7
1
vote
0 answers
How to get transparent action bar when a drawer is opened
How can I get a transparent action bar, like this in Google Play Store, when the drawer is opened in my app?

peterrojs
- 57
- 1
- 7
1
vote
0 answers
Is it possible to change extended drawer's style and use it in activity?
Is it possible to change extended drawer's style and use it in activity? If yes how? I'm trying to use this drawer making it transparent in StoreActivity
If you are curious here is my code. HomeNavigation.java, Drawer code
public class…

Тэмүүжин Цогоо
- 11
- 3
1
vote
2 answers
How to create an android drawer with custom icons on it?
Can anyone please help me on designing this android layout? I want to put two icons on the drawer toolbar like on the image below.
This is LeftNavigationActivity.class
public class LeftNavigationActivity extends BaseActivity
implements…

eyajosh
- 61
- 6
1
vote
5 answers
Android Studio open Drawer in fragment
I remove the actionbar from application so I need to create button to open drawer myself button on Activity works fine but when I'm using it in fragment application stop working (when I call the fragment)
Code I'm using in Activity (the one that…

phwt
- 1,356
- 1
- 22
- 42
1
vote
1 answer
Moving CardView below the NavigationView
I'm looking to move the cardview down so it's not blocked by the navigation bar. Here's a screenshot to show what problem I currently have: Nav-Bar Covering Cardview. Any suggestions would be appreciated!
Here is my activity_recycler_view XML…

MariposaM
- 107
- 1
- 12
1
vote
1 answer
How to use Android NavigationDrawer to create other fragments?
It's my first Android project. I need to create a sliding menu to start different pages. Then I find in Android Studio 1.4 there is a default "Navigation Drawer"Activity for us to use.Here is the default image
So i want to click different items to…

Ling QI
- 17
- 6
1
vote
2 answers
Android Navigation Drawer with Image Error
I have written a simple application for navigation Drawer based on this tutorial: https://www.youtube.com/watch?v=tZ2DNC3FIic
but there is a problem when I run the application.
The Error is i am having a blank or Empty Drawer List when i launch the…

Subhi
- 322
- 3
- 11
1
vote
0 answers
drawerToggle.syncState() isn't syncing icons if put under onPostCreate() but it is if under onCreate()
I'm following a tutorial where a guy calls xxxx.syncState() from within the onPostCreate() method. His app works just fine -- it starts with hamburger icon, which turns into arrow icon. On my side, the icon is arrow all the time but the drawer…

developer10
- 1,450
- 2
- 15
- 31
1
vote
2 answers
see error when use getSupportActionBar().setDisplayHomeAsUpEnabled(true)
I am use android minSdkVersion 14 and targetSdkVersion 23
I want create menu navigation drawer but when run see this error
AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity…
user2049855
1
vote
3 answers
Android Navigation Drawer should be centralized vertically
I have made my navigation drawer and it is working all fine , it is according to new design rules. but now I have a problem and after a couple of search I have found no note over it so far. So I end up with asking question here.
What I have done so…

Coas Mckey
- 701
- 1
- 13
- 39
1
vote
0 answers
Changing Drawer Layout Animation color
I am trying to play around with animation and drawer so i am using the drawer sample code available on the Android Developer Website
For starters i have specified android:animateLayoutChanges="true" in drawer layout and its showing white color for a…

Sheraz Ahmad Khilji
- 8,300
- 9
- 52
- 84
1
vote
0 answers
Android drawerLayout close using touch listener doesnt close all the way
I am trying to close the navigation layout when user touches outside the navigation. I added a touchListener to the layout and call drawerLayout.closeDrawer(drawer) in the touch listener. However, this doesnt close the drawer all the way.
If I keep…

Zaara
- 11
- 1