Questions tagged as 'navigation-drawer'

2
answers

Changing Screens in Navigation Drawer

The Navigation Drawer had some changes, where it was used the onNavigationItemSelected(int position, long itemId) method and now comes with the method onNavigationItemSelected(MenuItem item) . I tried to implement the old temp...
asked by 01.12.2015 / 03:43
3
answers

Why does my ActionBar due to an error stay within my StatusBar?

I started a new default project on Android, I did the same thing Of% get over the default menu ActionBar , now, my NavigationDrawer goes inside ActionBar and the font goes black, I did not move in nothing the code is the def...
asked by 28.05.2016 / 18:34
2
answers

Navigation Drawer customized and colored

Hello, what I wanted to do was to be able to put colorful icons in the navigation, how can I do that? The images I have in my project are colored but in navigation they are only grayish like that. Thanks for the help.     
asked by 12.07.2018 / 20:47
2
answers

Change fragment when clicking on a button inside another fragment

I have a button inside my fragment that I want it to call another fragment that is over the current when it is clicked. follows the fragment code: @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedIns...
asked by 28.06.2016 / 15:40
4
answers

How to open another Activity from a Navigation Drawer?

I need to call a Activity from an item of navigation drawer . Can anyone help? These are the items I want to call for Activity s: public boolean onNavigationItemSelected(MenuItem item) { // Handle navigation vie...
asked by 17.03.2016 / 02:32
2
answers

Navigation Drawer by 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 default class for it ( DrawerBase.java ) and extend it in Activities where I want the Navigation Drawer to open, however I have the following problem: If...
asked by 18.12.2015 / 14:37
1
answer

Problems trying to open NavigationDrawer with the Home Button in ToolBar

I'm trying to open the NavigationDrawer of my application in my Main Activity via the home button available on the toolbar when using ActionBarDrawerToggle, but when I press the button my application stops working. Image for home button and N...
asked by 30.07.2015 / 18:34
1
answer

How to create a class with a NavigationDrawer to use in various Activities?

I started studying Android development a short time ago, I saw that to use a NavigationDrawer it is recommended to use fragments to change a FrameLayout in the main Activity, but in the new activities that I create, I did not want to have to put...
asked by 15.12.2015 / 14:12
1
answer

Error inflating class android.support.design.widget.NavigationView

This 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 android.support.design.widget.NavigationView I've alre...
asked by 15.06.2016 / 04:01
2
answers

Hover in navigation with html and css

Well folks, it's the following, I've been following this for some time. I'm trying to make a box around the links in hover , this box will have a shadow and rounded corners, can someone help me? Thanks in advance .main-nav {...
asked by 25.04.2018 / 16:07