Navigation Drawer Menu in Android Tutorial | How to Create Navigation Drawer in Android Studio

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 108

  • @swdcaptain3547
    @swdcaptain3547 Месяц назад +5

    Seriously best explanation about this topic in hindi. If anyone knows the basics, it will be very helpful for them

  • @DeevanXplayz
    @DeevanXplayz 2 месяца назад +1

    My Indian brothers are always Life saver

  • @rebeccacrz1062
    @rebeccacrz1062 3 месяца назад

    OMG THANK YOU SO MUCH
    Finally a tutorial that is not outdated, seriously THANK YOU

  • @thwinhanshin4983
    @thwinhanshin4983 9 месяцев назад +3

    I don't understand your language, but I was able to follow until the end, very good tutorial.

  • @Shanto-x2d
    @Shanto-x2d 25 дней назад

    Great Bro, Java Language always love ❤️⭐⭐⭐

  • @faizan_moazim_123
    @faizan_moazim_123 15 дней назад +1

    nice man
    please make a complete whole course on android
    thanks man

  • @Mansoor3010
    @Mansoor3010 Месяц назад

    Excellent Way, to Explain Each and Every things

  • @Gupta45Hg
    @Gupta45Hg 3 месяца назад

    Bhai app jiss tarah se explain kiya hai bahut accha explain kiya hai mai to ek baar me hi samjh gaya please android ka pura tutorial palylist banaiye basis to advance in kt me❤❤

  • @TRTajim-c1l
    @TRTajim-c1l 5 месяцев назад

    You deserve more subscribers ! Love From Rangpur, Bangladesh. Thank you so much. Your videos helps me a lot !

    • @codewithsurya101
      @codewithsurya101  5 месяцев назад

      Thank you so much for your kind words and support! I'm thrilled to hear that my videos are helpful to you. Sending love and gratitude to Rangpur, Bangladesh!

  • @ishamazhar-pw6is
    @ishamazhar-pw6is 3 месяца назад

    best explanation ever ....
    thank you

  • @Facts2Remembers
    @Facts2Remembers 5 месяцев назад

    Very very Nice Video. ❤
    Saare Concept clear ho gaye, well Done Work. 👏✌️

    • @codewithsurya101
      @codewithsurya101  5 месяцев назад

      Thankyou! 😊

    • @Facts2Remembers
      @Facts2Remembers 5 месяцев назад

      @@codewithsurya101 ,, bhai
      Ek poora series banao Android studio par basic of Android studio... In java and kotlin and XML and jetpack compose....
      Aap accha samjhate ho. 👌

  • @bilalsaeed3
    @bilalsaeed3 4 месяца назад

    Hi Sir, Thanks. Its Very helpful tutorial. Please tell me which theme on Android Studio are you using ? As your App Run button and other things are very beautiful.
    I have not such beautiful things in my Android Studio.

    • @codewithsurya101
      @codewithsurya101  4 месяца назад +2

      First of all, update your Android Studio to latest version (Koala).
      Go to settings >> Appearance & Behavior >> New UI.
      Check the Enable new UI button.
      Now go to Appearance just above the New UI.
      Make sure the "Theme" is "Dark" and the "Editor color scheme" is "Dark Theme default".
      Thats it.
      Tell me if it works.

    • @bilalsaeed3
      @bilalsaeed3 4 месяца назад

      @@codewithsurya101 Yes, Sir, I got it from >> New UI
      Thanks a lot.

    • @bilalsaeed3
      @bilalsaeed3 4 месяца назад

      Yes Sir, It works with >> New UI
      Thanks again. I learnt many new things from your tutorial and especially this new UI. 😊

  • @zildjianbaman1527
    @zildjianbaman1527 8 месяцев назад +1

    How can I add the bottom nav in main page when I have nav drawer? Should I create another file? or should I nest it inside the nav drawer?

    • @codewithsurya101
      @codewithsurya101  8 месяцев назад +2

      Inside the "activity_main_content.xml" file (layout file where you will create your main page) add the "BottomNavigationView" View as usual, you just have to create a new menu file for this "BottomNavigationView" and implement the java code to manage "bottomNavigationView" item click listeners inside the corresponding java file.
      If you want to know how to create a Bottom Navigation Bar, you can consider this video tutorial :
      ruclips.net/video/f2FHc77CbO0/видео.html

  • @kpmahey586
    @kpmahey586 7 месяцев назад

    Good tutorial Really useful.

  • @mdabubakkarsiddiquesajib8347
    @mdabubakkarsiddiquesajib8347 2 месяца назад

    Nice

  • @yourmentorsk
    @yourmentorsk 7 месяцев назад

    Excellent...the way of explanation is great 🎉

  • @sebastianbismarck661
    @sebastianbismarck661 5 месяцев назад

    no te entendi nada de lo que hablas pero me ayudo mucho

    • @codewithsurya101
      @codewithsurya101  5 месяцев назад

      Thankyou!

    • @marcovillanueva1876
      @marcovillanueva1876 4 месяца назад

      hermano yo le puse sub español xd
      y si esta bacan me funciono
      fucione el constraint con drawer :)

  • @FreeAltSoftwareTutorials
    @FreeAltSoftwareTutorials 4 месяца назад

    Hey man really like your learning style. I discovered you with this video and instantly subscribed bcz I just can't miss the opportunity of learning from someone like you.
    I had a small query: In the Dotted Pizza app's nav drawer, there is a version at the bottom. Can you pleasle tell us how did you achieved that?

    • @codewithsurya101
      @codewithsurya101  4 месяца назад +1

      Thank you for a lots of appreciation.
      In your activity_main.xml file you have a NavigationView, you will have to add a TextView within this NavigationView. This TextView will be your version code and name. You will have set it's layout_gravity to bottom in order to place it at the bottom of navigation drawer.
      Let me know if it works.

  • @newbie1101
    @newbie1101 4 дня назад

    perfect video

  • @kuntal9174
    @kuntal9174 5 месяцев назад

    Great video 👍🏻

  • @kimsiri-yt2kt
    @kimsiri-yt2kt 4 месяца назад

    Hi this video is very good and helps me a lot!! but I want to know why my MainActivity is on error that (DrawerLayout drawerlayout; )Expecting member declaration. give me a comment plz...

  • @MdRajib-hf5qd
    @MdRajib-hf5qd 7 месяцев назад

    excellent bhaiya

  • @abhiseksahu3250
    @abhiseksahu3250 5 месяцев назад

    Were you using any dependency for the navigation drawer like which design support library .

    • @codewithsurya101
      @codewithsurya101  5 месяцев назад

      No, you don't need to add any other dependency for navigation drawer.

    • @abhiseksahu3250
      @abhiseksahu3250 5 месяцев назад

      @@codewithsurya101 I followed your steps but it doesn't work.

    • @abhiseksahu3250
      @abhiseksahu3250 5 месяцев назад

      @@codewithsurya101 I follow you video step by step but it didn't work. So can you tell me what is missing from this or anything like adding to the program.

    • @abhiseksahu3250
      @abhiseksahu3250 5 месяцев назад

      Navigation view works but their header layout and menu doesn't show in the preview screen

    • @codewithsurya101
      @codewithsurya101  5 месяцев назад

      @@abhiseksahu3250 Make sure that you are importing the correct libraries for the DrawerLayout and NavigationView. Sometimes you got 2 libraries with same names.

  • @ranoshisdas
    @ranoshisdas 5 месяцев назад

    thanks, it's helpful .

  • @saleemrazatunio1590
    @saleemrazatunio1590 5 месяцев назад

    While creating the layout file I am getting Toolbar Cloud please tell me which dependency you are actually using

  • @soomrog4312
    @soomrog4312 9 месяцев назад

    Excellent teacher, keep it up. ❤

  • @TarunManral
    @TarunManral Месяц назад

    bhai maine bottom naviagtion view se fragment load kr diye but smjh nhi aa rha home fragment m kya add kru

  • @Horrorstuff21
    @Horrorstuff21 2 месяца назад

    Please make a video on how to migrate from nav items

  • @loolkummar
    @loolkummar 4 месяца назад

    Supar sir

  • @RABBIJIDNIRAHUL
    @RABBIJIDNIRAHUL 2 месяца назад

    main statusBarcolor kasa set karu?

  • @deeplearns8651
    @deeplearns8651 8 месяцев назад

    When i click on the tool bar ... Image view button it's not showing the menu...

  • @AsifHasanSonnet
    @AsifHasanSonnet 9 месяцев назад

    Bhai take Love from Bangladesh 🇧🇩. Subscribe done. Great video. Please help us for learning android development in java .

  • @cristopheranderson8638
    @cristopheranderson8638 7 месяцев назад

    Puedes hacer la segunda parte por favor?

  • @xfog2683
    @xfog2683 23 дня назад

    а как Menu обевить переменную и код добавить на котлине

  • @afxana11
    @afxana11 3 месяца назад +1

    Which language is used here, java or kotlin?

  • @RudraPratapsingh-j2g
    @RudraPratapsingh-j2g Месяц назад

    Sir open wala method 14:03 nhi use ho pa rha please help me 😢

  • @Cute_amit0.5
    @Cute_amit0.5 7 дней назад

    Sir app close ho ja raha apne se open ho ke 😭😭

  • @Jorgelas_
    @Jorgelas_ 5 месяцев назад

    How u remove the top bar and how u customize te menu acces button? thanks

    • @codewithsurya101
      @codewithsurya101  5 месяцев назад

      I have explained everything in this video, you can watch again the video for better understanding.

  • @kapilrayamajhi1830
    @kapilrayamajhi1830 7 месяцев назад

    Please make a full course playlist

  • @sandeep_sahu11
    @sandeep_sahu11 5 месяцев назад

    Kotlin me iska video hai kya bhiya

  • @shrutirokade7890
    @shrutirokade7890 9 месяцев назад

    In activity_main_content my toolbar is not working ro tfat i cannot do the nect process
    What should i do now to toolbar

    • @codewithsurya101
      @codewithsurya101  9 месяцев назад

      What do you mean that your Toolbar is not working? What's happening to it? Is it not visible or the Button inside it is not clickable or what? Please elaborate.

  • @cavalry5024
    @cavalry5024 10 месяцев назад

    thanks bro

  • @akshaychaudhary685
    @akshaychaudhary685 9 месяцев назад

    Now i am trying to do the same project but when i click on item nothing happening. Can you give me solution

    • @codewithsurya101
      @codewithsurya101  9 месяцев назад

      You can DM me on my instagram.
      instagram.com/coding.lab_?igsh=a3BxOW0yNzZsYXhu

  • @ShivamYadav-wq3tc
    @ShivamYadav-wq3tc 2 месяца назад

    hlo sir navigation view me header aur items add karne ke baad mujhe preview me show hi nhi ho rha hai uska bataiye please sir

    • @codewithsurya101
      @codewithsurya101  2 месяца назад +1

      @@ShivamYadav-wq3tc Android Studio restart kr dijiye, phir bhi nhi thik hota to, go to Build >> Clean Project.

    • @ShivamYadav-wq3tc
      @ShivamYadav-wq3tc 2 месяца назад

      @@codewithsurya101 thank you sir

  • @maazshahzad2876
    @maazshahzad2876 5 месяцев назад

    Dude make more videos.

  • @thanhlongtruong1
    @thanhlongtruong1 9 месяцев назад

    i'm having trouble knowing where to start when using firebase for a project. Can u help me?

    • @codewithsurya101
      @codewithsurya101  9 месяцев назад +1

      Yaa sure! DM me here on Instagram.
      instagram.com/coding.lab_?igsh=a3BxOW0yNzZsYXhu

    • @thanhlongtruong1
      @thanhlongtruong1 9 месяцев назад

      ​@@codewithsurya101I watched all posts on your Instagram but haven't seen it.

    • @codewithsurya101
      @codewithsurya101  9 месяцев назад +1

      I told you to DM me, means Message me on my Instagram. I will guide you regarding your query.

    • @thanhlongtruong1
      @thanhlongtruong1 9 месяцев назад

      @@codewithsurya101 excuse me, i sent a message to you on my Instagram.

    • @thanhlongtruong1
      @thanhlongtruong1 9 месяцев назад +1

      @@codewithsurya101 excuse me, i have sent a message on my Instagram.

  • @ShivamYadav-wq3tc
    @ShivamYadav-wq3tc 2 месяца назад

    preview se screen hi gayab ho gya hai

  • @loolkummar
    @loolkummar 4 месяца назад

    Next video plz 🙏

  • @arshmaanali714
    @arshmaanali714 8 месяцев назад

    Food ordering app android java Sqlite database mein banaye k liye konsay topics clear chayein Jis mein yeh function reg hu
    Customer
    Placing order online
    Update order
    Make feedback
    Select payment method online/offline
    Admin
    Management order
    Notifies when new order is placed
    Notifies when stock is getting low
    Make daily sales report?
    Plz Thora guide kr dein🙏🙏🙏?

    • @codewithsurya101
      @codewithsurya101  8 месяцев назад

      I would recommend you to use firebase instead of sqlite because your data will be needed to share through a cloud server.
      You can use Firebase Realtime-database to manage orders.
      You can use Razorpay for the payments.
      You can use OneSignal to manage the notifications for orders or anything else.
      This would be huge project so you will need lots of skill, knowledge and patience.
      All the best! 👍

    • @arshmaanali714
      @arshmaanali714 8 месяцев назад

      @@codewithsurya101 it's my final year project it is mandatory to use SQLite dB

  • @aayushirajsingh
    @aayushirajsingh 9 месяцев назад

    how to add version at the bottom of navbar

    • @codewithsurya101
      @codewithsurya101  9 месяцев назад +1

      You can add a TextView inside of the NavigationView and make the "layout_gravity=bottom" to place it at bottom.
      Here is a sample : add this code within the NavigationView
      If you want to change the version code programmatically using Java then use the code as below :
      try {
      PackageInfo packageInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
      String version = "v" + packageInfo.versionCode + "." + packageInfo.versionName;
      TextView textVersion = findViewById(R.id.textVersion);
      textVersion.setText(version);
      } catch (PackageManager.NameNotFoundException e) {
      throw new RuntimeException(e);
      }

    • @aayushirajsingh
      @aayushirajsingh 9 месяцев назад

      @@codewithsurya101 Thank you much!!

  • @Leandro-zo4kp
    @Leandro-zo4kp 9 месяцев назад

    Hey bro nice content, but is time in compose not xml tutorial

    • @codewithsurya101
      @codewithsurya101  9 месяцев назад

      I appreciate your suggestion regarding the Compose. While I'm currently more focused on XML layout design in Android Studio, I'll definitely consider exploring Compose in future tutorials. Stay tuned for more content!

  • @xfog2683
    @xfog2683 24 дня назад

    9:35 / 24:1

  • @shortsrajendra
    @shortsrajendra 10 месяцев назад

    please make option menu same project

  • @Akk1911
    @Akk1911 10 месяцев назад

    How to make a search buttom?

    • @codewithsurya101
      @codewithsurya101  10 месяцев назад

      I didn't get your query, please elaborate.

    • @Akk1911
      @Akk1911 10 месяцев назад

      how to do a search like in Google or like in other platforms?

  • @elvinzulfuqar2560
    @elvinzulfuqar2560 7 месяцев назад

    please main activity java code

    • @codewithsurya101
      @codewithsurya101  7 месяцев назад

      drive.google.com/file/d/1A8ymdymdSYSlIgNrcw4mYmgPp1e4saJ1/view?usp=drive_link

  • @deepanshugarg8377
    @deepanshugarg8377 7 месяцев назад

    can you make a video that how we can add horizontal scroll in a table row
    as an example
    1.there are two rows ROW 1 and ROW 2
    2. Each ROW has 10 Column
    But i want to scroll only single row
    ruclips.net/video/ztomHaKrILk/видео.htmlsi=kiWjb7HrOu6PLT6u
    this is perfect video for my problem