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

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

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

  • @swdcaptain3547
    @swdcaptain3547 3 месяца назад +6

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

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

    My Indian brothers are always Life saver

  • @rebeccacrz1062
    @rebeccacrz1062 5 месяцев назад +1

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

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

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

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

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

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

      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!

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

    very nice video. I love this video, thank you sir❤❤❤❤

  • @Shanto-x2d
    @Shanto-x2d 2 месяца назад

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

  • @faizan_moazim_123
    @faizan_moazim_123 Месяц назад +1

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

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

    best explanation ever ....
    thank you

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

    Excellent Way, to Explain Each and Every things

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

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

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

      Thankyou! 😊

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

      @@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. 👌

  • @ЕкатеринаЧернова-л3ф

    Thank you for this video

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

    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❤❤

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

    Awesome video! But when I use a drawer layout in my app, the page zooms in, and the content is cut from top to bottom. Any suggestion would be a great help.

  • @zildjianbaman1527
    @zildjianbaman1527 9 месяцев назад +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  9 месяцев назад +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

  • @psychomanish9
    @psychomanish9 16 дней назад

    Thank you so much 🙏😊

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

    Please make a video on how to migrate from nav items

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

    Does this article need a db browser to save the database?

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

    Good tutorial Really useful.

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

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

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

    Excellent...the way of explanation is great 🎉

  • @purushottamkumar4245
    @purushottamkumar4245 6 дней назад

    Too good bro

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

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

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

    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  5 месяцев назад +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.

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

    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  5 месяцев назад +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.

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

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

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

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

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

    Great video 👍🏻

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

    thanks, it's helpful .

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

    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...

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

    Excellent teacher, keep it up. ❤

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

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

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

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

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

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

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

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

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

      @@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 7 месяцев назад

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

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

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

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

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

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

    Which language is used here, java or kotlin?

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

    excellent bhaiya

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

    perfect video

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

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

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

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

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

      Thankyou!

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

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

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

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

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

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

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

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

  • @Cute_amit0.5
    @Cute_amit0.5 Месяц назад

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

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

    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  10 месяцев назад

      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.

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

    Nice

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

    Puedes hacer la segunda parte por favor?

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

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

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

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

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

    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  4 месяца назад +1

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

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

      @@codewithsurya101 thank you sir

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

    Please make a full course playlist

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

    main statusBarcolor kasa set karu?

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

    Kotlin me iska video hai kya bhiya

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

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

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

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

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

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

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

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

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

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

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

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

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

    Supar sir

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

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

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

      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!

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

    Dude make more videos.

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

    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  10 месяцев назад

      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 10 месяцев назад

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

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

    Next video plz 🙏

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

    how to add version at the bottom of navbar

    • @codewithsurya101
      @codewithsurya101  11 месяцев назад +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 11 месяцев назад

      @@codewithsurya101 Thank you much!!

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

    thanks bro

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

    How to make a search buttom?

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

      I didn't get your query, please elaborate.

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

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

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

    preview se screen hi gayab ho gya hai

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

    please make option menu same project

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

    please main activity java code

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

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

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

    9:35 / 24:1

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

    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