Most voted "navigation-drawer" questions
The Navigation Drawer is a sliding panel, located on the left side of the screen, used to display the application’s main navigation options.
Learn more…52 questions
Sort by count of
-
8
votes2
answers9825
views3-point menu in all Activities with standard Navigation Drawer
I’m starting now to implement on Android. I have a little doubt, created a Blank Activity (activity_initial) and with it the Action Bar, then created a Navigation Drawer (navigation_menu) also…
-
6
votes2
answers4150
viewsChanging Screens in Navigation Drawer
The Navigation Drawer had some changes, where the method was used onNavigationItemSelected(int position, long itemId) and now comes with the method onNavigationItemSelected(MenuItem item). I tried…
-
5
votes3
answers629
viewsWhy does my Actionbar due to an error stay inside my Statusbar?
I started a new default project on Android, I did like this reply to my ActionBar stay on top of the standard menu NavigationDrawer, now, my ActionBar enters into the StatusBar and the source gets…
-
4
votes2
answers1134
viewsHide Menu Navigation Drawer when choosing item
I would like a help of how I can do when clicking on the Nvaigation Drawer item go to the specific Fragment, and in this Fragment I do not want to make available the Navigation Drawer for the user.…
-
4
votes2
answers314
viewsNavigation Drawer customized and colorful
Hello, what I wanted to do was to be able to put colorful icons in the navigation, as I can do this? The images I have in my project are colorful but in navigation they only turn gray like this. I…
-
4
votes2
answers2215
viewsChange Fragment by clicking on a button inside another Fragment
I have a button inside my Ragment that I want it to call another Ragment that is over the current one when it is clicked. follows the code of Fragment: @Override public View…
-
3
votes4
answers3938
viewsHow to open another Activity from a Navigation Drawer?
I need to call a Activity from an item of a navigation drawer. Anyone can help? These are the items I want to call for Activitys: public boolean onNavigationItemSelected(MenuItem item) { // Handle…
-
3
votes2
answers800
viewsNavigation Drawer calling Activity - Close the menu by clicking on the Activity item if it is the current one
I created a navigation Drawer. To use in several Activities using a standard class for it (DrawerBase.java) and Xtendo her in Activities where I want Navigation Drawer to open, but I have the…
-
2
votes1
answer479
viewsProblems trying to open the Navigationdrawer with the Home Button on the Toolbar
I’m trying to open the Navigationdrawer of my application in my Main Activity through the home button available on Toolbar when using Actionbardrawertoggle, but when pressing the button my…
-
2
votes0
answers377
viewsDrawable isn’t picking up images
Guys, I’m making an app that has a Drawer, and the menu that appears laterally is a navigationView. So far so good, but in the code . xml I want to add icons, is not picking up the images. The code…
-
2
votes0
answers86
viewsFragmenttransacion with Fragment Activity
I’m using the Navigationdrawer to display the page options, I adapted one of them to Fragmentactivity for the call of some functions right. But when declaring the transaction of the screens, it does…
-
2
votes1
answer1139
viewsHow to create a class with a Navigationdrawer to use in multiple Activities?
I started studying Android development a little while ago, I saw that to use a Navigationdrawer the recommended is to use fragments to change a Framelayout in the main Activity, but in the new…
-
2
votes2
answers280
viewsHover in html and css navigation
Good people, here’s the thing, I’ve been after it for a while. I’ve been trying to box around the links in hover, this box will have a shadow and rounded corners, someone can help me? Thanks in…
-
2
votes1
answer1008
viewsError inflating class android.support.design.widget.Navigationview
It is working correctly on most devices, however on other devices the following error is occurring: android.view.Inflateexception: Binary XML file line #16: Error inflating class…
java android xml android-layout navigation-drawerasked 8 years, 6 months ago Giancarlo Abel Giulian 3,999 -
1
votes1
answer289
viewsHow to open Searchview in Actionbar programmatically?
Come on people, the question is as follows: I want to open Searchview from a click on an item in Drawer (that side menu). So far I have seen several tutorials about, but only find how to open…
-
1
votes1
answer71
viewsDisable second click in Navigationdrawer
I’m developing an app, which contains a menu drawer, but I have a multitoque, that is, when the user selects an item, and quickly selects again, it keeps the drawer aberto. I would like, that when…
-
1
votes1
answer521
viewsHow to add only a few Activity navigation Drawer
I’m having a question how I can add the navigation Drawer the left side menu in some activities. I started the project by Blakactivity and now the need to add the side menu has arisen. I already…
-
1
votes0
answers197
viewsHow to implement Navigation Drawer with Bottom Navigation in the same application
In a app that has NavigationDrawer with Bottom Navigation, what would be the recommended path for implementation? I searched for tutorials and did not even find in the official documentation. I…
-
1
votes1
answer695
viewsNavigation Drawer - Change menu color
Hello, I am implementing a navigation Drawer in my android application and for a design question I would like to know how to change the background color of activity_home_drawer, where the menu items…
-
1
votes0
answers216
viewsHow to add a Expandablelistview in Android’s Navigation Drawer menu
I created this Navigation Drawer that already comes in Android Studio itself: However, I wanted to know how I can transform this list of it expandable. I want to put sub-items for each item in the…
-
1
votes0
answers37
viewsReuse the Navigation Drawer in other Activities
I created an Activity Navigation Drawer, configured the menus, customized it for my application. Now what? How do I create new activitys by reusing Navigation Drawer creating for the first?
-
1
votes1
answer98
viewsHow to change the file menu that is being used in Android Menu Navigation Drawer?
I want to know if it is possible to change the menu file being used by Drawer navigation menu Example: When entering this if that is in blue, it must be selected to use another menu file in the…
-
1
votes0
answers66
viewsUse Service to continue player operation when class changes
I want to use for when to change Fragment continue running the audio and when to class the ! isPlaying keep popping up the requested pause. How to do this with Service? import android.app.Fragment;…
-
1
votes1
answer359
viewsHow to increase the space between items in a Drawer navigation?
Developing an application saw that on devices with higher resolution the items stay very close together, desire practicality, this is how mobile apps should be, no buttons too small, this makes life…
-
1
votes1
answer60
viewsRemove selected item bottombar (Lib Roughike)
I have an application that uses Navigationview and Bottombar, I’m having a hard time removing the bootombar item selection when selecting an item from navigationView, I’m using the Roughike Library…
-
1
votes0
answers575
viewsButton in action bar to open navigation Drawer
Good, I’m making an application that uses the navigation Drawer. From the android 5.1 the button "hamburguer" in the bar action works, and when you click on it the navigation drawer Drawer opens.…
-
1
votes1
answer361
viewsHow to access Drawermenu in the multi-screen flutter?
I’m Getting an Application in Flutter, added to my HomePage one DrawerMenu, It works well, but when I access another page, I wish the menu could be opened from anyone. I saw some examples creating…
-
0
votes0
answers648
viewsChange background color of selected item in Navigationdrawer
How can I change the background color of the selected item in Navigationdrawer? <ListView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"…
-
0
votes2
answers109
viewsCancel Asynctask when choosing another menu item with Navigation Drawer
The Problem I’m developing an app that has a side navigation menu (Navigation Drawer) as shown below. Loading some items from this menu requires an Internet request. Here at this point everything…
-
0
votes1
answer1060
viewsHow to put Navigation Drawer menu under the Action Bar?
Hello, I started a new project with the standard Navigation Drawer, a standard Android project, it comes with the menu that goes over the Action Bar, so: I’d like it to look like the image below:…
-
0
votes1
answer132
viewsRN Navigation - Draw Navigator
My app will feature various types of navigation on different screens. I started using index with stacknavigator and a second page trying to configure Drawnavigator and I’m not getting. I saw in an…
-
0
votes1
answer297
viewsToolbar toggle(burger) button does not work on Android Pre Lollipop
I created a NavigationDrawer same as the image It works perfectly on Android 5.0 or higher, equal to image. But when I run the application on Android less than 5.0, the button does not work and when…
-
0
votes1
answer81
viewsKotlin - R.string.navigation_drawer_open, Not being imported?
I’m trying to learn Kotlin, but I can’t use navigation_drawer_open, nor the navigation_drawer_close, as shown in the attached image Someone would give me a suggestion of what to do to fix the…
-
0
votes1
answer143
viewsAdd navigation-Drawer layout to a project with activitys already created
I created an androod project with all Kotlin, but without the navdrawer layout, now I need to put the navdrawer and include the Activity I have in it If anyone knows how to fit the Acesvity into…
-
0
votes1
answer334
viewsUse 2 types of Drawer and Bottomtab navigation at the same time
Hello, I’m a little confused about the routes of React-Native, I mean when I need to use 2 types of routes on the same screen. Here’s my try so far: export default (isSigned = false) =>…
-
0
votes1
answer165
viewsNavigation Drawer + Google Maps
I have a problem joining Navigation Drawer as Google Maps. I want google to be my home page and I want it to be on the Navigation Drawer list as an item, but there’s been a little snag. I’ll try to…
-
0
votes1
answer104
viewsOpen the app with open navigation. How can I do this implementation in my code?
I have the following code: headerNavigationLeft = new AccountHeader() .withActivity(this) .withCompactStyle(false) .withThreeSmallProfileImages(true) .withHeaderBackground(R.drawable.navigation)…
-
0
votes0
answers379
viewsUsing XML from an Actionbar to create a Navigation Drawer menu
Good morning Everybody, My first post here. I’m with an Android project almost ready, missing just put the icons in the Menu Navigation Drawer. I used the following tutorial to put the items in the…
-
0
votes2
answers396
viewsNavigation Drawer
Good evening, I have a little problem I can’t solve. I used an Adapter to make a list of items, but the "item 1" is below the bar ( will understand looking at the photo ). But I do not know how to…
-
0
votes0
answers110
viewsHow to set the Navigation View menu by code?
For now I’m setting the menu through xml, this way: <android.support.design.widget.NavigationView android:id="@+id/navView" android:layout_width="match_parent"…
-
0
votes1
answer125
viewsAndroid - How to make Navigationdrawer items clickable?
I’m very new to programming. I created a Navigationdrawer with the help of a tutorial. It looks like this: main_activity.xml: <?xml version="1.0" encoding="utf-8"?>…
-
0
votes1
answer538
viewsReact Native - Drawer Navigation Problems Header
I’m new to React Native and I have a problem. I have an APP that uses Drawer to mount the menu. This working ok however I have the following problem. As I have screens that open in different ways, I…
-
0
votes1
answer200
viewsError inflating class android.support.design.widget.Navigationview Android Navigationview
Good night, you guys! I am trying to create an application with navigationView pwla first time and am encountering problems at the time of setContentView(R.layout.activity_main) call; the…
android android-studio android-layout navigation-drawerasked 7 years, 3 months ago Eduardo Rafael Moraes 710 -
0
votes0
answers132
viewsI’m Creating a Navigation Drawer in android studio and can’t set the clicks on the items
A main Activity: package com.example.italo.nvigationdrawer; import android.support.annotation.NonNull; import android.support.design.widget.NavigationView; import…
-
0
votes0
answers14
viewsProps.route.params is not changed by clicking on Drawer Navigation item
I’m having the following problem using React Navigation (version 5.x): I have a Drawer Navigation where I use two routes, one of Home and one of Registration/ Details. How I use the Register screen…
-
0
votes1
answer162
viewsFlutter : How to Recover a Screen with Data in Navigator Stack
I’m making a sales app, where I use a Drawer to move between the screens using the commands of Navigator, and found the following situation 1 - When opening the app it enters the main screen where…
-
-1
votes1
answer43
viewsMy Drawer opens but does not display pages, such as displaying my pages in Drawer Navigator (React Native)
I’m using the React Navigation v4. I created an Routes file to redirect my pages. But I have a problem: I created a Drawer Navigator, and it is being displayed, but when it opens, it only shows the…
-
-1
votes1
answer39
viewsProblem trying to open a Drawer Navigator nestled inside another Drawer Navigator - React Native
I have a main screen that contains two Navigators Drawers (one to navigate between the screens and the other to apply a filter to the main screen). Well, each screen has a header that contains the…
-
-1
votes2
answers546
viewsDrawer Navigator does not open - React Native Navigation
I’m doing a project in React Native using the React Navigation 3.x and trying to use the Drawer Navigator, I’ve used it on React Navigation 2.7 and it worked perfectly, only now for some reason it…
javascript mobile react-native navigation-drawer react-navigationasked 5 years, 10 months ago Bruno 83 -
-1
votes1
answer71
viewsMy navigation Drawer no longer goes to my screens, just a logout button I made, the others do not call the other screen
public class MainActivity extends AppCompatActivity { private AppBarConfiguration mAppBarConfiguration; ImageView imageView_Carrinho; @Override protected void…