Questions tagged [drawer]
658 questions
-2
votes
1 answer
Changing the Navigation Drawer menu on click
I have created a Basic Navigation Menu Drawer. What I want to do is change the Navigation Menu layout when i click on an Option.
For example: My menu has Men, Women, Child. When I click on Men, I want to load another list in the same Navigation…
![](../../users/profiles/6518735.webp)
Nikhil Pandita
- 51
- 1
- 4
-2
votes
2 answers
Drawer below title app
I use next code to show a drawer layout in my application. I need to display the drawer under title bar. But always get it over title.
I can't figure out where I do my mistake.
user7191265
-2
votes
1 answer
Android Error [java.lang.NullPointerException: 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference]
I have my main which contain a menu drawer with some fragments. Then a host page before to display the main. I have some errors about that Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on…
![](../../users/profiles/6394057.webp)
zouarv42
- 13
- 8
-2
votes
2 answers
Android add footer to navigation drawer
I am currently using a navigation drawer in one of my apps and want to add a footer space like google does, where I can put a settings and help & FAQ shortcut (just open any google app to find them). I currently am using the code foubd here:…
![](../../users/profiles/4183825.webp)
Broadwell
- 1,153
- 2
- 18
- 33
-2
votes
1 answer
Set a ContentView in the navigationdrawer
I'm kinda new into android programming, and I couldn't find the answer on the internet.
I have set up a Navigation drawer in Android Studio, and I want to change the content view if that section is selected, for example, if I select a view "Tools"…
![](../../users/profiles/4070962.webp)
Rogier
- 1
- 2
-2
votes
1 answer
Change icon in Navigation Drawer on the fly
I'm currently trying to change the icon in Navigation Drawer when some event occurs. Is it possible?? I mean that I change the icon - it's no problem:
mDrawerToggle = new ActionBarDrawerToggle(
this,
…
![](../../users/profiles/3534709.webp)
user3534709
- 33
- 1
- 6
-3
votes
1 answer
How do I make a Navigational Drawer Activity open when the app launches in Android Studio?
I am new to Android development (and development in general) and I'm working on a simple app. The app uses the built-in Navigational Drawer Activity template that comes with Android Studio. Everything is working correctly, but now my goal is to make…
-3
votes
1 answer
Image header on android studio navigation drawer not fitting properly
I have created an android app with a navigation bar activity. I have added an image header to the navigation drawer activity. But, it is showing a little gap in the left.
Please help me.
Here is the link to the emulator…
![](../../users/profiles/5296615.webp)
Chayan Dashora
- 9
- 4
-3
votes
1 answer
Navigation Drawer with header, indexOutOfBoundsException: length=9; index=9
I have Navigation Drawer and all is ok. but i want add header. In this case i receive this error when i clicked in the Last element of the drawer.
java.lang.ArrayIndexOutOfBoundsException: length=9; index=9
this is my main code:
…
![](../../users/profiles/3021750.webp)
aldakur
- 399
- 3
- 16
-3
votes
3 answers
How to add Social Like . sharing and contact button in android drawer navigation
I want add social like and contact button on my drawer navigation footer .
like this image (http://postimg.org/image/3mcbdod21/)
please help me .
![](../../users/profiles/4680068.webp)
Manoj Verma
- 1
- 2
-3
votes
2 answers
How to add Customized ListView inside navigation drawer? Different views in each row
Hi I'm new to Android development and I have to create a navigation drawer with different items on it.
The first row should contain a
Button
. The next three rows should contain
TexViews
, and the last row should contain an
EditText
I'm…
![](../../users/profiles/1215793.webp)
freeloader
- 318
- 2
- 5
- 18
-4
votes
2 answers
How to open navigation drawer in android like the image below
customizing the default navigation drawer in android like image below or from opening from bottom
screenshot
-5
votes
2 answers
Change Hamburger Icon in Android
I want to change Hamburger Icon and replace it with any other custom Icon.
How can I achieve this? Is it feasible?
I have go with android.support.v7 Toolbar & DrawerLayout- how to change Hamburger icon but it doesn't work for me.
![](../../users/profiles/1397901.webp)
jitendra
- 209
- 2
- 11