Friday , September 20 2019
Home / Android / Android Tutorial 9 – The Navigation Drawer

Android Tutorial 9 – The Navigation Drawer

This tutorial covers how to use the navigation drawer (Navigation View) with the new material design support libraries, and use fragments to change the window …

Check Also

Hard Reset a Tab using Android Multi tool

Hard reset/factory reset an Android Tab using Android Multi Tool software. The software will work ...


  1. Dominik Ježík

    Pleas link to your wallpaper.

  2. Youcef Belalia

    Hi, can u give me this word document thank's by the way thank u about this video

  3. Ivan Ricardo Lopes

    ok, imagine we have main fragment in menu drawer, can we start the application with the menu item "main fragment" selected?

  4. Pro4droider

    my app crashes when i click on gallery i need a solution

  5. nattapat wonbiasuj

    thank you very much for your help.

  6. Harsh Pandya HP

    Thank-you so much for your help, your technique is too easy and understandable, again thanks for this video.
    can you make video about tab layout.

  7. Study Universe

    Can you make a Google Maps integration tutorial it'll really help. P.S this tutorial was amazing thanks definitely subscribing and liking.

  8. CarolusWorld

    Great example, thanks !

  9. asmcriminaL

    so you copy a shit load of lines and nowhere to be found….

  10. flash

    Nice tutorial. Well done .. Please speak a little louder so we can here more clearly

  11. Abu Zaki

    How do I change the layout of the navigation drawer? I want to make my own buttons inside the navigation drawer

  12. Dj GreenBucket (Dj GreenBucket)

    i have an issue where i get the error FragmentTransaction cannot be resolved.. any help?

  13. Tshegofatso Lobatsi

    how do you make the buttons: MAIN and GALLERY to navigate to the other activities

  14. Buddhika Ranasinghe

    Thanks a lot
    Works like a charm (Y) (Y) (Y)
    Saved my day too 🙂 🙂 :)

  15. Neil Kriszer

    hi i really like your tutorial its so easy to understand and it works for me but when i tried to make 3 fragments first is the main then next is the gallery i added a third fragment and when i try to click it in the navigation drawer it does not show the third fragment what can i do to fix this please help :(

  16. Has AA

    why you people never talk about how to support different screen sizes?

  17. John Coleman

    Great vid. How do we add ability to one of buttons to toggle opening / closing of the navigation drawyer? Thx

  18. Shady Nathan

    Where do I find the nav buttons? Because I want to change my own nav buttons since this is a good template for my working app

  19. Daniel Azulay

    where is the adapter for the items?

  20. Junaid Safdar

    W/PathParser: Points are too far apart 4.000000596046461

  21. Lee Jun Jie

    can I know why I cant add and expandableview list in your any fragment ?
    plz reply me :)

  22. Canal do Pirão

    great class

  23. John Doe

    Thanks for the video. I followed the instructions exactly but couldn't get it to work? When I click on the items in the drawer, it doesn't load the fragment for the selection? I get this error?

    java.lang.RuntimeException: MainActivity@10f3420f must implement OnFragmentInteractionListener

    At :6:00, that's wrong…it doesn't work when you do this.

  24. Valeriano Embodo Jr

    How to add home button in the action toolbar. I mean the arrow pointing at the right in your fragments

  25. tariq sadan

    Starting a new activity on navigation drawer item click?

  26. Clinton Brown

    Hey mister easy I need this but your too fast.

  27. Bonjai Jeiho

    Hye , how to add login activity that connect with PHPMySQL using this navigation drawer template ? i mean send/retrieve the data from MySQL database. hope you can make the tutorial on that. because in this tutorial, u r using fragments, not activity . thanks.

  28. Ines Rayen


  29. Thomas Yang

    I got the fragment to load but now its cutting off the top of the fragment. Any help?

  30. eran artzi

    This is great, but you should really do something about the sound

  31. Khalid Ardah

    copy .. past -_- ,, nothing to be learned

  32. Samirkhan Mohd

    Thanks bro it helped a lot.

  33. Pooja Agrawal

    Hello dear.. I have followed ur steps but i m getting this error: No resource found that matches the given name (at 'id' with value '@id/fregment_container').Please help me

  34. Shangeeth Adiyapatham

    What is the image upload plugin

  35. Manan Sheth

    superb tutorials! Thanks;)

  36. Serdar Özdek

    how to remove snackbar and floating button from drawer activity. i remove the .xml from app_bar_main.xml but the java code gives error. when i tried to remove from main the hamburger sign is one too even though i can slide from l to r to open nav draver?
    i want instead of a snackbar and floating button a adsense ad banner at the bottom

  37. Mohammed Khaled

    very thx man

  38. prayag shah

    Thank You

  39. Mantas Jakstas

    When I do (, fragment) the las fragment apears in Red! whyy?

  40. 12345a

    I want to make a navigation drawer which has a list of buttons which are derived from a database. As in , I can add or remove a button through some activity inside the app
    For ex: The navigation drawer displays a list of rooms which I add or delete from a "add" and "delete" buttons respectively inside another activity.

  41. Abner Escócio

    Que ótimo vídeo. Obrigado, pois você ajudou muito!

  42. Kin Rolie

    followed up but getting this error. Any help on that?

    Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class
    at android.view.LayoutInflater.createView(
    at android.view.LayoutInflater.createViewFromTag(

  43. Shain YT

    excelent video, great tutorial

  44. veera jain


  45. veera jain


  46. Arjun shah

    how to create navigation drawer from the right side?

  47. Nick

    Excellent video.
    I'm just learning Android and my concern is that on the Material podcast recently, practically all the developers they spoke to at Google IO 2016 don't like/use fragments.

Leave a Reply

Your email address will not be published. Required fields are marked *